TechMonkey Posted May 2, 2012 Posted May 2, 2012 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
sted Posted May 2, 2012 Posted May 2, 2012 you can use advanced on the redirect options and specify by group 1
TechMonkey Posted May 2, 2012 Author Posted May 2, 2012 Cool, so still something that has to be set up each year, but a little less involved. Awesome ta.
sted Posted May 2, 2012 Posted May 2, 2012 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
Duke5A Posted May 2, 2012 Posted May 2, 2012 We do something similar for student home folders. The folder structure kind of looks like this: 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: "\\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. 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now