Corrupt User Profile in Windows? How to Fix It

A corrupt user profile can show up as "The User Profile Service failed the sign-in", a temporary profile with your desktop and settings gone, or a profile that crashes at sign-in. Your files are normally still on the drive. The safest fix is to create a new account and move your files. This guide shows how, and warns you where a step can lose data.
Before you start: do not save new work while signed in with a temporary profile, because it is deleted when you sign out.
Step-by-step: fix the profile
Step 1: Restart and sign in again
Restart the PC and sign in. A temporary problem can fix itself. If you see a message that you are signed in with a temporary profile, any changes you make will be lost. To confirm, open Event Viewer > Windows Logs > Application and look for User Profile Service events such as 1511 (a temporary profile was used) or 1515 (the profile was backed up). If the same log also shows event 1530, read Event ID 1530 and registry files still in use. You should see your normal desktop after the restart. If you still see a temporary profile, go on.
Step 2: Back up your files
If you can sign in to another account, or use Safe Mode, copy your files from C:\Users\YourName to an external drive (see how to back up your Windows PC). Do this before anything else, because the later steps change the system. You should see the same folders and file counts on the external drive. If the drive makes clicking noises or copying fails halfway, stop and read how to check your hard drive or SSD health first.
Step 3: Create a new account
Sign in to another administrator account, or start in Safe Mode, and open Settings > Accounts > Other users > Add account. Make the new account an administrator: select it, choose Change account type and pick Administrator. If you sign in with a Microsoft account, you need the internet and that account’s password for the new profile. On a PC that other people also use, read how to tidy up without removing other accounts’ files before you change anything. You should see the new account listed under Other users.
Step 4: Test the new account
Sign out and sign in to the new account. If it works, the problem is in the old profile, and you can move to the new one. If the new account fails too, the cause is wider than one profile, so go to Step 7. If only your PIN fails on the new account, see how to fix a PIN that is not available.
Step 5: Copy your files to the new profile
In File Explorer, open the old profile at C:\Users\OldName and copy Desktop, Documents, Downloads, Pictures, Music and Videos into the same folders in the new profile. Copy, do not move, so the originals stay as a backup. Do not copy the hidden NTUSER.DAT file or the whole AppData folder, because copying them can bring the damage with you. The two user registry files are explained in NTUSER.DAT and UsrClass.dat. To see what the AppData folder holds and what is safe to delete, read what the AppData folder holds and what is safe to delete. If a folder says you need permission, select Continue as an administrator. If Windows keeps saying "You need permission to perform this action", see how to fix the permission error. You should see the same number of files in the new folders as in the old ones. If OneDrive manages these folders, check that its files are set to download to this PC, or they may copy as empty placeholders.
Step 6: Set up programs and settings again
Sign in to your apps again and restore settings. Browsers can sync many settings and bookmarks if you sign in to your account. Reinstall programs that only worked in the old profile.
Step 7: Repair Windows
Open Terminal (Admin) and run these two commands, one after the other:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
For what the results mean, see how to repair Windows system files. Then check the drive without changing it:
chkdsk C: /scan
You should see a summary that says Windows scanned the file system and found no problems. If it reports errors, back up first. Run chkdsk C: /f only after your files are copied and the drive’s health looks fine (see how to check your hard drive or SSD health). Profiles can break because of drive errors or an interrupted update, and repair scans on a failing drive can make recovery harder.
Step 8: Optional: confirm the diagnosis (look only, change nothing)
If you want to confirm that the profile entry is the problem, you can look at the profile list without changing it. Before you open the Registry Editor, back up the registry: choose File > Export and save a copy somewhere safe. Then open the Registry Editor, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList and look for two entries with the same long name, one ending in .bak. Seeing that pair matches the temporary-profile symptom. Close the Registry Editor without editing anything: editing these keys by hand can stop every account from signing in, so use the new-account route in Steps 3 to 6 instead. If other symptoms do not match, check which symptoms point to the registry before going further.
Step 9: If nothing works
Use System Restore, or reset Windows 11 with the option to keep your files. Both are bigger steps, so make sure Step 2 is done first. If your drive is encrypted, have your BitLocker key ready (see where to find your BitLocker recovery key). If the registry is part of the damage, try the safe registry repair order first.
More help
For more sign-in and account fixes, search by symptom in the PC repair guides on PC Repair Atlas. If you simply forgot your password, see how to reset a forgotten Windows 11 password.
FAQ
Did I lose my files? Usually not. They stay in the old profile folder.
Can a Windows update corrupt a profile? It can, especially after an interrupted update or a drive error.
Do I need to delete the old profile? Not until you have moved everything you need and checked it in the new account.