Tech News Today
  • News
  • How To
  • Buyer’s Guide
  • Hardware
    • PC Builds
    • Computer Cases
    • Motherboards
    • Peripherals
    • RAM
  • Gaming
  • Software
  • More
    • Mobile
    • Gadgets
    • Laptops
    • Reviews
Facebook Twitter Instagram
Tech News Today
  • News
  • How To
  • Buyer’s Guide
  • Hardware
    • PC Builds
    • Computer Cases
    • Motherboards
    • Peripherals
    • RAM
  • Gaming
  • Software
  • More
    • Mobile
    • Gadgets
    • Laptops
    • Reviews
Tech News Today
Home»Windows»How to Fix “User Profile Service Failed the Sign In”

How to Fix “User Profile Service Failed the Sign In”

DeepBy DeepFebruary 22, 2022
How-to-Fix-User-Profile-Service-Failed-the-Sign-In

When logging into your account on Windows, the Operating System uses the user profile files in the C drive to load your Windows account. If these user profile files are corrupted, the OS cannot log in to your account. So, when the OS cannot access the desired user profile, we get the error message “The User Profile Service service failed the sign-in.”

The OS will prompt us to the sign-in screen when we get this error message. Here, we have options to sleep, restart, or shut down our computer. If we have another account and the OS can access its User Profile Service, we can log in to that account.

Now, let us see what causes this error and how to fix it.

What Causes “The User Profile Service service failed the sign-in” error?

This error is often because the OS is unable to access user profile files. Now let us see what stops the OS from accessing the required files.
  • Permission on default profile is changed
  • Incorrect values in the registry
  • Corrupted user profile files
  • Issue With Windows update
  • Error while managing partition
  • Antivirus may block a user profile file

How to Fix “The User Profile Service Service Failed the Sign-in” Error?

Now we know some complications in accessing the user profile files that cause this error; let’s see how we can fix these issues.

One simple solution can be using a different account to access Windows. If the computer has multiple user accounts, we can try logging in through another account. However, if the computer only has one account, you can follow these solutions to fix the problem.

To perform any of the solutions mentioned below, we need access to Windows. So, we will enter the account that we cannot access using Safe Mode. 

Entering Safe Mode

The OS uses the minimum number of drivers and resources to start in Safe mode. Therefore, using this feature, there is a high probability that we may be able to access the account.

Tip: If you have any issues that stop you from accessing Windows or Windows user accounts, we can use the Safe mode feature to bypass this error and try some solutions.

You can follow these processes to get in Safe mode.

  1. When you are in the Windows log-in screen, search for the power icon on the bottom-right section of the screen.
  2. Here, press and hold the Shift key and click on Restart.
  3. Once the computer restarts, go to Troubleshoot > Advanced Options > Startup Settings.
  4. Then, click on Restart.
    startup settings restart
  5. Once the computer restarts, select Enable Safe Mode with Networking. You can choose this by pressing 4 or 5, or F4 or F5. The computer will restart again. 

After the restart, log in to the account that causes the problem. You now should be able to access your files. However, there may be an error message warning that says, “We can’t sign in to your account.” Ignore this message by clicking Close.

When on Safe Mode, sometimes, the user cannot access the Start Menu. If this happens, we can use Task Manager to open tasks like Command Prompt and Registry Editor.

Run Startup Repair

The first thing you might want to try is using a feature named Startup Repair tool offered by Windows. The Startup Repair tool deals with any issue that comes up during the Operating System startup. 

