Fix: The User Profile Service failed the logon on Windows 10

For various PC problems, we recommend to use this tool.

This tool will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues (requires upgrade).

Not being able to log in to Windows 10 has to be one of the most frustrating problems because all your files are still there, but you can’t access them. Users reported The User Profile Service failed the logon error message while trying to log in to Windows 10, so let’s see how to fix this problem.

The User Profile Service failed the logon on Windows 10, how to fix it?

Solution 1 – Change the registry

Sometimes your account might get corrupted, and that can prevent you from accessing Windows 10. This is a frustrating problem, but you can fix it by modifying your registry. Before we start, we need to mention that modifying registry can lead to system instability and crashes, therefore it’s advised to create a backup just in case anything goes wrong.

To edit the registry you’ll have to sign in as a different user, but if you have only one user account, you can also use Safe Mode to edit the registry. To enter Safe Mode follow these steps:

  1. Restart your PC few times during the boot sequence to start Automatic Repair process.
  2. Choose Troubleshoot > Advanced options > Startup Settings. Click the Restart button.
  3. When your computer restarts you’ll see a list of options. Select Safe Mode with Networking by pressing the appropriate key.

To fix The User Profile Service failed the logon problem, you’ll need Registry Editor, and you can start it by following these steps:

  1. Press Windows Key + R and enter regedit.
    user-profile-service-failed-logon-regedit
  2. When Registry Editor opens, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList key in the left pane.
  3. Inside ProfileList key there should be several S-1-5 keys available. Select the one that has a long array of numbers as its name. Be sure to check ProfileImagePath sting to see if the value matches the path of the corrupted user profile. In our example, the key is S-1-5-21-2072414048-1790450332-1544196057-1001, but the name of the key will be different on your PC.
    user-profile-service-failed-logon-reg-2
  4. If you have a S-1-5 folder that has a long name with a .bak and the end, for example S-1-5-21-2072414048-1790450332-1544196057-1001.bak, you’ll need to rename it. If you don’t have this key, you can skip to Step 7.This folder usually works as a backup of the corrupted profile, so you’ll need to remove the .bak in order to use it. Simply right click the folder that doesn’t have .bak at the end, choose Rename and add .ba at the end. In our example, we would change the following key:
    user-profile-service-failed-logon-renameS-1-5-21-2072414048-1790450332-1544196057-1001
    to
    S-1-5-21-2072414048-1790450332-1544196057-1001.ba
  5. Now locate the key with the .bak at the end of its name, in our example it should be S-1-5-21-2072414048-1790450332-1544196057-1001.bak and rename it. The final results would look like this:S-1-5-21-2072414048-1790450332-1544196057-1001.bak
    to
    S-1-5-21-2072414048-1790450332-1544196057-1001
  6. Lastly, rename the folder that has .ba at the end. Simply remove .ba at the end of the folder name. The results should like like this:S-1-5-21-2072414048-1790450332-1544196057-1001.ba
    to
    S-1-5-21-2072414048-1790450332-1544196057-1001We have to mention that S-1-5-21-2072414048-1790450332-1544196057-1001 is just an example that we used, and the key name will be different on your PC, so be sure not to use the same key name that we used in our example.
  7. Select the profile key that doesn’t have .bak in its name, in our case that would be S-1-5-21-2072414048-1790450332-1544196057-1001, and in the right pane look for RefCount DWORD. Double click it to open its properties and set the Value data to 0. Do the same thing for State DWORD as well.
    user-profile-service-failed-logon-refuser-profile-service-failed-logon-state
  8. After you’re done, close the Registry Editor and restart your PC.

After changing the registry, try to login to Windows 10 by using your user account.

Solution 2 – Create a new user account

To fix The User Profile Service failed the logon error on Windows 10, some users are suggesting to create a new user account. Since your user account is corrupted, one way to fix it is to create a new one and migrate all your files to it. To create a new user account you need to enter Safe Mode and follow these steps:

  1. Open the Settings app and go to Accounts section.
  2. Go to Family and other users tab and click Add someone else to this PC.
    user-profile-service-failed-logon-add-someone
  3. Click on I don’t have this person’s sign-in information.
    user-profile-service-failed-logon-no-sign-in
  4. Click Add a user without a Microsoft account.
    user-profile-service-failed-logon-add-user
  5. Enter a user name for a new user account. If you want, you can also protect it with a password. Click Next.
    user-profile-service-failed-logon-user-new

