When you are trying to log on to Windows 7 with your account, if you receive this error message: The User Profile Service failed the logon. User profile cannot be loaded, use the solution in this post to fix the problem.
The solution is to fix the user account profile, which requires you to modify the registry. You need to follow the steps carefully, as modifying registry incorrectly might cause serious problems. It is recommended that you back up the registry before you get started, so you can restore it if a problem occurs.
Then follow these steps:
1) Press Win+R (Windows logo key and R key) at the same time. A Run dialog box will open.
2) Type regedit and click on OK button. This is to open Registry Editor utility.
3) In Registry Editor, locate and then expand the following registry subkey:
4) Under this subkey, locate the folders that begin with S-1-5 followed by a long number.
In most cases, there are two such folders: One ends with .bak and the other one ends with none.).
Double-click on the ProfileImagePath to make sure that this is the user account profile that has the error. You can tell it from the Value data which shows the user account.
After that, follow these:
1) Right-click on the folder without .bak, and then click Rename. Type .ba at the end, and then press Enter key.
2) Right-click on the folder that ends with .bak, and then click Rename. Remove “.bak” and then press Enter key.
3) Right-click on the folder that ends with .ba, and then click Rename. Change the .ba to .bak at the end of the folder name, and then press Enter key.
4) Reboot your PC and see if you can log on to the computer.
If you have only one folder starting with S-1-5, followed by long numbers and ends with .bak. Right-click on the folder and select Rename. Remove .bak and then press Enter key.
5) Click on the folder, double-click RefCount, type 0 in the Value data box, and then click OK button.
6) Click on the folder again, double-click State, type 0 in the Value data box, and then click OK button.
7) Reboot your PC and you should log on successfully.