This tool will fix any system corrupted files and user profile files. Therefore, the Startup Repair tool can fix any, if not most, problems within these files. You can follow these steps once you get the error message.

  1. Click on OK once you get the error message.
  2. It will prompt you to the sign-in screen. Here, click on the power icon. 
  3. Then, hold the Shift key and click on Restart simultaneously.
  4. Once the computer restarts, you will be sent to a blue screen that says Choose an option.
  5. Select Troubleshoot. Then, click on Advanced options.troubleshoot-advanced-options
  6. Here, select Startup Repair.startup-repair
  7. Wait for the computer to restart.
  8. Then, choose the user account which is causing the problem.
  9. Enter the password for this account.
  10. The computer will now start to diagnose your computer.
  11. If it displays “Startup Repair couldn’t repair your PC,” click on Shut down and continue with the following solutions mentioned below.

Create New Admin User

We can create a new admin user if we still cannot log in to the account despite running the System Repair. As we know, a corrupted user profile file can cause “The User Profile Service service failed the sign-in.” So, creating a new admin user will have new user profile files, which can fix the problem we face.

Please follow these steps to create a new admin user. 

  1. Open your computer in Safe Mode. Follow the steps mentioned in Entering Safe Mode.
  2. Press the Windows + R key and press Ctrl + Shift + Enter to open Command Prompt as administrator.
    cmd
  3. Type the following command and press Enter.
    net user /add <username> <password>
    add new user from command
  4. Replace <username> and <password> with any username and password respectively. The above command will add a new Windows user account.
  5. Again, type the following command and press Enter.
    net localgroup administrators <username> /addchange normal user to admin
  6. Replace <username> with previously created username. The above command will give administrative privilege to the account named <username>

If you still get the same message, “The User Profile Service service failed the sign-in” when creating a new user, we need to replace the NTUSER.DAT file. 

Replace NTUSER.DAT File

When the NTUSER.DAT file gets corrupted or missing, we will get the error message, “User profile cannot be loaded.” This file contains user profile settings, configurations, preferences, etc., and is located in C:\Users\Default. 

ntuser.dat file
Note: We need the file explorer to show the hidden item to locate this folder.

Whenever we create a new user account in Windows, the NTUSER.DAT file is copied to the new profile from the Default Profile folder. Therefore, if this file in the Default profile gets corrupted, all new user profiles will get the same error message.

Replacing the NTUSER.DAT file is fairly simple. Just copy the NTUSER.DAT file from any other account from C:\Users, preferably Guest, then paste it inside the user profile folder causing the issue. 

Change User Profile Registry Values

The Registry in Windows is like a database that stores the Operating System’s necessary information to configure the system settings for users’ profiles, applications, and hardware. 

These registry values are very sensitive as a change in the wrong value can cause the OS to perform poorly. Therefore, please read every step carefully beforehand and do not change any unnecessary registry values.

You can follow these steps to change the user profile registry values.

  1. Open your computer in Safe Mode. You can follow the steps mentioned in Entering Safe Mode
  2. Once you are in Safe Mode, press the Ctrl + Alt + Del key simultaneously.
  3. Select Task Manager.
  4. Then, click on File and select Run new task.run-new-task
  5. Type “Regedit” without quotation mark and check Create this task with administrative privileges. Press Enter.
  6. Now, navigate toComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileListprofile-list
  7. Once you expand ProfileList, you will see a list of folder with a set of number, this is the SID (Security Identifier) of all the users account. Read How to Determine the SID of a User Account to know the SID of the user account that gives the error message.
  8. Locate the user account folder that is causing the error with the SID.
  9. There should be two folder with the same SID. You can see that these one folder has a .bak extension. bak-extension
  10. Now, we need to exchange their names. Rename the folder that has no extension by adding .bak at the end and rename the next folder by removing the extension .bak.
  11. Once we have renamed these two files, double-click on the folder that has no extension. 
  12. On the right panel, right-click on State and select Modify.
  13. Set Value data as 0, then press OK.edit-dword
  14. To save the value that we just changed, restart your computer.
  15. If you cannot press the Start menu, open the Task Manager and click on the power icon to restart.

