+ Post New Thread
Results 1 to 5 of 5
Windows Server 2008 R2 Thread, Per Year group Folder redirects in Technical; I'm setting up our new network and wanted to have per year folders for all the users documents (all year ...
  1. #1

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,336
    Thank Post
    227
    Thanked 433 Times in 315 Posts
    Rep Power
    172

    Per Year group Folder redirects

    I'm setting up our new network and wanted to have per year folders for all the users documents (all year 7 users in a "Year 7" folder etc) and wonder is everyone creating a GPO per year to do this or some other trickery? So each year you create a new OU for the year group and a new GPO for the folder redirect?

    Ta

  2. #2


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    7,057
    Thank Post
    232
    Thanked 923 Times in 792 Posts
    Rep Power
    308
    you can use advanced on the redirect options and specify by group

    redirbygroup.jpg

  3. Thanks to sted from:

    TechMonkey (2nd May 2012)

  4. #3

    TechMonkey's Avatar
    Join Date
    Dec 2005
    Location
    South East
    Posts
    3,336
    Thank Post
    227
    Thanked 433 Times in 315 Posts
    Rep Power
    172
    Cool, so still something that has to be set up each year, but a little less involved.

    Awesome ta.

  5. #4


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    7,057
    Thank Post
    232
    Thanked 923 Times in 792 Posts
    Rep Power
    308
    a complete alternative is to redirect to \\server\%username%$ and give em their own shares but thats extra work setting up folders you cant win its a shame u cant replace staff\2008 with primary ad group or something

  6. #5
    Duke5A's Avatar
    Join Date
    Jul 2010
    Posts
    856
    Thank Post
    88
    Thanked 148 Times in 122 Posts
    Blog Entries
    8
    Rep Power
    34
    We do something similar for student home folders. The folder structure kind of looks like this:

    Code:
    Students
      2020
        Student A
        Student B
        Student C
      2019
        Student D
        Student E
      2018
        Student F
        Student G
    ...and so on
    The share path to a student's home folder would look like this:

    Code:
    "\\BIG-NAS\Students$\2018\Student F"
    One hidden share that contains all graduation years for students, and under the graduation years are the AD names for each account. Share level permissions are granted full for everyone, and file level permissions are set for students and staff to only have modify permissions on the student's folder, and nothing further up the line. This prevents people from being able to crawl up the tree and enforcement is only done on the file level. Plus, only give students modify and not full. This will keep the little buggers from taking ownership and denying access to everyone else.

    If you have your students organized by graduation year in AD, then you can use this script with some minor editing to set their home folders for an entire grad year at a time.

    Code:
    strHomeDrive = "H"
    strHomePath = "\\BIG-NAS\Students$\2020\"
    
    Set oContainer = GetObject("LDAP://OU=2020,OU=Students,OU=Your Users,DC=yourdomain,DC=com")
    oContainer.Filter = Array("user")
    
    For Each User in oContainer
    
    	User.Put "homedrive", "H" 
    	User.Put "homedirectory", strHomePath & User.samaccountname
    	User.SetInfo
    	wscript.echo User.samaccountname
    	
    Next



SHARE:
+ Post New Thread

Similar Threads

  1. Group Policy And Folder Redirection
    By Ryno in forum Windows
    Replies: 3
    Last Post: 1st May 2012, 11:24 AM
  2. Replies: 2
    Last Post: 9th June 2011, 03:02 PM
  3. Group policy not applying folder redirection
    By LOUD in forum Windows Server 2000/2003
    Replies: 5
    Last Post: 7th May 2010, 12:29 PM
  4. Vista Folder Redirection via Group Policy
    By neilault in forum Windows Vista
    Replies: 3
    Last Post: 25th September 2009, 12:51 PM
  5. Group Policy loopback affecting folder redirection
    By rocknrollstar in forum Windows
    Replies: 2
    Last Post: 25th November 2008, 08:05 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
  •