エラーの通知を表示する のレジストリ値 ShowUIコンピューターHKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting
- ポリシー ID
- PCH_ShowUI
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Server 2003 と Windows XP のみ
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Windows エラー報告
レジストリ
ShowUI
REG_DWORDコンピューター- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting] ; 選択項目 (1 つだけ使用) ; 有効 "ShowUI"=dword:00000001 ; 無効 "ShowUI"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "ShowUI" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "ShowUI" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'ShowUI' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'ShowUI' -PropertyType DWord -Value 0 -Force | Out-Null
DWAllowHeadless
REG_DWORDコンピューター- 有効時の値
- 0
- 無効時の値
- 1
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW] ; 選択項目 (1 つだけ使用) ; 有効 "DWAllowHeadless"=dword:00000000 ; 無効 "DWAllowHeadless"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW" /v "DWAllowHeadless" /t REG_DWORD /d 0 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW" /v "DWAllowHeadless" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW' -Name 'DWAllowHeadless' -PropertyType DWord -Value 0 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW' -Name 'DWAllowHeadless' -PropertyType DWord -Value 1 -Force | Out-Null