Start the computer and press F8 key immediately.
In the “Advanced Boot Options” window, select “Safe Mode” and then press “Enter”
Login to your account.
Click Start
In Start Search box, type “regedit”, and press “Enter”.
In Registry Editor window, navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
In the left pane, look for the folder name starting with S-1-5 (SID key) followed by a long number, then click the folder and locate ProfileImagePath from the right pane to verify that this is the user account profile that has the error.
If you have two folders starting with S-1-5 followed by same long numbers and one of them ends in .bak
Change the .bak folder to normal one. To do this:
Right click the folder without .bak and choose “Rename”. Then add .ba at the end of the folder name.
Right click the folder with .bak and choose “Rename”. Then remove “.bak” at the end of the folder name.
Right click the folder with .ba and choose “Rename”. Then change the .ba to .bak at the end of the folder name.
Choose the folder without .bak
In the right pane, right click on RefCount and then select “Modify”
Under “Value Data”, type 0 and then click OK.
Right click on State and then select “Modify”
Under “Value Data”, type 0 and then click OK.
Close Registry Editor window.
Restart the computer in normal mode.
Log on to your account again.