Jump to content

Delete files in My Music and My Pictures


Recommended Posts

Posted (edited)

Our students have started loading music files into the "All users" my music Sample Music folder and then making sure they come back to that PC to listen to the music.

Is there anyway to stop them from getting to the folder or is there a script that I could run to delete what they put in there? Or indeed a Group Policy setting that would do it?

The "Sample Music" folder points to the All users profile on the local machine.

Edited by fiza
addition
Posted
@jamesreedersmith's delete statement should do it (but del not delete) but you might also want to set the folder to read-only so they can't put more stuff there. You could do this with a group policy to change the permissions.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...