Home Folder
Home Folder
The concept of home directories is fairly universal across all organizations. Essentially, it is a networked storage location for users to store their personal files instead of using a directory on a local drive (like the non-redirected "My Documents"). Despite this being a common configuration item, there seems to be little standardization on how to configure a Windows file server to support personal home directories. Should permissions be set using NTFS or shares? Should individual shares even be used? What about the Home Folder Active Directory attribute? My recommendation is to keep things as simple as possible with a single share and simple permissions only set at the NTFS level.
Next, individual folders for each user need to be created. I highly recommend naming the folder the same as the users' Pre-Windows 2000 logon name (aka sAMAccountName). This will simplify your logon scripts later on. 1. Create the user's directory in the Home directory. 2. Edit the NTFS permissions for the folder and note that only local Administrators have Full Control at this point. 3. Add the user to the permissions list and grant them Change access. We do not grant users Full Control of their own directory as it could allow them to accidentally open up the folder to other people or prevent administrator access.
Instead, I highly recommend mapping a persistent connection to the home directory via logon scripts. This can either be done in VBScript or batch/command file. A basic batch file would look like: 2
' Variable setup Dim strFileServer, WshNetwork, strUserName strFileServer = "FILESERVER" Set WshNetwork = WScript.CreateObject("WScript.Network") strUserName = WshNetwork.UserName ' Disconnect and reconnect H: to Home Directory On Error Resume Next WshNetwork.RemoveNetworkDrive "H:", true, true WshNetwork.MapNetworkDrive "H:", "\\" & strFileServer
Wrapping Up
Home Directories are simple concept, yet the configuration often becomes overly complicated which can result in insecure settings or inaccessible drives. My suggestion is to keep things simple by creating the fewest number of shares and permission changes as possible. As always, scripting the home directory creation during the user setup process will further reduce the possibility of errors. With that in mind, I would really appreciate some feedback. How are you configuring home directories for your users? Are you integrating roaming profiles or redirected folders to your home directories?
Click OK.
You can substitute username for the last subfolder in the path, for example: \\server\users\username Where server is the name of the file server housing the home folders, and where users is the shared folder.
7. Click OK.
7. Click OK.
sysvol\domainname\scripts Note: You can also use Group Policy to assign home folders. For additional information about using Group Policy to assign home folders see the "To change the path of a user's home directory" topic in the Windows 2003 help files.