Forum Discussion
santhosh_1983
Mar 23, 2026Copper Contributor
Need a PowerShell script for the query given below
Can anyone help me make a PowerShell script for cleaning the desktop policy and nothing to be saved in C: drive for multiple users in name.edu domain
Mar 29, 2026
Could you explain what the 'cleaning the desktop' policy means? And blocking users from saving anything on the whole C:\ drive sounds like something that won't work/be easy? Do you want the profile to be removed on logoff? GPO or Intune is better for setting those things...
And most important... What have you tried yourself already? What scripts did you try? (This forum is not a ask us to build you everything you want place)