Policy
Timeout for hung logon sessions during shutdown
Microsoft Windows
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista
This policy setting configures the number of minutes the system waits for the hung logon sessions before proceeding with the system shutdown. If you enable this policy setting, the system waits for the hung logon sessions for the number of minutes specified. If you disable or do not configure this policy setting, the default timeout value is 3 minutes for workstations and 15 minutes for servers.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Scope | Element | Type | Registry mapping | Constraints & behavior | Copy |
|---|---|---|---|---|---|
| Computer | Hung session timeout in Minutes: ID ShutdownSessionTimeout_Time | decimal | Path Software\Microsoft\Windows\CurrentVersion\Policies\System Value name ShutdownSessionTimeout Type REG_DWORD | None |