Windows OS

How to Fix “The User Profile Service Failed The Logon Windows 10” Error?

The “User Profile” service contains information about users in a central location. However, sometimes the Windows user encounters the “User Profile Service Failed The Logon Windows 10” error, which indicates that the user profile is corrupted. This particular issue can occur after performing a Windows Update, creating a user profile, or because of the contained malware.

This write-up will provide the solutions to resolve the issues with the “User Profile service” in Windows 10.

How to Resolve “The User Profile Service Failed The Logon Windows 10” Error?

To resolve the malfunctioning of “The User Profile” service in Windows 10, consider the following fixes:

Fix 1: Enable the “User Profile” Service

The stated error can be due to the disabled “User Profile” service. So, enable this service and configure its startup type by running commands.

Step 1: Open Command Prompt

Open up the Command Prompt being an “administrator”:

Step 2: Enable User Profile Service

Firstly, enter the below-given command to configure the “startup” type of the service as automatic “auto”:

>sc config ProfSvc start= auto

Then, start the “User Profile” service:

>sc start ProfSvc

From the given output, it can be seen that since the service is already running. So, the stated message is displayed.

Note that this service can also be initiated from the “Services” manually.

Fix 2: Apply “SFC” Scan

SFC” or “System File Checker” Scan can also be utilized for scanning corrupted files and fixing them. Moreover, applying this scan can also fix the user profile error.

To do so, enter the below-stated command in the administrative command prompt to initiate a search for the corrupted files:

>sfc /scannow

Fix 3: Execute “DISM” Scan

DISM” scans also serve the same purpose as applying health scans. It is a good approach to apply these scans after “sfc” for locating and fixing the infected files.

To apply these scans, firstly, verify the system image’s health by entering the below-given command:

>DISM.exe /Online /Cleanup-image /Checkhealth

After that, scan the system image’s health:

>DISM.exe /Online /Cleanup-image /Scanhealth

Finally, complete the process of restoring the system image’s health by utilizing the provided command:

>DISM.exe /Online /Cleanup-image /Restorehealth

Check if this approach worked out. Otherwise, proceed to the next approach.

Fix 4: Configure the Registry

Another effective approach to cope with the discussed user profile issue can be to make changes in the “Registry”. This is an advanced troubleshooting technique and can be considered by applying the below-enlisted steps.

Step 1: Navigate to “Registry Editor”

Type “regedit” in the below-given Run box to open “Registry Editor”:

Step 2: Navigate to Path

After that, navigate/redirect to the path “HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\ProfileList”.

Step 3: Locate User Profile Key

Here, locate the file named “ProfileImagePath” in each of the “S-1-5” folders. Check out the Data section of this file that accumulates the “User Profile” name:

Note that if a profile folder contains “.bak” or “.ba” after their name, then rename it before approaching the username association.

Step 4: Set the Value

In the same folder where the “ProfileImagePath” folder is indicated, locate the “RefCount” or the “State” option and set its value to “0”:

After applying all the steps, restart the PC and login with the usual User ID, and see if the encountered error vanishes.

Fix 5: Run Windows in Safe Mode

Initiating the PC in “Safe Mode” also helps in troubleshooting various problems. Therefore, it might resolve the discussed user profile service issue.

To carry out this approach, simply navigate to the “Recovery” section in the “Update & Security” settings and hit the “Restart now” button to restart the PC:

After the system restarts, a list will appear on the screen. Opt for “Safe Mode with Networking” from the list and observe if this fix worked out. Else, proceed to the next approach.

Fix 6: Check for Windows Updates

The Windows Update comes with enhanced security protections and resolves many issues. Hence, updating Windows can resolve the user profile service issue that can be carried out by following the below-stated steps.

Step 1: Navigate to “Update & Security”

Firstly, navigate to “Settings-> Update & Security”:

Step 2: Install the Updates

Finally, click on the highlighted button to install the latest Window updates:

After the updates are installed, observe if this approach made a difference. If the issue persists, consider the next approach.

Fix 7: Reset the PC

If none of the above approaches work out, then the only fix can be to reset the PC to the factory settings, thereby deleting all the altered configurations to the default settings. To opt for this solution, click on the “Recovery” option in the “Update & Security” settings and hit the highlighted option to reset the PC:

After that, select the former option to hold your data:

After resetting the PC, observe if the user profile issue got resolved.


To resolve the “The User Profile Service Failed The Logon Windows 10” error, enable the User Profile service, apply the SFC scan, execute the DISM scan, configure the Registry, run Windows in Safe mode, check for Windows Update, or reset the PC. This blog stated the approaches to coping with the User Profile service issue.

About the author

Umar Hassan

I am a Front-End Web Developer. Being a technical author, I try to learn new things and adapt with them every day. I am passionate to write about evolving software tools and technologies and make it understandable for the end-user.