After the restart is complete, try logging into the user profile that showed the error message. If you can log in without any issue, the problem is solved. However, Windows may still give you an error message saying, “We can’t sign in to your account.” If so, we can follow these steps to resolve them.

  1. Follow the above steps to open Registry till step 6.
  2. Double-click on the folder that has the same SID without .bak extension.
  3. On the right panel, right-click State and select Modify.
  4. Again, set the Value data to 0, then click OK.
  5. Restart your computer to save changes.

Once the computer restarts, the OS may prompt you to a screen that says, “Choose privacy settings for your device.” Choose your desired privacy settings and click on Accept.

Once you complete all these steps, the computer should go back to normal.

How to Determine the SID of User Account?

To know the Security Identifier of a user account, please follow these steps.

  1. Press the Windows Key + R simultaneously.
  2. Type “cmd“ and press Ctrl + Shift + Enter to open Command Prompt as administrator.
  3. type the following command and press Enter.
    wmic useraccount get domain,name,sidlist of user command
  1. This command will display the domain name, account name and SID of all user account.

Perform a System Restore

Performing a System Restore will revert all your computer’s application and registry values to a point where you created a Restore Point. A Restore point is basically a picture of your computer settings that the Operating System uses to undo previous settings. 

That being said, we can only perform a System Restore if, previously, we created a System Restore Point.

To perform a System Restore, you can follow these steps.

  1. Press the Windows + R key.
  2. Type “rstrui.exe” without quotation marks and press Enter.
  3. Once the System Restore dialog box opens, click on Next.system-restore-point
  4. Select a restore point, then click on Next.system-restore-point-date
  5. Click Finish. Then select Yes.confirm-restore-point

The system will restart, reverting all system settings, applications, and any changes in Registry values.

Reset PC

If none of the above-mentioned solutions work, we may have to reset our PC. Resetting the Operating System will install a fresh set of system files, including user profiles. 

Although this solution should be your last resort, it is most probable that resetting the PC will solve the issue with the User Profile Service.

To reset your PC, follow the steps mentioned below.

  1. In the Windows user profile selection screen, press the power icon on the lower-right side of the screen. 
  2. Press and hold the Shift key and click on Restart.
  3. Once the computer restarts, go to Troubleshoot > Reset this PC.reset-this-pic
  4. Click on Keep my files.
    keep my files
  5. Select Local reinstall. Click Next if it gives you any warning.
  6. Once the PC is ready to reset, click Reset.
fix
Deep

Deep Shrestha is an experienced content writer, front-end web developer, and hardware specialist. Using all this knowledge about computer hardware, he's on a quest to make content that's easy to read and understand for individuals who aren't tech-smart. Besides being a content writer, he's also a competitive/casual gamer.

Related Posts

change drive letter windows 10 11

How To Change A Drive Letter On Windows 10 Or 11

June 8, 2022
disable touch screen windows 11

How to Disable the Touchscreen on Windows 11?

June 8, 2022
enable virtualization windows 11

How to Enable Virtualization on Windows 11

June 7, 2022
how-to-open-file-location-on-windows-11-1

How to Open File Location on Windows 11

June 7, 2022
hibernate windows 11

How to Enable Hibernate in Windows 11?

June 7, 2022
powershell vs cmd

PowerShell VS CMD – What’s The Difference

June 7, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
fighting-games

11 Best Fighting Games on Steam

June 8, 2022
what-is-the-blue-circle-on-my-samsung

What Is the Blue Circle on My Samsung

June 8, 2022
should-i-use-wd-discovery

What Is WD Discovery? Should I Use It?

June 8, 2022
You may also like
how-to-clear-other-storage-on-iphone

How to Clear Other Storage on iPhone?

June 8, 2022
change drive letter windows 10 11

How To Change A Drive Letter On Windows 10 Or 11

June 8, 2022
how to reset imac without password

How to Reset iMac Without Password

June 8, 2022
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

October 25, 2021
Facebook Twitter Pinterest
  • Home
  • About Us
  • Privacy Policy
  • Affiliate Disclosure
© 2022 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.