There may be various issues that cause trouble logging in to Windows 11/10. Previously, we discussed the fix for the failure of Group Policy Client Service while logging in. Today, we’ll discuss the temporary potential corrupted User Profile. This issue comes into play when you don’t log in to Windows using the correct user path directory.
Why have I been logged in with a temporary profile?
Logging in with a temporary profile usually indicates an issue with your user profile. Common reasons include a corrupted or inconsistent user profile. This can prevent your settings and data from being loaded correctly, causing Windows to sign you in temporarily.
You’ve been signed in with a temporary profile in Windows 11/10
When you’re logged in with a temporary profile, a notification on the right side of the taskbar keeps popping up:
Since you’re warned that you’re on a temporary profile, every file operation you perform will be nullified at the next sign-in. But what if you get the same issue during the next sign-in? If you are the administrator of the system facing this issue, you can apply the registry method discussed below to resolve this problem:
1] Using Registry Editor
First, create a system restore point. Next backup all your data.
Then, do the following.
1. Press Windows Key + R combination, type put Regedit in Run dialog box and hit Enter to open the Registry Editor.
2. Navigate to the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
3. Under the hood of ProfileList key, you’ll find the subkeys specific to a profile, see in the above screenshot.
For example, I found mine to be S-1-5-21-2944774474-1080414133-2956492554-1001.
You’ll have these long subkeys, each one for every one of your User Accounts. For instance, if you have three User Accounts, you will see three such long subkeys. The long names are the SIDs or the Security Identifiers for each profile name.
All you need to do is make sure the expandable registry string (REG_EXPAND_SZ) named ProfileImagePath in the right pane of these keys exists and linked properly to the correct user account folder. If you find that this is not the case, just point it to correct the location.
Eg. It should be something like C:\Users\<username>. Check for all the user names.
Usually, the profile that is creating problems, will create a SID with a .bak extension. In such a case, you may have to: correct the ProfileImagePath for the .bak
- Delete the subkey for the created temporary profile
- Correct the ProfileImagePath for the .bak subkey. It will have the same SID as the subkey deleted above
- Rename the .bak key by just removing the .bak extension and keeping the same SID.
That’s it! Close the Registry Editor after making appropriate manipulations and reboot the machine to get the issue fixed.
If you have many user names and you know the User Profile that is giving you problems, type the following command in an elevated CMD window and hit Enter to get the SID for the specific user name.
wmic useraccount where (name='username') get name,sid
Here in the place of username, enter the particular user name.
Read: Please wait for the User Profile Service takes too long in Windows
If this does not work for you, restore your computer back to the created restore point and or restore your backed up registry.
Related: We can’t sign in to your account message in Windows
2] Try ReProfiler
There is one more thing you can try. ReProfiler is a freeware for manipulating User Profiles on Windows 11/10/Server & useful if you are unable to access a User’s data and settings. See if this tool helps you.
Read: Do not logon users with Temporary Profiles on Windows
3] Check Event Viewer
If you need to troubleshoot further, you can Run eventvwr.msc to open Event Viewer. Expand Windows Logs and Application entry. Here, under Application, you will get the error logs under Event ID 1511 which are pertaining to User Profile errors.
Related: User Profile Service failed the logon, User profile cannot be loaded.
I hope you find the fix useful!
How to get rid of a Temp Profile?
To remove a temp profile, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
in the Registry Editor. Identify and delete any SID keys ending with “.bak”. Ensure all remaining SID keys have accurate ProfileImagePath values. Restart your computer to apply changes.
Why is my Microsoft account Temporary Profile?
Your Microsoft account may show a temporary profile due to corruption issues like a bad update or an improper shutdown. To avoid data loss, it is recommended that you perform a full backup before making changes to your operating system.
How do I disable Temporary Profile?
To disable a temporary profile on Windows, go to Control Panel > System > Advanced System Settings. Click on Settings under the User Profiles section. Locate the temporary profile, select it, and click Delete. Restart your PC to apply the changes and create a new user profile.