Article ID: 320043 - Last Review: November 1, 2006 - Revision: 3.1 HOW TO: Assign a Home Directory to a UserThis article was previously published under Q320043 On This PageSUMMARY
This step-by-step article describes how to assign a home directory to a user by using the Active Directory Users and Computers MMC, the Computer Management MMC, a logon script, or the command line. Home directories and My Documents make it easier for an administrator to back up user files and manage user accounts by collecting many or all of a user's files in one location. If you assign a home directory to a user, you can store user's data in a central location on a server, and make backup and recovery of data easier and more reliable. If no home directory is assigned, the computer assigns the default local home directory to the user account (\Users\Default on the user's local drive where Windows 2000 is installed as an upgrade, or the root directory where Windows 2000 is installed as the initial version). The home directory can use the same location as the My Documents folder. When you are using Windows 2000 Terminal Services, the user profile is the default home directory. Assign a Home Directory to a Domain UserNOTE: To specify a network path for the home directory, you must first create the network share and set permissions that allow the user access. You can do this with Shared Folders in Computer Management on the server computer.To assign a home directory to a domain user:
Assign a Home Directory to a Local UserTo assign a home directory to a domain user:
Specify a Home Directory For a Terminal ServerIn Windows 2000, you can specify a home directory for a terminal server. Each user on a terminal server should have a unique home directory. This ensures that program information is stored separately for each user in the multi-user environment.NOTE: If you specify only the home directory for Windows 2000, that home directory is used for both Windows 2000 and Terminal Services. To specify a home directory for a Terminal server:
246132
(http://support.microsoft.com/kb/246132/EN-US/
)
User Profile and Home Directory Behavior with Terminal Services
Assign a Home Directory to a User from the Command LineYou can use the net user command to assign a home directory to a user from the command line. For example, at the command line, type net user tester /homedir:\\server\tester$ , and then press ENTER to assign the tester$ hidden shared folder on the server that is named "server" to the user Tester.Assign a Home Directory to a User By Using a Logon ScriptYou can automate user account creation and home directory assignment. You can use the net user command to create local user accounts in configuration scripts.Create a Logon ScriptThe following example creates a user that is named tester, with comment, password expiration, home directory, and profile path configured:Assign a Logon Script to a ProfileTo assign a logon script to a profile:
271657
(http://support.microsoft.com/kb/271657/EN-US/
)
Scripted Home Directory Paths Require That Folders Exist
| Article Translations
|
Back to the top
