faza Posted July 26, 2007 Posted July 26, 2007 I have trying to bulk change the NTFS permission on the home folders for the new starters. I am using the CACLS function CACLS username /T /P username:F administrator:F But everytime i type this or run a series of these with the appropriate username all the batch file does is continously scroll down with the first line. When i use the cmd prompt i go to the location where the home folders are stored. Am i missing something ? Faza
ChrisH Posted July 26, 2007 Posted July 26, 2007 This assumes you are at the same level as the folders at the command prompt and that the folder name is the same as the useraccount name. for /D %%i in (*) do ( cacls %%i /T /E /G yourdomain\domain admins:f cacls %%i /T /E /G yourdomain\%%i:f ) I generally set the permissions for them to change and not full control.
faza Posted July 26, 2007 Author Posted July 26, 2007 why not full control out of interest is this for the pupils?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now