How To Assign A Home Folder To A User
How To Assign A Home Folder To A User
On This Page
• SUMMARY
o Assign a home folder to a domain user
o Assign a home folder to a local user
o Specify a home folder for a terminal server
Domain user account
Local user account
o Assign a home folder to a user from the command line
o Assign a home folder to a user by using a logon script
Create a logon script
Assign a logon script to a profile
SUMMARY
This step-by-step article describes how to use the Active Directory
Users and Co...
This step-by-step article describes how to use the Active Directory Users and Computers management
console, the Computer Management management console, a logon script, or the command line to assign a
home folder to a user.
Home folders and My Documents make it easier for an administrator to back up user files and manage user
accounts by collecting the user's files in one location. If you assign a home folder to a user, you can store the
user's data in a central location on a server, and make backup and recovery of data easier and more reliable.
If no home folder is assigned, the computer assigns the default local home folder to the user account. The
home folder can use the same location as the My Documents folder. When you are using Windows 2003
Terminal Services, the user profile is the default home folder.
Note: To specify a network path for the home folder, you must first create the network share and set
permissions that permit the user access. You can do this with Shared Folders in Computer Management on
the server computer.
1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory
Users and Computers.
2. In the console tree, click Users.
3. In the Details pane, right-click the user account, and then click Properties.
4. In the Properties dialog box, click Profile.
5. Under the Home folder, type the folder information. To do this, follow these steps:
a. To assign a home folder on a network server, click Connect, and then specify a drive letter.
b. In the To box, type a path. This path can be any one of the following types:
\\server\users\tester
o You can substitute username for the last subfolder in the path, for example:
\\server\users\username
6. Note In these examples, server is the name of the file server housing the home folders, and users is
the shared folder.
2. Click OK.
1. Click Start, click Control Panel, double-click Administrative Tools, and then double-click
Computer Management.
2. In the console tree, click Users in Local Users and Groups.
3. Click the user account.
4. Click the Action menu, and then click Properties.
5. Click the Profile tab, click Connect, and then specify a drive letter.
6. In the To box, type a path. This path can be any of the following types:
o Network path, for example:
\\server\users\tester
o 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.
In Windows Server 2003, you can specify a home folder for a terminal server. Assign each user on a
terminal server a unique home folder. This makes sure that you store the program information separately for
each user in the multi-user environment.
Note: If you specify only the home folder for Windows Server 2003, both Windows 2003 and Terminal
Services use this home folder.
To specify a home folder for a terminal server, use one of the following procedures.
1. Click Start, point to Programs, point to Administrative Tools, and then click Active Directory
Users and Computers.
2. In the console tree, expand the domain node, and then click the Users folder.
3. Double-click the user account.
4. Click the Terminal Services Profile tab.
5. If the Terminal Services home folder is on the local server, click Local path, and then type the path
of the profile.
Note If you do not specify the location path in the Terminal Service Home folder pane, the default
local home folder is located at the following path:
6. If the Terminal Services home folder is on a network share, click Connect, select a drive to connect,
and then type the network path.
7. Click OK.
1. Click Start, point to Programs, point to Administrative Tools, and then click Computer
Management.
2. In the console tree, click Users in Local Users and Groups.
3. Double-click the user account.
4. Click the Terminal Services Profile tab.
5. If the Terminal Services home folder is on the local server, click Local path, and then type the path
of the profile.
Note If you do not specify the location path in the Terminal Service Home folder pane, the default
local home folder is located at the following path:
6. If the Terminal Services home folder is on a network share, click Connect, select a drive to connect,
and then type the network path.
7. Click OK.
You can use the net user command to assign a home folder to a user from the command line. For
example, at the command line, type the following command, and then press ENTER:
net user tester /homedir:\\server\tester$
This command assigns the tester$ hidden shared folder on the server to the user Tester.
The following example creates a user named "tester". The user is created with a comment, password
expiration settings, home folder, and profile path configured:
NET USER tester /add /comment:"Example Account for User"
/expires:never
/homedir:\\zippy\%username%$
/profilepath:\\zippy\profile
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.