Open in the explorer

Ignore custom consent settings

Ignorer les paramètres de consentement personnalisés

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Error Reporting › Consent FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rapport d’erreurs Windows › Consentement
Supported on
At least Windows Vista FR: Au minimum Windows Vista
ADMX file
ErrorReporting.admx
Internal name
ErrorReporting/WerConsentOverride_2

Explanation

This policy setting determines the behavior of the Configure Default Consent setting in relation to custom consent settings.

If you enable this policy setting, the default consent levels of Windows Error Reporting always override any other consent policy setting.

If you disable or do not configure this policy setting, custom consent policy settings for error reporting determine the consent level for specified event types, and the default consent setting determines only the consent level of any other error reports.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine le comportement du paramètre Configurer le consentement par défaut en relation avec les paramètres de consentement personnalisés.

Si vous activez ce paramètre de stratégie, les niveaux de consentement par défaut de Rapport d’erreurs Windows remplacent toujours tout autre paramètre de stratégie de consentement.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les paramètres de stratégie de consentement personnalisés pour les rapports d’erreurs déterminent le niveau de consentement pour les types d’événements spécifiés et le paramètre de consentement par défaut détermine uniquement le niveau de consentement de tous les autres rapports d’erreurs.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent
Value name
DefaultOverrideBehavior
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: ErrorReporting/WerConsentOverride_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DefaultOverrideBehavior' -Value 1 -Type DWord

Disable

# Disable: ErrorReporting/WerConsentOverride_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DefaultOverrideBehavior' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": ErrorReporting/WerConsentOverride_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent'
Remove-ItemProperty -Path $k -Name 'DefaultOverrideBehavior' -ErrorAction SilentlyContinue

Availability