If you do not want to allow users to log on with temporary profiles on Windows 11/10, follow this step-by-step guide to get it done. It is possible to block Windows 11/10 from logging users in with a temporary profile using the Registry Editor and the Local Group Policy Editor.
If Windows recognizes an issue while loading your user profile to let you log into your computer, it uses an alternative called temporary profiles. Every change you make in a temporary profile is transient, and everything gets deleted when you log off. However, if you do not want to let Windows 11/10 system to log you or any user with a temporary profile, here is how you can do it.
Do not logon users with Temporary Profiles on Windows 11/10
To set up the Do not logon users with temporary profile setting using the Local Group Policy Editor, follow these steps-
- Press Win+R to open the Run prompt.
- Type gpedit.msc and hit the Enter button.
- Navigate to User Profiles in Computer Configuration.
- Double-click on the Do not log users on with temporary profiles setting.
- Select the Enabled option.
- Click the OK button.
To get started, you have to open the Local Group Policy Editor on your computer. For that, press Win+R, type gpedit.msc
, and hit the Enter button. After that, navigate to the following path-
Computer Configuration > Administrative Templates > System > User Profiles
You can find a setting called Do not log users on with temporary profiles on your right-hand side. Double-click on it and select the Enabled option.
Click the OK button to save the change.
Read: You’ve been signed in with a Temporary Profile.
Prevent Windows from logging users with Temporary Profiles
To prevent Windows 11/10 from logging users on with temporary profiles using the Regsitry Editor, follow these steps-
- Press Win+R to display the Run prompt.
- Type regedit and hit the Enter button.
- Click the Yes option.
- Navigate to System in HKEY_LOCAL_MACHINE.
- Right-click on System > New > DWORD (32-bit) Value.
- Name it as ProfileErrorAction.
- Double-click on it to set the Value data as 1.
- Click the OK button.
You have to open the Registry Editor on your computer. For that, press Win+R, type regedit
, press the Enter button, select the Yes option. Once done, navigate to the following path-
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System
Right-click on the System key and select New > DWORD (32-bit) Value. Name it as ProfileErrorAction.
Following that, double-click on this REG_DWORD value and enter 1 as the Value data.
Click the OK button to save the change.
That’s all!
Read: The User Profile Service failed the logon, User profile cannot be loaded.