Defining the profile area to use for a user.

John Savill

March 4, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. By default when a user logs on for the first time at a machine adirectory under %systemroot%profiles is created under the name of the user tohold the users profile, e.g. for user saviljo the area created would be%systemroot%profilessaviljo.

Problems arise if the directory already exists and so an alternate directory.nnn will be created, starting with 000. This mapping isstored in the registry HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionProfileList. You can therefore force a user to use a specificprofile area by performing the following:

  1. Start the registry editor (regedit.exe)

  2. Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionProfileList

  3. Find the SID that relates to the user (check the ProfileImagePath value)

  4. Once found double click on ProfileImagePath and remove the .nnn, e.g.
    %SystemRoot%Profilesgarfield.000
    to
    %SystemRoot%Profilesgarfield

  5. Click OK

  6. Close the registry editor

The user should now login using the profile you originally copied for them.Once you are sure it works you can delete the .nnn directoryunder %systemroot%profiles. You should make sure the user has the right touser the original profile, for example if you have copied it to that locationand granted rights accordingly.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like