Fix User Cannot Log On
Fix User Cannot Log On
2. In the white line (Start Search) area, type regedit and press Enter.
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.
(See screenshots below steps 6A and 7B)
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. (See screenshot below)
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.
F) Go to step 8.
7. If you have Only One S-1-5..... Folder (SID key) with .bak
NOTE: This is if you only have one S-1-5..... folder (SID key) for your user account with .bak at
the end of the numbers.
A) In the left pane, right click on the S-1-5..... folder (SID key) with .bak at the end of the
numbers and click Rename. (See screenshot below)
B) Remove only .bak at the end of the numbers and press Enter. (See screenshot below and
below step 10)
8. In the right pane of the one without .bak now, right click on RefCount and click on Modify.
(See screenshot below step 10)
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. (See screenshot below)
9. In the right pane of the one without .bak now, right click on State and click on Modify. (See
screenshot below step 10)
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. (See screenshot below)
10. The registry will now look like this for the one without .bak now. (See screenshot below)
OPTION TWO
To Delete the User Account and Create Another One
Warning
You can do this option if you do not care about losing the user account and the contents in the
user folders. Your programs will still be installed, but you will need to create new shortcuts for
them afterwards.
1. Delete the User account profile that this error is for.
3. In the white line (Start Search) area, type regedit and press Enter.
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
6. In the left pane, click on one of the S-1-5..... folders (SID key) with the long number in it.
NOTE: It may have .bak at the end of it.
A) In the right pane, look at the ProfileImagePath to see if this is the same user account that you
deleted in step 1 above.
B) Repeat step 6 until you find the one that you deleted in step 1 above.
NOTE: If the user account is not here, then it has already been removed when deleted in step 1.
Go to step 9.
7. To Backup the Registry SID Key
WARNING: You should backup this SID key to be safe in case you delete the wrong one in step
8 below.
A) Right click on the SID key, and click on Export.
9. Close regedit.