Visualizza Individuazione evento di arresto: valore del Registro di sistema ShutdownReasonOn e altri 1ComputerHKLM\Software\Policies\Microsoft\Windows NT\Reliability

ID criterio
ShutdownReason
Ambito
Configurazione computer
Supportato in
Almeno Windows Server 2003 o Windows XP Professional
Origine
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
Categoria
Sistema

Registro

ShutdownReasonOn

REG_DWORDComputer
Valore abilitato
1
Valore disabilitato
0
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Abilitato
"ShutdownReasonOn"=dword:00000001
; Disabilitato
"ShutdownReasonOn"=dword:00000000
CMD
:: Opzioni (usarne solo una)

:: Abilitato
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 1 /f
:: Disabilitato
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Force | Out-Null

# Opzioni (usarne solo una)
# Abilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonOn' -PropertyType DWord -Value 1 -Force | Out-Null
# Disabilitato
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonOn' -PropertyType DWord -Value 0 -Force | Out-Null

ShutdownReasonUI

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Individuazione evento di arresto deve essere visualizzato:
Opzioni
VoceValore memorizzato
Sempre1
Solo nelle workstation2
Solo nei server3
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opzioni (usarne solo una)
; Sempre
"ShutdownReasonUI"=dword:00000001
; Solo nelle workstation
"ShutdownReasonUI"=dword:00000002
; Solo nei server
"ShutdownReasonUI"=dword:00000003
CMD
:: Opzioni (usarne solo una)

:: Sempre
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 1 /f
:: Solo nelle workstation
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 2 /f
:: Solo nei server
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Force | Out-Null

# Opzioni (usarne solo una)
# Sempre
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 1 -Force | Out-Null
# Solo nelle workstation
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 2 -Force | Out-Null
# Solo nei server
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 3 -Force | Out-Null