User profile is corrupted and settings disappear after logging in
Candidate causes for the “temporary profile” symptom include user profile registry or file corruption, disk errors, etc. Check in order, starting with Step 1, ‘Check if it is a temporary profile and see if the original file remains.’
First, check that this guide matches your problem
Do you have these symptoms?
- Temporary profile
- Account profile corruption
- Desktop settings disappeared
- user profile service failed
Common causes
- User profile registry or file corruption
- Disk error
How to fix
4 steps, 1 hr 10 min–3 hr 15 min in total. The easiest checks come first, so stop as soon as the problem is fixed.
When you sign in with a temporary profile, the desktop and settings look empty, but your original files often remain in your original folder under C:\Users. Files saved to the temporary profile may be deleted when you sign out.
- Check whether a "You've been signed in with a temporary profile" notice appeared after sign-in, and whether entering %USERPROFILE% in the File Explorer address bar opens C:\Users\TEMP.
- Open C:\Users and see whether files are still in Desktop and Documents inside the folder with your original account name.
- While on the temporary profile, don't save new files to the desktop; copy any files you need to a USB drive or another drive.
What to check
If the files are in the original folder, check the disk and then repair the profile or move to a new account. If the original folder is empty or won't open, check the disk first.
Did this step fix it?
If file system errors prevent reading the profile file (NTUSER.DAT), Windows signs you in with a temporary profile. If the disk is the cause, fixing only the profile may not last.
- Run
chkdsk C: /scanin an administrator terminal for an online scan. - If errors are found, run chkdsk C: /f, press Y when asked to check at the next restart, and restart. Don't turn off the power during the check.
- After the check, also run
sfc /scannowonce to verify system files used by the profile service.
chkdsk C: /scansfc /scannowWhat to check
If you can sign in to the original profile after the check, it's fixed. If it's still a temporary profile, go to the next step. If errors keep appearing, back up and consider replacing the disk first.
Did this step fix it?
Moving your data to a fresh profile is often safer and more reliable than repairing a damaged one.
- Tap Settings → Accounts → Other users → Add account, select ‘I don’t have sign-in information for this person’ → ‘Add a user without a Microsoft account’ to create a new local account. Windows 10 starts from Settings → Accounts → Family & other users.
- Tap the account you created and change it to Administrator in Change account type.
- Sign in to the new account and copy the contents of Desktop, Documents, Pictures, and Downloads from C:\Users\<old account> to the new account's folders. Don't copy hidden system files such as NTUSER.DAT.
- Move browser favorites and mail data with each program's export or sync feature, and don't delete the old folder until you've confirmed everything moved.
What to check
If the new account works normally, settle into it. If you must restore the old account, consider the registry repair in the next step.
Did this step fix it?
Advanced steps from here
These steps are hard to undo or involve working with hardware or system settings directly. If you are not confident, you can take your results so far to a repair service instead.
When loading a profile fails, Windows can rename the existing profile key with .bak and create a new key that points to a temporary profile. Correcting the keys sometimes lets you sign in to the original profile again.
- Sign in with another administrator account, press WinR and enter regedit, then back up the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList key first by right-clicking it → Export.
- Among the keys starting with S-1-5-21, find the one whose ProfileImagePath points to the old account folder, and see whether a key with the same name plus .bak also exists.
- If both exist, add .old to the end of the key without .bak, remove .bak from the other key, set its RefCount and State values to 0, and restart. If you're unsure, use step 3 instead.
What to check
If the original account signs in normally, it's fixed. If it's still a temporary profile, restore the keys from the exported .reg file and finish with the new-account migration in step 3.
Did this step fix it?
Frequently asked questions
Related problems
If the symptoms do not match exactly, please check the issue below.