Jump to content

Recommended Posts

Posted

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

Posted

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 1
Posted

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.

Posted
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 :)

Posted
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

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...