Grommit Posted January 25, 2012 Posted January 25, 2012 Hi Is there a way to change permissions en mass for Home Folder.. I need to delete a default (Administrator Group) and also change the users permission settings untick full control, untick Take Ownership and Untick Change Permissions on each folder Any Idea ?
3s-gtech Posted January 25, 2012 Posted January 25, 2012 Yes - give Wisesoft ntfsfix a go; it's ace, and free.
GAS Posted January 25, 2012 Posted January 25, 2012 Hi Grommit, If I understand your question correctly you require changing this permission on student home folders?? If they are on same folder make batch file as below (please edit before you do) and run cmd as administrator go to folder then run. Hope this help. for /f %%n in ('dir /ad /b') do cacls %%n /t /e /g %%n:c "Domain Admins":F "System":F "Administrator":F "Manage Student Data":C "Read Student Data":R
mrbios Posted January 25, 2012 Posted January 25, 2012 I use setACL.exe for this along with batch files such as: C:\setACL.exe -on H:\HOMEPATH\HOMEFOLDER -ot file -actn ace -ace "n:DOMAIN\STUDENTUSER;p:full" -ace "n:DOMAIN\DOMAINADMINS;p:full" -ace "n:DOMAIN\ITADMINS;p:full" -rec cont_obj -actn setprot -op "dacl:p_c;sacl:p_c" -actn trustee -trst n1:DOMAIN\STUDENTGROUP;ta:remtrst;w:dacl,sacl Create a big batch file like that with 1 line per user and home folder (easily generated in excel using concatenate) The exact permissions i have on home folders are: domain admins, individual student, IT Teachers group (they dip in to home folders on occasion) and i can't remember what i'm doing with the students group on there but im sure i had a reason, i think it's setting ownership but that might not be required in most cases as i think i did it for something that was annoying me.... lol EDIT: oh i also have account operators group but i'm unsure why i haven't set that in the setACL path, may be something i have inherited from above. EDIT: omfg the smiles have attacked here's the same thing in code brackets: C:\setACL.exe -on H:\HOMEPATH\HOMEFOLDER -ot file -actn ace -ace "n:DOMAIN\STUDENTUSER;p:full" -ace "n:DOMAIN\DOMAINADMINS;p:full" -ace "n:DOMAIN\ITADMINS;p:full" -rec cont_obj -actn setprot -op "dacl:p_c;sacl:p_c" -actn trustee -trst n1:DOMAIN\STUDENTGROUP;ta:remtrst;w:dacl,sacl
jinnantonnixx Posted January 25, 2012 Posted January 25, 2012 I've had success with ICACLS with the "/reset /c /t" options. As long as you top level folder security is sensible, it will percolate through the lower levels resetting the inherited permissions for the profiles. This has got me out of a sticky situation with Windows 7's .V2 folders.
DavR Posted April 7, 2016 Posted April 7, 2016 +1 for Wisesoft NTFSFix. It's a bit old now, but when I used to do a lot of server migrations, this was a godsend for setting home folder permissions.
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