Login Using safe mode and do these changes.

To Fix the User Account Profile

    1. Open the Start menu.

    2. In the white line (Start Search) area, type regedit and press Enter.

    3. If prompted by UAC, either click on Continue (Vista) or Yes (Windows 7).

    4. In regedit, go to: (See below)

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

5. In the left pane, look for the S-1-5….. folder (SID key) with the long number that has .bak at the end of the numbers.
NOTE:
A) In the right pane, look at the ProfileImagePath to verify that this is the user account profile that has the error.
B) You may have another S-1-5….. folder (SID key) above it with the exact same number without the .bak at the end of it.

6. If you have Two S-1-5….. folders (SID key) with the same Number
NOTE: This is if you have two S-1-5….. folders (SID key) with the exact same numbers, but the second (below) one has the .bak at the end of the numbers.

    A) In the left pane, right click on the first (top) S-1-5….. folder (SID key) that does not have .bak at the end of the numbers and click Rename.
  B) Add .bk to the end of the numbers.

C) In the left pane, right click on the second S-1-5….. folder (SID key) with .bak at the end of the numbers and click Rename.

D) Remove only .bak from the end of the numbers and press Enter. (See screenshot below)

E) Now go back and Rename the first one with .bk to .bak now at the end of the numbers and press Enter.

8. In the right pane of the one without .bak now, right click on RefCount and click on Modify.
NOTE: If you do not have RefCount, then right click on a empty space in the right pane and click New and DWORD (32 bit) Value, then type RefCount and press Enter. This value for this entry will reset and return back to the original value after you have restarted the computer and logged on to the account.

    A) Type 0 (number) and click on OK.

9. In the right pane of the one without .bak now, right click on State and click on Modify.
NOTE: This value for this entry will reset and return back to the original value after you have restarted the computer and logged on to the account.

    A) Type 0 (number) and click on OK.

10. Close regedit.

11. Restart the computer.

12. See if you can logon now.

Advertisements