Open in the explorer

Automatically send memory dumps for OS-generated error reports

Envoyer automatiquement des images mémoire pour les rapports d’erreurs générés par le système d’exploitation

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Error Reporting FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rapport d’erreurs Windows
Supported on
Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1 only FR: Windows Server 2012 R2, Windows 8.1 ou Windows RT 8.1 uniquement
ADMX file
ErrorReporting.admx
Internal name
ErrorReporting/WerAutoApproveOSDumps_2

Explanation

This policy setting controls whether memory dumps in support of OS-generated error reports can be sent to Microsoft automatically. This policy does not apply to error reports generated by 3rd-party products, or additional data other than memory dumps.

If you enable or do not configure this policy setting, any memory dumps generated for error reports by Microsoft Windows are automatically uploaded, without notification to the user.

If you disable this policy setting, then all memory dumps are uploaded according to the default consent and notification settings.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle si des images mémoire peuvent être envoyées automatiquement à Microsoft en complément des rapports d’erreurs générés par le système d’exploitation. Cette stratégie ne s’applique pas aux rapports d’erreurs générés par des produits tiers, ou aux données supplémentaires autres que les images mémoire.

Si vous activez ou ne configurez pas ce paramètre de stratégie, toutes les images mémoire générées pour les rapports d’erreurs par Microsoft Windows sont automatiquement téléchargées, sans notification à l’utilisateur.

Si vous désactivez ce paramètre de stratégie, toutes les images mémoire sont téléchargées en fonction du consentement par défaut et des paramètres de notification.

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting
Value name
AutoApproveOSDumps
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/WerAutoApproveOSDumps_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AutoApproveOSDumps' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

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

Availability