+ 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,335
    Thank Post
    31
    Thanked 54 Times in 31 Posts
    Rep Power
    24

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

    3s-gtech's Avatar
    Join Date
    Mar 2009
    Location
    Wales
    Posts
    2,711
    Thank Post
    144
    Thanked 547 Times in 491 Posts
    Rep Power
    149
    Yes - give Wisesoft ntfsfix a go; it's ace, and free.

  3. #3
    GAS
    GAS is offline

    Join Date
    Jan 2008
    Location
    Guildford
    Posts
    60
    Thank Post
    16
    Thanked 14 Times in 12 Posts
    Rep Power
    16
    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

  4. #4
    mrbios's Avatar
    Join Date
    Jun 2007
    Location
    Stroud, Gloucestershire
    Posts
    2,447
    Thank Post
    349
    Thanked 254 Times in 209 Posts
    Rep Power
    98
    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

  5. #5

    Michael's Avatar
    Join Date
    Dec 2005
    Location
    Birmingham
    Posts
    9,262
    Thank Post
    242
    Thanked 1,568 Times in 1,250 Posts
    Rep Power
    340
    Have a look at Autoshare.

  6. #6

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,949
    Thank Post
    109
    Thanked 481 Times in 330 Posts
    Blog Entries
    2
    Rep Power
    281
    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, 11:16 AM
  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, 08: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
  •