Windows Server 2000/2003 Thread, Mass Delete Users Home Folders in Technical; hi all
just a quickie, i am trying to delete pupil users home folders all in one go. However, i ...
-
13th July 2009, 01:08 PM #1
- Rep Power
- 9
Mass Delete Users Home Folders
hi all
just a quickie, i am trying to delete pupil users home folders all in one go. However, i can only delete them one at a time coz i first have to take ownership of the folder and then take ownership of the files within the folder to be able to delete them, but i have 333 folders to delete, so i just wanted to know if there was any way of doing this all in one go.
This is on a windows 2000 server with AD
Many thanks
-
-
IDG Tech News
-
13th July 2009, 01:12 PM #2 would something like
CACLS "d:\users\2006" /T /E /G "administrators":f
work
it should give the administrators group full control of owt in that folder
-
Thanks to sted from:
Techie101 (13th July 2009)
-
13th July 2009, 01:16 PM #3 Just wondered but can you not just select all the folders then assign/take ownership of all files and replace all permissions on all child objects?
cacls should work tho.
-
-
13th July 2009, 03:25 PM #4
- Rep Power
- 9

Originally Posted by
sted
would something like
CACLS "d:\users\2006" /T /E /G "administrators":f
work
it should give the administrators group full control of owt in that folder
thanks this worked a treat
-
-
13th July 2009, 03:26 PM #5
- Rep Power
- 9

Originally Posted by
apeo
Just wondered but can you not just select all the folders then assign/take ownership of all files and replace all permissions on all child objects?
cacls should work tho.
thanks but i tried that and it did not work, but the above post did, thanks anyway
-
SHARE: 
Similar Threads
-
By theeldergeek in forum Wireless Networks
Replies: 5
Last Post: 21st January 2009, 04:50 PM
-
By timbo343 in forum Virtual Learning Platforms
Replies: 15
Last Post: 15th July 2008, 03:38 PM
-
By projector1 in forum Scripts
Replies: 5
Last Post: 9th March 2008, 12:15 AM
-
By baronne in forum Scripts
Replies: 0
Last Post: 20th August 2007, 02:20 PM
-
By markcuk in forum How do you do....it?
Replies: 27
Last Post: 25th April 2007, 10:38 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules