エラー報告のアーカイブを構成する のレジストリ値 DisableArchive ほか 2 件 (HKLM Windows Error Reporting)コンピューターHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting

ポリシー ID
WerArchive_2
適用対象
コンピューターの構成
サポートされるバージョン
Windows Vista 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Windows エラー報告 › 詳細エラー報告の設定

レジストリ

DisableArchive

REG_DWORDコンピューター
有効時の値
0
無効時の値
1
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting]

; 選択項目 (1 つだけ使用)
; 有効
"DisableArchive"=dword:00000000
; 無効
"DisableArchive"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "DisableArchive" /t REG_DWORD /d 0 /f
:: 無効
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "DisableArchive" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'DisableArchive' -PropertyType DWord -Value 0 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'DisableArchive' -PropertyType DWord -Value 1 -Force | Out-Null

ConfigureArchive

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
アーカイブ動作:
オプション
項目保存される値
すべてを保存する2
パラメーターのみを保存する1
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting]

; 選択項目 (1 つだけ使用)
; すべてを保存する
"ConfigureArchive"=dword:00000002
; パラメーターのみを保存する
"ConfigureArchive"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: すべてを保存する
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "ConfigureArchive" /t REG_DWORD /d 2 /f
:: パラメーターのみを保存する
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "ConfigureArchive" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# すべてを保存する
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'ConfigureArchive' -PropertyType DWord -Value 2 -Force | Out-Null
# パラメーターのみを保存する
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'ConfigureArchive' -PropertyType DWord -Value 1 -Force | Out-Null

MaxArchiveCount

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
保存する報告の最大数:
値の種類
REG_DWORD
最大値
5000
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting]

; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください
"MaxArchiveCount"=dword:<値を入力>
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "MaxArchiveCount" /t REG_DWORD /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください

New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MaxArchiveCount' -PropertyType DWord -Value '<値を入力>' -Force | Out-Null