Customize consent settings: registry value WerConsentCustomize_2 (HKLM Consent)ComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent

Policy ID
WerConsentCustomize_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 › Consent

Registry

(list values)

REG_SZComputer
Enabled value
Depends on the option value
Element
Customize consent settings
Value type
REG_SZ
Add to existing value
true
Explicit value name
true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent]
"<enter name>"="<enter value>"
CMD
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent" /v "<enter name>" /t REG_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent' -Name '<enter name>' -PropertyType String -Value '<enter value>' -Force | Out-Null