Afsluitgebeurtenis vastleggen weergeven: registerwaarde ShutdownReasonOn en 1 meerComputerHKLM\Software\Policies\Microsoft\Windows NT\Reliability
- Beleids-ID
- ShutdownReason
- Bereik
- Computerconfiguratie
- Ondersteund op
- Minimaal Windows Server 2003 besturingssystemen of Windows XP Professional
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Systeem
Register
ShutdownReasonOn
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows NT\Reliability Huidige sleutel
- Waarde bij ingeschakeld
- 1
- Waarde bij uitgeschakeld
- 0
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Reliability] ; Opties (gebruik er maar één) ; Ingeschakeld "ShutdownReasonOn"=dword:00000001 ; Uitgeschakeld "ShutdownReasonOn"=dword:00000000
CMD
:: Opties (gebruik er maar één) :: Ingeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 1 /f :: Uitgeschakeld reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonOn" /t REG_DWORD /d 0 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Force | Out-Null # Opties (gebruik er maar één) # Ingeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonOn' -PropertyType DWord -Value 1 -Force | Out-Null # Uitgeschakeld New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonOn' -PropertyType DWord -Value 0 -Force | Out-Null
ShutdownReasonUI
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows NT\Reliability Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Afsluitgebeurtenis vastleggen weergeven:
| Item | Opgeslagen waarde |
|---|---|
| Altijd | 1 |
| Alleen werkstation | 2 |
| Alleen server | 3 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Reliability] ; Opties (gebruik er maar één) ; Altijd "ShutdownReasonUI"=dword:00000001 ; Alleen werkstation "ShutdownReasonUI"=dword:00000002 ; Alleen server "ShutdownReasonUI"=dword:00000003
CMD
:: Opties (gebruik er maar één) :: Altijd reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 1 /f :: Alleen werkstation reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 2 /f :: Alleen server reg add "HKLM\Software\Policies\Microsoft\Windows NT\Reliability" /v "ShutdownReasonUI" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Force | Out-Null # Opties (gebruik er maar één) # Altijd New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 1 -Force | Out-Null # Alleen werkstation New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 2 -Force | Out-Null # Alleen server New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Reliability' -Name 'ShutdownReasonUI' -PropertyType DWord -Value 3 -Force | Out-Null