Windows Thread, Delete files in My Music and My Pictures in Technical; Our students have started loading music files into the "All users" my music Sample Music folder and then making sure ...
15th November 2010, 01:34 PM #1
Delete files in My Music and My Pictures
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.
Last edited by fiza; 15th November 2010 at 01:38 PM.
IDG Tech News
15th November 2010, 01:41 PM #2
delete "c:\documents and settings\all users\my documents\my music\*.*" /y
I believe - someone else may have a better solution though.
15th November 2010, 01:49 PM #3
@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.
15th November 2010, 02:12 PM #4
Restrict access to C Drive in grouop policy. That way they cant get to it.
By jgcracknell in forum Windows Server 2008 R2
Last Post: 4th January 2012, 12:30 PM
By ricki in forum Wireless Networks
Last Post: 7th July 2009, 02:47 PM
Last Post: 23rd March 2009, 04:58 PM
By robbied69 in forum Windows
Last Post: 12th September 2008, 07:54 PM
By tri_94 in forum Scripts
Last Post: 30th April 2008, 05:56 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)