Display Shutdown Event Tracker: registry value ShutdownReasonOn and 1 moreComputerHKLM\Software\Policies\Microsoft\Windows NT\Reliability

Policy ID
ShutdownReason
Scope
Computer Configuration
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System

Registry

ShutdownReasonOn

REG_DWORDComputer
Enabled value
1
Disabled value
0
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Reliability]

; Options (use only one)
; Enabled
"ShutdownReasonOn"=dword:00000001
; Disabled
"ShutdownReasonOn"=dword:00000000
CMD
:: Options (use only one)

:: Enabled
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 1 /f
:: Disabled
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Force | Out-Null

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonOn' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonOn' -PropertyType DWord -Value 0 -Force | Out-Null

ShutdownReasonUI

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Shutdown Event Tracker should be displayed:
Options
ItemStored value
Always1
Workstation Only2
Server Only3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Reliability]

; Options (use only one)
; Always
"ShutdownReasonUI"=dword:00000001
; Workstation Only
"ShutdownReasonUI"=dword:00000002
; Server Only
"ShutdownReasonUI"=dword:00000003
CMD
:: Options (use only one)

:: Always
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 1 /f
:: Workstation Only
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 2 /f
:: Server Only
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Force | Out-Null

# Options (use only one)
# Always
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 1 -Force | Out-Null
# Workstation Only
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 2 -Force | Out-Null
# Server Only
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 3 -Force | Out-Null