Policy
Do not log users on with temporary profiles
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows2000, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
This policy setting will automatically log off a user when Windows cannot load their profile. If Windows cannot access the user profile folder or the profile contains errors that prevent it from loading, Windows logs on the user with a temporary profile. This policy setting allows the administrator to disable this behavior, preventing Windows from loggin on the user with a temporary profile. If you enable this policy setting, Windows will not log on a user with a temporary profile. Windows logs the user off if their profile cannot be loaded. If you disable this policy setting or do not configure it, Windows logs on the user with a temporary profile when Windows cannot load their user profile. Also, see the "Delete cached copies of roaming profiles" policy setting.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\System\ProfileErrorAction | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAdd the Administrators security group to roaming user profilesAt least Windows Server 2003 operating systems or Windows XP Professional
- UserConnect home directory to root of the shareWindows Server 2003, Windows XP, and Windows 2000 only
- ComputerControl slow network connection timeout for user profilesAt least Windows 2000
- ComputerDelete cached copies of roaming profilesAt least Windows 2000
- ComputerDelete user profiles older than a specified number of days on system restartAt least Windows Vista
- ComputerDisable detection of slow network connectionsAt least Windows 2000
- ComputerDo not check for user ownership of Roaming Profile FoldersAt least Windows Server 2003 operating systems, Windows XP Professional Service Pack 1, or Windows 2000 Service Pack 4
- ComputerDo not forcefully unload the users registry at user logoffAt least Windows Vista
- ComputerDownload roaming profiles on primary computers onlyAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerEstablish timeout value for dialog boxesWindows Server 2003, Windows XP, and Windows 2000 only
- UserExclude directories in roaming profileAt least Windows 2000
- ComputerLeave Windows Installer and Group Policy Software Installation DataAt least Windows Server 2003 operating systems with SP1 or Windows XP Professional with SP2