Open in the explorer

Configure Default consent

Configurer le consentement par défaut

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Windows Error Reporting › Consent FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Rapport d’erreurs Windows › Consentement
Supported on
Windows 8.1, Windows 8, Windows 7, and Windows Vista only FR: Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
ADMX file
ErrorReporting.admx
Internal name
ErrorReporting/WerDefaultConsent_1

Explanation

This policy setting determines the default consent behavior of Windows Error Reporting.

If you enable this policy setting, you can set the default consent handling for error reports. The following list describes the Consent level settings that are available in the pull-down menu in this policy setting:

- Always ask before sending data: Windows prompts users for consent to send reports.

- Send parameters: Only the minimum data that is required to check for an existing solution is sent automatically, and Windows prompts users for consent to send any additional data that is requested by Microsoft.

- Send parameters and safe additional data: the minimum data that is required to check for an existing solution, along with data which Windows has determined (within a high probability) does not contain personally-identifiable information is sent automatically, and Windows prompts the user for consent to send any additional data that is requested by Microsoft.

- Send all data: any error reporting data requested by Microsoft is sent automatically.

If this policy setting is disabled or not configured, then the consent level defaults to the highest-privacy setting: Always ask before sending data.

French text from Windows 11 26H2

Ce paramètre de stratégie détermine le comportement de consentement par défaut de Rapport d’erreurs Windows.

Si vous activez ce paramètre de stratégie, vous pouvez définir le comportement de consentement par défaut pour les rapports d’erreurs. La liste qui suit décrit les paramètres de niveau de consentement disponibles dans le menu déroulant de ce paramètre de stratégie :

- Toujours demander avant d’envoyer des données : Windows demande à l’utilisateur de confirmer l’envoi de rapports.

- Envoyer les paramètres : seules les données minimales requises pour vérifier l’existence d’une solution sont envoyées automatiquement et Windows demande aux utilisateurs de confirmer l’envoi des données complémentaires demandées par Microsoft.

- Envoyer les paramètres et des données complémentaires sécurisées : les données minimales requises pour vérifier l’existence d’une solution, ainsi que les données que Windows a évalué (avec une forte probabilité) comme ne contenant pas d’informations d’identification personnelle sont envoyées automatiquement et Windows demande à l’utilisateur de confirmer l’envoi des données complémentaires demandées par Microsoft.

- Envoyer toutes les données : toutes les données de rapport d’erreur demandées par Microsoft sont envoyées automatiquement.

Si ce paramètre de stratégie est désactivé ou n’est pas configuré, le niveau de consentement prévoyant le plus haut niveau de confidentialité est utilisé par défaut : Toujours demander avant d’envoyer des données.

Registry

HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

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/WerDefaultConsent_1
$k = 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting\Consent'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Consent level
# Possible options:
#   Always ask before sending data = 1
#   Send parameters = 2
#   Send parameters and safe additional data = 3
#   Send all data = 4
Set-ItemProperty -Path $k -Name 'DefaultConsent' -Value 1 -Type DWord

Disable

# Disable: ErrorReporting/WerDefaultConsent_1
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Consent levelNiveau de consentementWerConsentDrop-down listenumDefaultConsentREG_DWORD
Required
LabelValue
Always ask before sending dataREG_DWORD = 1
Send parametersREG_DWORD = 2
Send parameters and safe additional dataREG_DWORD = 3
Send all dataREG_DWORD = 4

Availability