Reseting users security permissions on the home drive
I have 1000 home folders on the on share that I need to reset permissions so only user and domain adminstrator can see it and remove inhertance. What is the best way
On Windows 2008 R8 Standard Server..
Simon Wilson
June 21st, 2012 3:51pm
Use script containing function cacls. I used Excel for fast script preparation. Run script with elevated rights. Alternatively you can use more contemporary Poweshell, if you want script with "internal" initelligence, that you will use regularly.
Regards
Milos
Free Windows Admin Tool Kit Click here and download it now
June 21st, 2012 6:26pm
you can use icacls.exe (or cacls.exe, setacl.exe, subinacl.exe ...)
http://technet.microsoft.com/en-us/library/cc753525(v=ws.10)
http://serverfault.com/questions/43794/using-icacls-to-set-permissions-on-user-directories
http://www.handigeknakker.nl/?x=entry:entry110412-171641
Gastone Canali >http://www.armadillo.it
Se alcuni post rispondono al tuo quesito (non necessariamente i miei), ricorda di contrassegnarli come risposta e non dimenticare di contrassegnare anche i post utili . GRAZIE!
June 21st, 2012 6:39pm
Hi,
Please understand that we could try to use Access-based enumeration feature to prevent user from seeing others folders.
Access-based enumeration allows users to see only the files and folders which they have permission to access. In Windows Server 2008 R2, you can configure this feature by using Share and Storage
Management. For more information, please refer to:http://technet.microsoft.com/en-us/library/cc753731.aspx#BKMK_ABE
Additionally, we could also accomplish the target via script. If you have trouble using the script, I suggest we could ask in the Script Forum.
The Official Scripting Guys Forum!
http://social.technet.microsoft.com/Forums/en-us/ITCG/threads
Regards,
Andy
Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2012 12:42am
look here Reset
Homefolder
Permissions
Gastone Canali >http://www.armadillo.it
Se alcuni post rispondono al tuo quesito (non necessariamente i miei), ricorda di contrassegnarli come risposta e non dimenticare di contrassegnare anche i post utili . GRAZIE!
June 22nd, 2012 4:10am