All Your Desktop Files Gone After Signing In? What to Do When Windows Signs You In With a Temporary Profile (Windows 11)

Sometimes after you sign in, the desktop is empty, the background is back to the default picture, and a message such as "You've been signed in with a temporary profile" appears. Windows could not load your user profile and signed you in with a temporary profile instead. Don't panic: in most cases your files are still there.
1. First check that your files are safe
- Open the C:\Users folder in File Explorer. If the Desktop, Documents and Pictures folders inside your account folder still contain your files, they are safe.
- Copy important files to an external drive or USB stick right away.
- Files you create in the temporary profile disappear when you sign out, so do not work there.
2. Try restarting
- Profile files can be locked briefly right after an update or during an antivirus scan, so restarting once or twice sometimes brings your profile back.
3. Fix the profile link in the registry (advanced)
A wrong change can make signing in even harder, so back up first with File → Export in Registry Editor. You need administrator rights.
- Press Win + R, open
regeditand go toHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList. - Among the keys starting with S-1-5-21, find the one whose ProfileImagePath is your folder (for example, C:\Users\YourName).
- If there is a second key with the same name ending in .bak, the .bak one is your original profile. Add .tmp to the end of the key without .bak, and remove .bak from the other key's name.
- Select your original profile key and set RefCount and State to 0 (leave them alone if they do not exist).
- Do not delete or change any other S-1-5 keys. Restart the PC.
4. If that fails: move to a new account
- The most reliable method Microsoft recommends is to create a new administrator account in Settings → Accounts → Other users, sign in with it, and copy your files over from the old profile folder.
- You will need to sign in again to email and browsers in the new account, but your files can be moved as they are.
Blog
- How to Block or Allow Internet Access for One Program: Windows Firewall Allowed Apps and Outbound Rules (Windows 10/11)
- Blank Icons or Missing Video Thumbnails in File Explorer? How to Rebuild the Icon Cache and Thumbnail Cache (Windows 11)
- How to Check That a Downloaded Program Is Genuine: File Hashes (certutil, Get-FileHash) and Digital Signatures (Windows 10/11)
- Does "Shut Down" Not Fully Shut Down? How to Turn Off Fast Startup and Do a Full Shutdown (Shift + Shut Down)
- Protecting Your Laptop When You Step Away, Part 2: How to Turn On a BitLocker Startup PIN (Windows 11 Pro)
- Can't Delete a File Because "It Is Open in Another Program"? Find What Is Locking It With Resource Monitor (Windows 10/11)
- "The Recycle Bin Is Corrupted" Error? How to Fix It by Resetting $Recycle.Bin (Windows 10/11)
- "Access Denied" When Opening a Folder? How to Take Ownership and Get Your Permissions Back (Windows 10/11)