Policy
Deny logoff of an administrator logged in to the console session
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: WindowsServer2003, WindowsXP
This policy setting determines whether an administrator attempting to connect remotely to the console of a server can log off an administrator currently logged on to the console. This policy is useful when the currently connected administrator does not want to be logged off by another administrator. If the connected administrator is logged off, any data not previously saved is lost. If you enable this policy setting, logging off the connected administrator is not allowed. If you disable or do not configure this policy setting, logging off the connected administrator is allowed. Note: The console session is also known as Session 0. Console access can be obtained by using the /console switch from Remote Desktop Connection in the computer field name or from the command line.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services\fDisableForcibleLogoff | 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.
- ComputerAllow remote start of unlisted programsWindowsServer2008
- ComputerAllow users to connect remotely by using Remote Desktop ServicesAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerAutomatic reconnectionAt least Windows Server 2003 operating systems or Windows XP Professional
- ComputerConfigure keep-alive connection intervalAt least Windows Server 2003
- ComputerLimit number of connectionsAt least Windows Server 2003
- ComputerRestrict Remote Desktop Services users to a single Remote Desktop Services sessionAt least Windows Server 2003
- ComputerSelect network detection on the serverAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerSelect RDP transport protocolsAt least Windows Server 2012, Windows 8 or Windows RT
- UserSet rules for remote control of Remote Desktop Services user sessionsWindows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, and Windows XP
- ComputerSet rules for remote control of Remote Desktop Services user sessionsWindows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows 7, Windows Vista, and Windows XP
- ComputerSuspend user sign-in to complete app registrationAt least Windows 8 Enterprise or Windows Server 2012
- ComputerTurn off Fair Share CPU SchedulingAt least Windows Server 2008 R2