SOLVED: The User Profile Service failed the logon

When you attempt to login to your account on Windows you receive the following error “The User Profile Service failed the logon” which is due to your user profile is corrupt after a windows update or a malware. Not only you, but many others are affected by this issue. The fix is pretty easy and simple for this issue.

To fix this issue please follow the steps below. Before you begin, please bookmark this page so you can access it during the steps because it requires restarting system and re-accessing this page.

  1. Restart your computer and repeatedly tap F8 until you see the Advanced Boot Menu.
  2. If you do not see this menu, start over again and repeatedly tap the F8 key on your keyboard until you see this.
  3. When you see this select Safe Mode with Networking.
  4. You will be able to login to safe mode fine.

On the Advanced Boot Menu, select Safe Mode with Networking using the arrow keys on your keyboard. Hit Enter to start the computer in Safe Mode with Networking. The picture below shows Safe Mode only, but you need to select “Safe Mode with Networking”


After you have logged in again in the safe mode with networking, Click the Start button and type system restore in the Start Menu‘s search and hit Enter OR open run and type rstrui.exe then Click OK. You can open run by holding the windows key and pressing R.

Click the System Restore option from the search.

After it loads up, place a check on Show More Restore Points and click Next.


Select a restore point by looking at the dates when your computer was working fine. Click Next and Finish.

The computer will begin a system restore and will reboot. After it has rebooted, login to your computer in the normal mode.

Now download Restoro by clicking the here and run the program. It will take a while for it to finish scanning. Once it has scanned, and if it has found problems, repair them using the program. Once this is done, Click Start and type cmd in the search box. Right-click cmd and select run as administrator. This will open a black command prompt, inside the black prompt type:

sfc /scannow

Now hit enter. An SFC scan will begin which will finish in about 30 to 50 minutes.


Your issue should now be completely resolved after the system file check has finished.

Method 2: Changing Registry Configurations

It is possible that certain Registry Configurations might be corrupted/misconfigured. Therefore, in this step, we will be changing certain Registry Configurations after booting into safe mode. In order to do that:

  1. Restart your computer and repeatedly press “F8” until the “Advanced Boot Menu” shows up.
  2. Use the arrow keys to navigate down and highlight the “Use Safe Mode with Networking“.
    Selecting the “Safe Mode With Networking” option
  3. Press “Enter” to select the option and wait for the computer to restart.
  4. Once restarted, login to your account and the Computer will boot into the Safe Mode.
  5. Press “Windows” + “R” and type in “Regedit“.
    Open Regedit
  6. Navigate to the following address
    HKEY_LOCAL_MACHINE>Software>Microsoft>Windows NT>Current Version>Profile List
    Navigating to the folder
  7. In this folder, there should be two profiles with the same name except one of them will have “.bak” at the end.
  8. Right-click on the file with “.bak” at its end and select “Rename“.
  9. Remove the letters.bak” from its name and press “Enter“.
  10. Now rightclick on the second file that didn’t have the letters “.bak” in its name.
  11. SelectRename” and add the letters.bak” at the end of its name.
  12. Now click on the folder from which you just removed the letters “.bak“.
  13. In the right pane, right-click on “State” and select “Modify”.
  14. Change the “Value Data” from “8000” to “0” and click on “OK”.
  15. After this, rightclick on “RefCount” and change the Value Data to “0“.
  16. Click on “OK” and close the Registry Editor.
  17. Restart your computer and check to see if the issue persists.

Method 3: Disable Customer Experience Program

In certain situations, a certain file might not be uploaded properly to the Customer experience programs due to which this issue is triggered. Therefore, in this step, we will be disabling this setting from the group policy editor. Make sure to follow the steps carefully.

  1. Press “Windows’ + “R” to open the Run prompt.
  2. Type in “gpedit.msc” and press “Enter”.
  3. Expand the “Computer Configuration” pane and then expand the “Administrative Templates”.
  4. In the right pane double-click on the “System” folder and then on the “Internet Communication Management” folder.
  5. Open the “Internet Communication Settings” and double click on the “Windows Customer Experience Improvement Program” entry in the right pane.
    Opening the Setting
  6. Select “Enabled” and save your changes.
  7. Check to see if the issue still persists.

Method 4: Enabling the User Profile Service

If the methods above didn’t work out for you, it’s possible that the service has been disabled by a third-party program or application. You can try to reset the parameters of the service and check if the issue persists. To fix this service, follow the steps below:-

  1. First of all, you will have to boot into safe mode. Once you are in safe mode.
  2. Click on the search bar and type “cmd” then right-click on it and press “Run as administrator”.
  3. Type the following command into the command prompt window one by one:-
    sc config ProfSvc start= auto
    sc start ProfSvc
  4. Restart your computer and check to see if the issue persists.

Note: If nothing else works for you, log in with an admin profile, navigate to “C:\Users” and delete all unused profiles in there and check if the issue persists.

Kamil Anwar
Kamil is a certified MCITP, CCNA (W), CCNA (S) and a former British Computer Society Member with over 9 years of experience Configuring, Deploying and Managing Switches, Firewalls and Domain Controllers also an old-school still active on FreeNode.

Expert Tip

SOLVED: The User Profile Service failed the logon

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested