Summary

This step-by-step article describes how to restore a user profile as well as the following user profile items:

Documents

Desktop settings

Favorites

Cookies

By default, when you first log on to a Windows 2000-based computer, Windows creates a user profile folder in the %SystemDrive%\Documents and Settings folder, and you are given Full Control permission. If you lose the Full Control permission for this folder, Windows creates a new user profile folder the next time that you log on and you can no longer access the original user profile folder unless you have local administrative authority on the computer.

If you lose access to your profile folder, Windows creates a new profile folder for you, and places it in the Documents and Settings folder by default. Windows attempts to use your user name as the name of the new profile folder. However, if the old profile folder still exists, Windows modifies the name of the new folder to avoid duplicating the name of the original profile folder. In this scenario, you may see multiple profile folders for your user profile. The following information describes the default naming scheme that Windows 2000 uses for user profiles:

If the username folder does not already exist, the new profile folder is named:

username

If the username folder already exists, the new profile folder is named:

username.computername

If the username.computername folder already exists, the new profile folder is named:

username.computername.000

If the username.computername.000 folder already exists, Windows uses the next available increment of the username.computername.000 naming scheme.

For example:

username.computername.001

Another way to keep track of these duplicate profile folders is by the creation date or time, as long as you have not modified the creation date or time.

Requirements

To restore a user profile, the Documents and Settings\username profile folder must still exist, and you must have the Full Control permission for this folder. If you do not have the correct permission for your user profile folder, you (or someone else) must log on to the computer as an administrator and restore the required level of permission to your user profile.

Copy Documents from the Current Profile Folder to the Appropriate User Profile Folder

If you have logged on to Windows since you lost access permission to your original profile folder, there are at least two user profile folders that have your user name. To make these files accessible from the user profile that you are restoring:

Log on to the computer as an administrator.

Copy all of the documents from your current My Documents folder to the My Documents folder of the profile that you are restoring.

NOTE: Step 2 is not required if you have moved your My Documents folder to a location outside the Documents and Settings folder; however, after you restore your user profile, you may need to re-specify the target folder location of the My Documents folder.

To retain the Internet favorites links, copy all of the Internet shortcut files from from your current Favorites folder to the Favorites folder of the user profile that you are restoring.

NOTE: Do not copy Desktop.ini file.

Grant Full Control Permission for the User Profile Folder

Right-click your old user profile folder, and then click Properties. By default, this folder is %SystemDrive%\Documents and Settings\username.

On the Security tab, click your user profile in the Name list, and then click to select Allow for the Full Control permission.

NOTE: If your user profile is not displayed in the Name list, add your profile: Click Add, click your user name in the list, and then click OK.

Click OK to close the dialog box.

Edit the User Profile Registry Key

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

NOTE: When you open the ProfileList folder, you see several folders, each of which belongs to a different user. These folders are named according to the user security IDs (SIDs) and not according to the user names.

To locate your user profile folder, use one of the following options:

For each folder, click the folder, and then look for the ProfileImagePath value that contains the path to your user profile (such as %SystemDrive%\Documents and Settings\username).

-or-

In Registry Editor, press CTRL+F to start the Find tool. Type your user name in the Find what box, click to select the Data check box under Look at, and then click Find.

After you locate the subkey folder for your user profile, double-click the ProfileImagePath value.

In the Value data box, change the path so that it points to the profile folder that you are restoring, and then and click OK.

Quit Registry Editor.

The next time that you log on to the computer, Windows will use your restored user profile.

References

For additional information about a related topic, click the following article number to view the article in the Microsoft Knowledge Base: