Printable checklist

How to Fix "The User Profile Service Failed the Sign-In" and the Temporary Profile

"The User Profile Service failed the sign-in" means Windows gave up loading your profile and handed you a throwaway one at C:\Users\TEMP. Anything saved there dies at sign-out. Fix the ProfileList keys or rebuild the profile and copy the files back.

By 52runoob Editorial Team · 20 steps · Accounts & Online Services · Updated December 4, 2026

Back to the guide
  1. 1. Copy Files Off Before You Sign Out

    You are signed into `C:\Users\TEMP`, a scratch profile Windows built in seconds. Move any work file to `C:\` now, then sign out. The folder and its desktop are deleted with the session. Reference — [Microsoft Learn — BCD System Store…

  2. 2. Confirm You Really Are on TEMP

    Open File Explorer and paste `%USERPROFILE%` into the address bar. If it opens `C:\Users\TEMP`, you are on the throwaway profile. Write the real account name down. → [Microsoft Learn — Windows Recovery Environment (Windows…

  3. 3. Check Whether the Old Folder Exists

    Open `C:\Users` and look for the folder named after your account. Your files are there or they are not. If they are, this is a registry problem; if not, the profile was already removed. More on this: [Microsoft Learn —…

  4. 4. Check the Disk for Damage

    Run `chkdsk C: /f` from an elevated Command Prompt before you touch the registry. A profile hive fails to load when the sector holding `NTUSER.DAT` goes unreadable. If it reports errors, fix the drive first. Official reference —…

  5. 5. Sign In With Another Admin

    You need an account that does not depend on the broken profile. If there is none, enable the built-in Administrator from the Recovery command prompt with `net user administrator /active:yes`, set a password, then reboot. One working admin…

  6. 6. Export the ProfileList Key

    Run `regedit`, go to `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList`, right-click it and choose Export. Keep the .reg file on a USB stick. One wrong delete in this key locks out every user on the machine. Worth reading:…

  7. 7. Open the ProfileList Key

    Press `Win+R`, type `regedit`, and paste `HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList` into the address bar. You see one subkey per SID. Expand nothing yet. Reference — [Microsoft Learn — netdom…

  8. 8. Match a SID to Your Account

    Click each SID and read its `ProfileImagePath` value in the right pane. Write the full SID down. The entry ending in your username is yours, and guessing from the folder name breaks the wrong one. → [Microsoft Learn — Active Directory…

  9. 9. Look for the .bak Twin

    If you see the same SID twice, once with `.bak` appended, that is the classic symptom. Windows created a second entry when the original failed to load. That twin is usually the fix. More on this: [Microsoft Learn — Active Directory…

  10. 10. Rename the Keys, Do Not Delete

    Right-click the broken key and rename it to `<SID>.old`, then rename `<SID>.bak` to plain `<SID>`. If the rename option is greyed out, you are not running regedit as administrator. Reopen it elevated. Official reference — [Microsoft Learn…

  11. 11. Set State to Zero

    Open the surviving key and double-click `State`. Choose Decimal, set it to `0`, and confirm. A value of 4 or 32768 means Windows still thinks the profile is in transition or backed up, which causes the sign-in failure. Source: [Microsoft…

  12. 12. Set RefCount to Zero Too

    Do the same for `RefCount`: decimal, `0`. This counter tracks how many processes hold the hive open, and a leftover count makes Windows skip the profile. That lands you back on TEMP. Worth reading: [Microsoft Learn — chkdsk…

  13. 13. Reboot and Sign In Once

    Restart the PC and sign in with the repaired account, giving it a full minute and ignoring the black screen. If your wallpaper and icons return, the fix held. If TEMP appears again, the hive is damaged. Reference — [Microsoft Learn —…

  14. 14. Create a Fresh Local Account

    Open `Settings → Accounts → Other users → Add account` and create a local account without a Microsoft login. Sign in to it once so Windows builds the profile folder. This becomes your working account. → [Microsoft Learn —…

  15. 15. Copy the Old Folder With Robocopy

    From an admin Command Prompt run `robocopy C:\Users\OldName C:\Users\NewName /E /COPYALL /R:1 /W:1`. Those flags keep permissions and timestamps and stop it retrying locked files forever. Leave out `NTUSER.DAT` if it refuses to copy. More…

  16. 16. Reattach the Files to the New Account

    Sign in as the new account and check Desktop, Documents, and Pictures. If folders refuse to open, take ownership with `icacls C:\Users\NewName /grant NewName:(OI)(CI)F /T`. Do that once at the root. Official reference — [Microsoft Learn —…

  17. 17. Reinstall Only the Apps That Matter

    Programs installed for all users still launch. Apps that kept settings in the old profile start fresh, and that is normal. Reinstall only the ones that will not open, and sign back in to your sync clients first. Source: [Microsoft Learn —…

  18. 18. Delete the Broken Profile the Supported Way

    Go to `System Properties → Advanced → User Profiles → Settings`. Select the orphaned profile and click Delete. Doing it here removes the registry entry and the folder together, which is safer than deleting either one by hand. Worth…

  19. 19. Keep the Old Folder for a Week

    Rename `C:\Users\OldName` to `OldName_backup` and leave it alone. You will notice missing files for days. Delete it once you have opened the important documents and confirmed nothing is gone. Reference — [Microsoft Learn — Hard Drives and…

  20. 20. Stop When the Hive Keeps Failing

    If a freshly built profile also fails to load, stop building them. Each attempt leaves another broken folder behind. At that point the disk, not the profile, is the problem, and a clean install on a new drive is the honest answer. →…