Thursday, April 28, 2011

User logon to Windows using always a temporary profile

Problem: When a user logon to Windows 7 or Windows 2008, it always get a temporary profile. Removing the user folder under c:\users and rebooting the machine does not solve the problem.

Resolution:

0) Logon with an administrator account and backup the whole content of the folder c:\users\myuser where "myuser" is the username of the user who reported the problem.

1) Find the SSID of the user with problem. Open regedit and go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\Cu rrentVersion\ProfileList

Click on any of the key on the left and check out the right pane for the ProfileImagePath value. Now you should find something like this: c:\users\myuser, where "myuser" is the name of the account associated with the SID you selected in the left pane.

2) Probably you will find that above or below the SSID you found in step 1, there is a folder with the same SSID but with a .bak extension. Delete both folders (the one with the .bak extension and the other that does not have it).

3) Logoff from the administrative account and logon again with the credentials of the user having the problem. This will create a new empty and healthy profile for the user. Check at the registry path above that no .bak folder was created for that user. Logoff.

4) Logon with an administrator account and restore the backup you made at step 1 to the folder c:\users\myuser where "myuser" is the username of the user who reported the problem. Logoff and ask your user to try again.

Note: I have seen this problem in Windows 7 and Windows 2008 but probably could occur in old versions of Windows. Just take into account that the location of profiles in Windows XP and older  is c:\documents and settings.

No comments:

Post a Comment