Deny logoff of an administrator logged in to the console session

Policy ID
TS_FORCIBLE_LOGOFF
Scope
Computer Configuration
Supported on
At least Windows XP and Windows Server 2003 only
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Remote Desktop Services › Remote Desktop Session Host › Connections

Description

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

ComputerHKEY_LOCAL_MACHINE
  • fDisableForcibleLogoffREG_DWORD

Other policies in the same category

View all policies in this category (12)