Right Click on the Windows 10 Start button and click on Run.
Run Command in Windows 10
- Type regedit into the search box and press Enter.
Regedit Command Window in Windows 10
- Now, navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
Registry Hkey Local Machine Software
Once you follow the file path and reach ProfileList, you will see folders starting with S-1-5. Each of these folders represents a user profile or a user account created on your computer.
- Click on each S-1-5 folder and identify the folder that is related to the user account that you are trying to fix.
You will be able to clearly identify the user account that each of these folders is related to by taking a look at the ProfileImagePath entry that you will see on the right side of your Window.
User Account Profile Path in Windows 10
- Once you have identified the right folder, Double Click on the entry “State” to launch a pop-up window (See image below) and change the value to 0.
Edit Dword "State"
- Next, Double Click on the entry “RefCount” to launch a popup window (See image below) and change the value to 0.
Note: If you do not have RefCount, then you can create a new file by right clicking anywhere on the blank space in the right pane – Click New > DWORD (32 bit) > type RefCount > click on Enter.
Create New Dword File
- Close regedit and restart your computer. You should now be able to log into your account.