burgemaster Posted July 13, 2011 Posted July 13, 2011 On our previous domain (if i remember) each users home drive was shared. e.g. on "\\server\staff$\test_user" the "test_user" folder would be shared... meaning it could be accessed and also their home drive is mapped to: \\server\test_user Is this how it should be? Currently their home drives are mapped to "\\server\staff$\test_user" instead and there is no share for each home drive? How do you guys do it please? Thanks in advance
smithson83 Posted July 13, 2011 Posted July 13, 2011 We have a share at the root of the folder eg \\Server\StaffHome$\%Username%, having a share at the user level puts unesesery stress on the admin and the server. one share is easier to manage, and AD will create the folder for you with apropreate permissions under the share when new users are created. Can't imagine how our server would react if I told it to share 500 folders, I think it would up and walk out on me.
burgemaster Posted July 13, 2011 Author Posted July 13, 2011 (edited) We have a share at the root of the folder eg \\Server\StaffHome$\%Username%, having a share at the user level puts unesesery stress on the admin and the server. one share is easier to manage, and AD will create the folder for you with apropreate permissions under the share when new users are created. Can't imagine how our server would react if I told it to share 500 folders, I think it would up and walk out on me. Thanks, we have the above setup currently also, there is one share called "Staff_Drives"..... BUT I am trying to setup quotas using FSRM (File Server Resource Manager) and it look like each home drive requires a share for it to work correctly on 2003 r2.... "\\server\home" works, but "\\server\homedrives\home" doesnt work.... http://www.edugeek.net/forums/how-do-you-do/79062-disk-quotas.html#post705757 Edited July 13, 2011 by burgemaster
Dos_Box Posted July 13, 2011 Posted July 13, 2011 You do not need to 'share' every user area, just the containing folder. It's also very bad practice to do this as it was a carry over from the NT 4.0 days which some people seem to have migrated from platform to platform as new versions of Windows Server were relesed. For instance if you had \\server\yearx\pupilname, only the 'yearx' folder, needs to be shared, not the 'pupilname'. If you create your users correctly it will automatically grant permissions to the cretaed users folder preventing access to anyone else. I can't remember offhanf what permissions the containing folder should have, but I'm sure someone can let us know.
gshaw Posted July 13, 2011 Posted July 13, 2011 That's exactly what I have here (legacy issue) and it's a right pain. One share at the top and let Windows create the subfolders automatically is the way to go for sure
Dos_Box Posted July 13, 2011 Posted July 13, 2011 @Burgemaster. Hmmm. I feel some light morning reading coming on
zag Posted July 13, 2011 Posted July 13, 2011 Used to share each userfolder but it puts a massive load on the server and backupexec We now just share the base folder and let Windows create the share on first login.
plexer Posted July 13, 2011 Posted July 13, 2011 Thanks, we have the above setup currently also, there is one share called "Staff_Drives"..... BUT I am trying to setup quotas using FSRM (File Server Resource Manager) and it look like each home drive requires a share for it to work correctly on 2003 r2.... "\\server\home" works, but "\\server\homedrives\home" doesnt work.... http://www.edugeek.net/forums/how-do-you-do/79062-disk-quotas.html#post705757 I use 2003 R2 on one of my ad/file servers d:\home\students is shared and then under there I have 08 and 06 folders containing the users home directories. I have quotas applied to d:\home\students\08 and d:\home\students\06 and it works correctly. Ben
dave.81 Posted July 13, 2011 Posted July 13, 2011 We are currently stuck sharing each folder, left over from old system. Was hoping to re--build all the servers this summer to resolve this and many other issues but sadly wont have time.
burgemaster Posted July 13, 2011 Author Posted July 13, 2011 Why disk space is incorrectly reported on folders where File Server Resource Manager quotas are enabled - The Storage Team at Microsoft - File Cabinet Blog - Site Home - TechNet Blogs It says at the bottom: For Windows XP clients, the workaround is to have the quota on the root of the share (like in case 1). This has been fixed for SMB 2.0 and will not be a problem when clients running Windows Vista access servers running Windows Server "Longhorn." So the other option is to upgrade our NAS server to server 2k8
smithson83 Posted July 13, 2011 Posted July 13, 2011 (edited) @dave.81 I inherited a Network with individual shares for each user (also individual statics for each IT Dept PC), one of the first things I did was to share the containing folder for each year group and the staff, re-map the user home drives to \\server\share$\%username% (select ALL pupls in YearX OU, Properties, Homedrive "\\Server\Share$\%username%", %username% is replaced by each of the users username, jobs a good un, althought I did make sure no one was logged in at the time) IMO there isnt a reason why anyone should be "Stuck" with individual shares Edited July 13, 2011 by smithson83 1
burgemaster Posted July 13, 2011 Author Posted July 13, 2011 (edited) I use 2003 R2 on one of my ad/file servers d:\home\students is shared and then under there I have 08 and 06 folders containing the users home directories. I have quotas applied to d:\home\students\08 and d:\home\students\06 and it works correctly. Ben Thanks Ben, so it could be fixable Would you mind comparing settings please? Here is our setup (not working): Staff: "G:\Staff_Drives\" <-- staff drives is shared. Inside are all the staff members folders. Students: "H:\Student_Drives\ year of entry \" <-- Student drives folder is shared, Inside are all the student folders. They have an N: (home drive). in AD this is mapped as: \\server\student_drives\ "year of entry to school" \username I setup a quota for each individual "year group" eg. "\\server\student_drives\07" and checked the "auto apply template" button Currently the quota shows as the WHOLE disk size (1tb) instead of their quota limit of 750meg. When you say works correctly, ours works and restrict them to the allocated quota, but do you also mean the visual quota size are also correct when they check? Edited July 13, 2011 by burgemaster
CyberNerd Posted July 13, 2011 Posted July 13, 2011 From our experience Windows is absolutely crap at sharing individual folders - we always found it would break backups and restore points. In the end we moved all teh shares to Samba servers - the samba servers also allow more advanced features than on windows, which is a bit ironic really.
Dos_Box Posted July 13, 2011 Posted July 13, 2011 I found this whilst Googleling for a method to unshare folders (YAY, EduGeek to the rescue!): http://www.edugeek.net/forums/windows/63318-unshare-delete-multiple-home-folders.html I'm wondering if the small script on the last post from 7andY can be altered to not just removed the share on each folder but place the correct user permissions on the folders as well? REM Script to de-share all sub-folders within a folder REM Use when deleting a student year group REM Set folder before use!! FOR /D %%I IN (F:\USERDATA\STUDATA\HDRIVES\2009\*) DO NET SHARE %%~nI$ /DELETE REM Follow up with RMDIR /S F:\USERDATA\STUDATA\HDRIVES\2009 Edited to add: Please don't use that last line in the script either!!!!
featured_spectre Posted July 13, 2011 Posted July 13, 2011 There should be a GPO option to show the actual quota rather than the disk size, we did this for our students. As for a shared drive, there is the following set up in our place F:\ - %User area% (Read, Write, Modify) - Each individual user area as mapped by active directory - limited to 1GB for students/20GB for staff and cleaned out at the end of the academic year for students, but never for staff G:\ - %Staff shared% (Read, Write) - Staff only access H:\ - %Student Share% (Read, Write) - Staff and Student Access I:\ - Admin Drive - Admin Staff only J:\ - SLT Drive - SLT only K:\ - Maths Drive - Maths Staff only L:\ - Science Drive - Science Staff only M:\ - English Drive - English Staff only N:\ - ICT Drive - ICT Staff only O:\ - Humanities Drive - Humanities Staff only P:\ - PE Drive - PE Staff Only Q:\ - MFL Drive - MFL staff only R:\ - SEN Drive - SEN Staff only S:\ - Sims Drive - Staff only T:\ - ADT Drive - Art, Design, Technology Staff only W:\ - WPShared (Read, Write, Modify) - Staff only access, "Work in Progress Shared" is what it stands for We have so many drives which is set to 50GB limit for each subject, but this was at the request of the SLT so that staff dont clog up the laptops and such like.
gshaw Posted July 13, 2011 Posted July 13, 2011 @dave.81 I inherited a Network with individual shares for each user (also individual statics for each IT Dept PC), one of the first things I did was to share the containing folder for each year group and the staff, re-map the user home drives to \\server\share$\%username% (select ALL pupls in YearX OU, Properties, Homedrive "\\Server\Share$\%username%", %username% is replaced by each of the users username, jobs a good un, althought I did make sure no one was logged in at the time) IMO there isnt a reason why anyone should be "Stuck" with individual shares For a moment I thought I'd missed the wood for the trees to sort our folders out then I remembered... not only do we have single shares but the My Documents folder is redirected onto the root share (as opposed to a folder under it e.g. %username%\My Documents) That makes it a bit funky when putting a new policy on that auto creates folders without changing the existing folders... I'd get this for any new users... \\share\%username%\My Documents \\share\%username%\Desktop (also redirected) Which then would break the existing ones... need to either move everyone onto a neater structure or some tricksy scripting to sort out the current folders
pete Posted July 13, 2011 Posted July 13, 2011 \\server\share\userdir - anything else just gets silly. And "My Documents" is pointed to \\server\share\userdir\Documents and @nephilim 16 mapped drives? Crikey, we're gonna need a bigger alphabet.
burgemaster Posted July 13, 2011 Author Posted July 13, 2011 (edited) Im about to give up and ditch FSRM quota limits and put the quota limit back on the drive as before Need Plextor !!! Cant find a GP to show quota instead of drive space... Started over from scratch..... Created a brand new home for test user: share H:\test\test_user, gave everyone full control permissions on all shares and folders, then set the quota to 100mb Again it appears at 1tb in the drive properties but DOES apply the quota.... H:\Test_Staff <- works H:\staff_drives\test_staff <- doesnt work My only thought is that ive just noticed it is running Windows UDS Server 2003 SP2 and not R2... Edited July 13, 2011 by burgemaster
featured_spectre Posted July 13, 2011 Posted July 13, 2011 \\server\share\userdir - anything else just gets silly. And "My Documents" is pointed to \\server\share\userdir\Documents and @nephilim 16 mapped drives? Crikey, we're gonna need a bigger alphabet. Most of the staff have about 6 at the most!
Hightower Posted July 13, 2011 Posted July 13, 2011 You do not need to 'share' every user area, just the containing folder. It's also very bad practice to do this as it was a carry over from the NT 4.0 days which some people seem to have migrated from platform to platform as new versions of Windows Server were relesed. For instance if you had \\server\yearx\pupilname, only the 'yearx' folder, needs to be shared, not the 'pupilname'. If you create your users correctly it will automatically grant permissions to the cretaed users folder preventing access to anyone else. I can't remember offhanf what permissions the containing folder should have, but I'm sure someone can let us know. This method creates the home folder fine for each user, but creates nothing in the profile folder location. Any quick way to setup profiles?
burgemaster Posted July 13, 2011 Author Posted July 13, 2011 Confirmed: File Server Resource Manager (with server 2003 R2) does not correctly display the "home drive" Quota but instead shows the whole drive quota, unless each home directory is shared and the quota applied that share.
CyberNerd Posted July 13, 2011 Posted July 13, 2011 Confirmed: File Server Resource Manager (with server 2003 R2) does not correctly display the "home drive" Quota but instead shows the whole drive quota, unless each home directory is shared and the quota applied that share. IIRC correctly it's a long standing bug. Last time I looked (pre win 2008) there was plenty lacking in windows file sharing; no file Veto, no auto create folders when students log in, no auto email quota, no soft quota, no remove nt acl support. Samba on linux is a massive improvement on windows file sharing.
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