The User Profile Service service failed the logon

I have received a Windows 7 machine where the user was unable to login to the system. Each time the user tried to login to the system he received the following error message:
The User Profile Service service failed the logon – User profile cannot be loaded. This was the only user on the system and it did not have a password set.

In order to solve this, I had to fix the profile issue using the registry editor in the Safe Mode.

Here are the steps on how to fix this issue:

Power ON the computer and hit F8 several times until you get the advanced boot options shown below:

The User Profile Service service failed the logon

Select Safe Mode and hit enter.

You should be able to log in normally into the safe mode. Once you are logged in open Registry Editor (regedit.exe) from the start menu.

Navigate to the following registry key:

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

Here you will see several folders that are related to user and service profiles. Search for the 2 folders with longer names as you can see below:

The User Profile Service service failed the logon

The folder that is related to our profile has been renamed to ***.bak and the newly created folder above it has been related to the temporary profile we are currently using in the Safe Mode.

We have to rename the ***.bak folder to ***.aak and then rename the first folder to ***.bak and then remove the suffix from the ***.aak folder.

In the left pane select the folder without the suffix and in the right pane search for the keys RefCount and State.

Both keys should have their data set to 0. If they don’t, make sure you set the DATA value for both keys to 0. Please do not change the name or type of the key!

The User Profile Service service failed the logon

Close the registry editor and reboot. You should be able to log in normally now.

Comments are welcome.

You may also like...

2 Responses

  1. John B. says:

    Thank You VERY Much!
    Instructions are excellent.

Leave a Reply

Your email address will not be published. Required fields are marked *

17 − 10 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.