Open in the explorer

Turn off Windows Error Reporting

Désactiver Rapport d’erreurs Windows

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › Internet Communication Management › Internet Communication settings FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Gestion de la communication Internet › Paramètres de communication Internet
Supported on
At least Windows Server 2003 operating systems or Windows XP Professional FR: Au minimum Windows Server 2003 ou Windows XP Professionnel
ADMX file
ICM.admx
Internal name
ICM/PCH_DoNotReport

Explanation

This policy setting controls whether or not errors are reported to Microsoft.

Error Reporting is used to report information about a system or application that has failed or has stopped responding and is used to improve the quality of the product.

If you enable this policy setting, users are not given the option to report errors.

If you disable or do not configure this policy setting, the errors may be reported to Microsoft via the Internet or to a corporate file share.

This policy setting overrides any user setting made from the Control Panel for error reporting.

Also see the "Configure Error Reporting", "Display Error Notification" and "Disable Windows Error Reporting" policy settings under Computer Configuration/Administrative Templates/Windows Components/Windows Error Reporting.

French text from Windows 11 26H2

Ce paramètre de stratégie indique si les erreurs doivent être signalées à Microsoft.

La fonctionnalité Rapport d’erreurs est utilisée pour envoyer des informations sur un système ou une application qui ne répond plus ou présente des dysfonctionnements, et elle permet d’améliorer la qualité du produit.

Si vous activez ce paramètre de stratégie, les utilisateurs ne peuvent pas signaler les erreurs.

Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, les erreurs peuvent être signalées à Microsoft via Internet ou dans un partage de fichiers de votre entreprise.

Ce paramètre de stratégie remplace tous les paramètres utilisateur de rapport d’erreurs définis à partir du Panneau de configuration.

Consultez également les paramètres de stratégie « Configurer le rapport d’erreurs » et « Afficher les notifications d’erreur » dans Configuration de l’ordinateur/Modèles d’administration/Système/Rapport d’erreurs.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting
Value name
not defined in the ADMX
StateValue written
Enabled
KeyValueData
Software\Policies\Microsoft\PCHealth\ErrorReportingDoReportREG_DWORD = 0
Software\Policies\Microsoft\Windows\Windows Error ReportingDisabledREG_DWORD = 1
Disabled
KeyValueData
Software\Policies\Microsoft\PCHealth\ErrorReportingDoReportREG_DWORD = 1
Software\Policies\Microsoft\Windows\Windows Error ReportingDisabledREG_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: ICM/PCH_DoNotReport
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoReport' -Value 0 -Type DWord
$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 'Disabled' -Value 1 -Type DWord

Disable

# Disable: ICM/PCH_DoNotReport
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DoReport' -Value 1 -Type DWord
$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 'Disabled' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": ICM/PCH_DoNotReport
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
Remove-ItemProperty -Path $k -Name 'DoReport' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Error Reporting'
Remove-ItemProperty -Path $k -Name 'Disabled' -ErrorAction SilentlyContinue

Availability