+ Post New Thread
Results 1 to 6 of 6
Windows Thread, Mass Changing Home Folder Permissions in Technical; Hi Is there a way to change permissions en mass for Home Folder.. I need to delete a default (Administrator ...
  1. #1
    Grommit's Avatar
    Join Date
    Sep 2006
    Location
    Weston-super-Mare
    Posts
    1,334
    Thank Post
    31
    Thanked 54 Times in 31 Posts
    Rep Power
    18

    Mass Changing Home Folder Permissions

    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 ?

  2. IDG Tech News

  3. #2
    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    1,512
    Thank Post
    69
    Thanked 260 Times in 234 Posts
    Rep Power
    58
    Yes - give Wisesoft ntfsfix a go; it's ace, and free.

  4. #3
    GAS
    GAS is offline

    Join Date
    Jan 2008
    Location
    Guildford
    Posts
    55
    Thank Post
    13
    Thanked 12 Times in 10 Posts
    Rep Power
    11
    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

  5. #4
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    1,483
    Thank Post
    178
    Thanked 141 Times in 115 Posts
    Rep Power
    61
    I use setACL.exe for this along with batch files such as:
    C:\setACL.exe -on H:\HOMEPATH\HOMEFOLDER -ot file -actn ace -ace "nOMAIN\STUDENTUSER;p:full" -ace "nOMAIN\DOMAINADMINS;p:full" -ace "nOMAIN\ITADMINS;p:full" -rec cont_obj -actn setprot -op "dacl_c;sacl_c" -actn trustee -trst n1OMAIN\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:
    Code:
    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

  6. #5

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    6,763
    Thank Post
    171
    Thanked 1,056 Times in 828 Posts
    Rep Power
    217
    Have a look at Autoshare.

  7. #6

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    895
    Thank Post
    38
    Thanked 171 Times in 128 Posts
    Rep Power
    111
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. User's Network Home Folder Permissions
    By Chuckster in forum Windows
    Replies: 4
    Last Post: 6th September 2009, 09:11 PM
  2. Reset Home folder permissions
    By garym2000 in forum Windows
    Replies: 10
    Last Post: 29th March 2008, 12:16 PM
  3. Mass Home Folder Creation?
    By Blind in forum Windows
    Replies: 11
    Last Post: 1st September 2007, 08:05 PM
  4. Replies: 2
    Last Post: 1st August 2007, 10:59 AM
  5. Replies: 8
    Last Post: 1st February 2007, 09:42 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
  •