Configure Report Archive: registry value DisableArchive and 2 more (HKLM Windows Error Reporting)ComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting

Policy ID
WerArchive_2
Scope
Computer Configuration
Supported on
At least Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Error Reporting › Advanced Error Reporting Settings

Registry

DisableArchive

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

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

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

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

# Options (use only one)
# Enabled
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'DisableArchive' -PropertyType DWord -Value 0 -Force | Out-Null
# Disabled
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'DisableArchive' -PropertyType DWord -Value 1 -Force | Out-Null

ConfigureArchive

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Archive behavior:
Options
ItemStored value
Store all2
Store parameters only1
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Store all
"ConfigureArchive"=dword:00000002
; Store parameters only
"ConfigureArchive"=dword:00000001
CMD
:: Options (use only one)

:: Store all
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "ConfigureArchive" /t REG_DWORD /d 2 /f
:: Store parameters only
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "ConfigureArchive" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Force | Out-Null

# Options (use only one)
# Store all
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'ConfigureArchive' -PropertyType DWord -Value 2 -Force | Out-Null
# Store parameters only
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'ConfigureArchive' -PropertyType DWord -Value 1 -Force | Out-Null

MaxArchiveCount

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Maximum number of reports to store:
Value type
REG_DWORD
Maximum value
5000
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"MaxArchiveCount"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v "MaxArchiveCount" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

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 '<enter value>' -Force | Out-Null