+ Post New Thread
Results 1 to 11 of 11
Windows Thread, Reset Home folder permissions in Technical; Ok, we have around 100 pupils on our network with a home directory for each user under the home$ share ...
  1. #1

    Join Date
    Feb 2008
    Location
    Cumbria
    Posts
    14
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    13

    Reset Home folder permissions

    Ok, we have around 100 pupils on our network with a home directory for each user under the home$ share :

    \\server\home$\%username%

    THe permissions are wrong on the majority of these folders and I need to reset them so that the administrator has full control, the teachers group has RW and the actual pupil has RW.

    Has anyone got a script that will reset these permissions for me automatically, Its easy enough to add a specific group, but I am struggling to go through the whole structure with a script and set the permission for the specific pupil for their specific home folder.

    Please help !

    Regards

    Gary

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,938
    Thank Post
    114
    Thanked 272 Times in 250 Posts
    Rep Power
    104
    Theres a few posts about this. See my post at the end of this thread:

    Home Area Permissions

  3. Thanks to ChrisH from:

    garym2000 (27th March 2008)

  4. #3

    Join Date
    Feb 2008
    Location
    Cumbria
    Posts
    14
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    13

    Thumbs up

    Thanks, I did look at this but wasn't quite sure if it would do what I required:

    for /D %%i in (*) do ( subinacl /file %%i /grant=yourdomain\%%i=C "/grant=yourdomain\domain admins=f" /grant=yourdomain\AreaViewer=c /setowner=yourdomain\%%i

    subinacl /subdirectories %%i\* /grant=yourdomain\%%i=f "/grant=yourdomain\domain admins=f" /grant=yourdomain\AreaViewer=r /setowner=yourdomain\%%i )

    I presume you run this from the c:\home folder (or whichever folder is the root of your home drives) and then it runs through all the subfolders setting the permissions according to the name of the sub folder, i.e. fred gets permission over the fred folder, bill gets permission over the bill folder etc, is that correct?

    P.S. Whats the AreaViewer part?

    Regards

    Gary

  5. #4

    elsiegee40's Avatar
    Join Date
    Jan 2007
    Location
    Kent
    Posts
    10,059
    Thank Post
    1,681
    Thanked 2,022 Times in 1,496 Posts
    Rep Power
    673
    Gary

    Before you do this, can I query giving teachers RW on pupil folders. At Primary level, it's rarely a problem.

    At secondary level you need to be very wary. Exam boards take a dim view of teachers being able to modify students' course work. "We'd never do that" isn't an exceptable excuse to them.

  6. Thanks to elsiegee40 from:

    garym2000 (27th March 2008)

  7. #5

    Join Date
    Feb 2008
    Location
    Cumbria
    Posts
    14
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    13
    Hi, yes it's just a primary school.

  8. #6

    Join Date
    Feb 2007
    Posts
    82
    Thank Post
    21
    Thanked 3 Times in 3 Posts
    Rep Power
    15
    Gary,

    I think the area view is a account that has perms to view all pupils areas, you would most likley want to add teachers that needed view access to pupils folders.

  9. Thanks to benIT from:

    garym2000 (27th March 2008)

  10. #7

    Join Date
    Feb 2008
    Location
    Cumbria
    Posts
    14
    Thank Post
    6
    Thanked 1 Time in 1 Post
    Rep Power
    13

    Smile

    Thanks all, I used the script above and it worked a dream.

  11. #8

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,392
    Thank Post
    797
    Thanked 1,588 Times in 1,391 Posts
    Blog Entries
    10
    Rep Power
    427

  12. #9
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,938
    Thank Post
    114
    Thanked 272 Times in 250 Posts
    Rep Power
    104
    Sorry been busy today. Areaviewer was the group someone else was asking about when I wrote the example. In my case it would be teachers and read only.
    The one on the wiki was originally written by me but the subinacl one works a lot better.
    Last edited by ChrisH; 27th March 2008 at 06:17 PM.

  13. #10
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,185
    Thank Post
    392
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    @ elsiegee40:
    Exam boards take a dim view of teachers being able to modify students' course work
    Do they? I didn't know that, i thought RM networks allowed this level of access to staff. Do exam boards provide this info in a policy?

    Cheers.

  14. #11
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,074
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Also worth checking out... a great little app called Active User Manager. Used to cost - but now free from Mikey Magic's Web Site - Active User Manager for Windows 2000 & 2003 Active Directory (AD). We use it for managing the whole user list for AD.

    Some handy features including reset permissions. More info on their site.

SHARE:
+ Post New Thread

Similar Threads

  1. Folder Permissions on a Different Domain
    By sqdge in forum Windows
    Replies: 5
    Last Post: 23rd January 2008, 11:39 AM
  2. Script to change folder permissions
    By scottyses in forum General Chat
    Replies: 1
    Last Post: 15th January 2008, 08:52 AM
  3. Student Folder File permissions
    By CM786 in forum Wireless Networks
    Replies: 4
    Last Post: 27th September 2007, 09:28 AM
  4. Folder Permissions
    By wesleyw in forum Windows
    Replies: 6
    Last Post: 9th January 2007, 08:25 PM
  5. DPS Folder Permissions
    By ajbritton in forum ICT KS3 SATS Tests
    Replies: 2
    Last Post: 18th December 2006, 11:09 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
  •