After you create a new account, try logging in to Windows 10 with your new user account. If everything works without problems, you’ll have to move your personal files from your previous account and use this account as your main one.

Solution 3 – Delete the SID and create a new profile

Few users are suggesting to delete the SID and create a new user profile in order to fix this problem. To do that, follow these steps:

  1. Press Windows Key + S and enter view advanced. Select View advanced system settings from the list of results.
    user-profile-service-failed-logon-view-advanced
  2. When System Properties window opens, go to Advanced tab and in the User Profiles section click the Settings button.
    user-profile-service-failed-logon-settings
  3. Select the profile you want to remove and click Delete.
    user-profile-service-failed-logon-delete
  4. After you do that, start Registry Editor.
  5. Go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList key in the left pane.
  6. Locate the S-1-5 folder that has a long array of numbers in its name. Click it and check the ProfileImagePath string to see if it’s your profile.
  7. Right click the key and choose Delete.
    user-profile-service-failed-logon-delete-key

This step can cause stability issues, therefore it’s recommended that you create a backup of your registry, or even a System Restore point before proceeding. Bear in mind that this step might not work if you have only one user profile. After removing the registry key, create a new user profile by following the steps from previous solution.

Solution 4 – Copy the Default folder from a different Windows 10 PC

For various PC problems, we recommend to use this tool.

This tool will repair most computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Quickly fix PC issues and prevent others from happening with this software:

  1. Download ReimagePlus (100% safe download and endorsed by us).
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues.

According to users, you can fix this problem by copying the Default folder from another Windows 10 PC. This process is quite simple, and in order to complete it, you’ll just need a USB flash drive and another working PC. To fix this problem, follow these steps:

  1. Go to the working Windows 10 PC and navigate to C:\Users folder.
  2. Look for Default folder. If this folder isn’t available, click the View tab and then check View hidden items option.
    user-profile-service-failed-logon-hidden-items
  3. Copy the Default folder to your USB flash drive.
  4. Switch back to the problematic PC and go to C:\Users folder. You might have to use a different profile or Safe Mode in order to complete this step.
  5. Locate the Default folder on your PC and rename it to Default.old. If you can’t see the Default folder, be sure to enable hidden items like you did in Step 2.
    user-profile-service-failed-logon-rename-2
  6. Paste the Default folder from your USB flash drive to your computer.
  7. After pasting the Default folder restart your PC and try to log in with your main account.

Solution 5 – Check your registry

Users reported that sometimes the Default profile key can point to a different version of Windows, especially if you upgraded from a previous version of Windows. To fix this problem, you need to manually change few registry settings. To do that, follow these steps:

  1. Open Registry Editor and go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList key in the left pane.
    user-profile-service-failed-logon-profile-list
  2. In the right pane find the Default string. The value of the string should be %SystemDrive%\Users\Default. Users reported that sometimes this value can change, thus causing this problem. If that’s the case, double click the Default key and set Value data to %SystemDrive%\Users\Default. Click OK to save changes.
    user-profile-service-failed-logon-default
  3. Close Registry Editor and try to login with your user account again.

Solution 6 – Replace the NTUSER.dat file

According to users, The User Profile Service failed the logon error can occur due to corrupted NTUSER.dat file. To fix this problem you need to find a working version of NTUSER.dat file. You can get this file from a different Windows 10 PC, or you can use the one from your PC. Simply go to C:\Users\Default\ and move the NTUSER.dat to a different folder. Now go to C:\Users\Public folder and locate the NTUSER.dat file and copy it to C:\Users\Default folder.

If you’re still having issues on your PC or you simply want to avoid them for the future, we recommend you to download this tool (100% safe and tested by us) to fix  various PC problems, such as missing or corrupted files, malware and hardware failure.

Solution 7 – Use Windows 10 Safe Mode

Safe Mode is a special mode of Windows 10 that starts with default drivers and default software, and if you can’t log in to Windows 10, you should try using Safe Mode. Users reported that in order to fix this problem you just need to log in to Safe Mode and the problem should be repaired automatically. To see how to enter Safe Mode, check Solution 1 for detailed instructions.

The User Profile Service failed the logon can be a quite frustrating error because it prevents you from accessing Windows 10 with your user account, but we hope that you fixed this problem after using one of our solutions.

READ ALSO:

Tags: