Getting User Profiles

How users get their profiles depends on the type of profile you've configured their accounts to use:

  • Local user profile. This profile is created the first time users log on to their computers. Local user profiles are stored on the local hard disk. Changes that users make to their profiles don't follow them from computer to computer.

  • Roaming user profile. This profile is available to users from any computer on the network, and changes that users make to their profiles follow them from computer to computer.

  • Mandatory user profile. This profile is similar to roaming user profiles. Administrators assign mandatory user profiles to users, and Windows XP throws away users' changes when they log off of the operating system. In other words, users start with the same settings every time they log on to the operating system. Microsoft provides mandatory user profiles to provide compatibility with Windows NT 4.0, but you should consider using Group Policy instead.

The following sections describe how Windows XP creates a profile when users log on to the operating system. The section "Using Roaming User Profiles" describes how to create and manage roaming user profiles. Also, the section "Managing Roaming User Profiles" shows you how to prevent Windows XP from merging the local copy of a profile with the server copy using Group Policy.

Local Profiles

Here's an overview of how Windows XP creates and uses a local user profile for users the first time they log on to their computers:

  1. The user logs on to Windows XP.

  2. Windows XP checks the list of user profiles in the key ProfileList to determine if a local profile exists for the user. If an entry exists, the operating system uses it; otherwise, the operating system does one of the following:

    • If the computer is a domain member, Windows XP checks the NETLOGON share on the domain controller for a default user profile in a subfolder called Default User. If it exists, the operating system copies NETLOGON\Default User to %SYSTEMDRIVE%\Documents and Settings\Username, where Username is the name of the user's account.

    • If the computer is not a domain member or if Windows XP doesn't find a default user profile on the NETLOGON share, it uses the local default user profile. It copies %SYSTEMDRIVE\Documents and Settings\Default User to %SYSTEMDRIVE%\Documents and Settings\Username.

  3. Windows XP loads the profile hive Ntuser.dat into HKU and links the root key HKCU to it.

When the user logs off of Windows XP, the operating system saves any changes to the profile in the user profile folder. It doesn't copy the profile folder to the network. It also unloads the profile hive from the registry.

Roaming Profiles

Here's an overview of how Windows XP creates and uses a roaming user profile for users the first time they log on to their computers:

  1. The user logs on to Windows XP.

  2. Windows XP checks the list of user profiles in the key ProfileList to determine if a local profile exists for the user. If an entry exists, the operating system merges the network copy of the profile into the local profile folder; otherwise, the operating system does one of the following:

    • Windows XP checks the NETLOGON share on the domain controller for the Default User folder. If it exists, the operating system copies the Default User folder to %SYSTEMDRIVE%\Documents and Settings\ Username, where Username is the name of the user's account.

    • If Windows XP doesn't find a default user profile on the NETLOGON share, it copies %SYSTEMDRIVE\Documents and Settings\Default User to %SYSTEMDRIVE%\Documents and Settings\Username.

  3. Windows XP loads the profile hive Ntuser.dat into HKU and links the root key HKCU to it.

When users log off of Windows XP, the operating system saves their changes to the local profile folders and then unloads the profile hives from HKU. Afterward, the operating system copies their profile folders to the network location specified by the administrator. If the profile folder already exists on the network, the operating system merges the local copy into the network copy. For more information, see "Understanding the New Merge," later in this chapter.

Note 

There are two differences between roaming and mandatory user profiles. First you create the mandatory profile and copy it to the user's profile folder instead of allowing Windows XP to create it when the user logs on to the computer. Second you rename the Ntuser.dat to Ntuser.man. Windows XP uses the .manfile extension to make the profile mandatory. Windows XP doesn't merge mandatory user profiles to the network when the user logs off of the computer.



Microsoft Windows XP Registry Guide
Microsoft Windows XP Registry Guide (Bpg-Other)
ISBN: 0735617880
EAN: 2147483647
Year: 2005
Pages: 185

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net