User Profile Service login failed
If you get the error message "User Profile Service registration failed", we have the right solutions for you.
Tip 1: Repair the user profile service in the registry
Problems with user profiles can arise for various reasons. The simplest solution can therefore be to simply restart the computer. If that doesn't help, you can try to repair the broken user profile. For this you need access to an administrator account or you start Windows in safe mode. You can also find a clear explanation with pictures in our picture gallery.
- One note in advance: This procedure changes the registration. Make sure to make a backup copy of the registry before working on it.
- Open the Windows Start menu and enter "regedit" in the search.
- In the registry editor open this path: "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ ProfileList".
- Now click in the navigation on the folder that begins with the SID key "S-1-5" and then has a long sequence of numbers.
- Double-click on the "ProfilImagePath" object in the detail area and check the value. Here you should find the name of the broken profile.
- If the wrong name is there, check the other folders with "S-1-5" at the beginning of the key.
- If there is more than one "S-1-5" folder with a long number tail, one of them should end in .bak. You have to rename it.
- To do this, first change the name of the folder without .bak by right-clicking on it, selecting Rename and adding a .ba (Attention, not .bak!) To the SID key.
- In the next step, name the folder whose SID .bak ends and remove this .bak. The rest of the SID remains.
- Now change the SID of the first folder again and change the .ba to .bak.
- Proceed similarly if there is only one folder with a long number tail, but this ends with .bak. In this case, rename the SID and remove .bak.
- When you're done sorting and renaming, open the folder with the long SID key, which is now without .bak.
- Open the "RefCount" object with a double click, change the value to 0 and close the input field with a click on OK.
- Now open the State object in the same folder and change the value to 0. Close and save by clicking OK.
- Close the registry editor, restart the computer and log in with the account as usual.
Tip 2: Copy the account and create a new one
If the registry editor is too cumbersome for you, you can instead create a new account and copy the data from the old one.
- First log in with an administrator account, open "Account Management" in the "Control Panel" and create a new account.
- Restart the computer and log in again as an administrator. Make sure that this is not the new account.
- Open the "My Documents" folder. To do this, open the system partition (usually C :), open the "Users" folder, click here on the name of your account and then open "My Documents".
- Open the "Folder Options". Depending on the operating system, this can be done via the "View" tab or the "Tools" menu. You may have to press the [Alt] key to make this visible.
- In the folder options go to "View" and deactivate the option "Hide protected system files".
- Now go back to C: \ Users and open the folder with the name of the broken account.
- Mark and copy all files and folders in this folder with the exception of "Ntuser.dat", "Ntuser.dat.log" and "Ntuser.ini".
- Now open the folder with the name of the newly created user account in C: \ Users.
- Paste the files you just copied here. Now the new user should be a copy of the old one.
- Log out or restart the computer, then log in with the newly created user profile.
If you have made a mistake in the registry, you can also undo the Windows registry change.