Defining the profile area to use for a user.
March 4, 1999
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:
Start the registry editor (regedit.exe)
Move to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsNTCurrentVersionProfileList
Find the SID that relates to the user (check the ProfileImagePath value)
Once found double click on ProfileImagePath and remove the .nnn, e.g.
%SystemRoot%Profilesgarfield.000
to
%SystemRoot%ProfilesgarfieldClick OK
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
You May Also Like