you can use advanced on the redirect options and specify by group
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?
TechMonkey (2nd May 2012)
Cool, so still something that has to be set up each year, but a little less involved.
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
We do something similar for student home folders. The folder structure kind of looks like this:
The share path to a student's home folder would look like this:Code:Students 2020 Student A Student B Student C 2019 Student D Student E 2018 Student F Student G ...and so on
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.Code:"\\BIG-NAS\Students$\2018\Student F"
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
There are currently 1 users browsing this thread. (0 members and 1 guests)