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- 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- 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- 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- 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.