Open in the explorer

Default application reporting settings

Paramètres de rapport d’applications par défaut

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Error Reporting › Advanced Error Reporting Settings FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rapport d’erreurs Windows › Paramètres de rapport d’erreurs avancés
Supported on
Windows Server 2003 and Windows XP only FR: Windows Server 2003 et Windows XP uniquement
ADMX file
ErrorReporting.admx
Internal name
ErrorReporting/PCH_AllOrNoneDef

Explanation

This policy setting controls whether errors in general applications are included in reports when Windows Error Reporting is enabled.

If you enable this policy setting, you can instruct Windows Error Reporting in the Default pull-down menu to report either all application errors (the default setting), or no application errors.

If the Report all errors in Microsoft applications check box is filled, all errors in Microsoft applications are reported, regardless of the setting in the Default pull-down menu. When the Report all errors in Windows check box is filled, all errors in Windows applications are reported, regardless of the setting in the Default dropdown list. The Windows applications category is a subset of Microsoft applications.

If you disable or do not configure this policy setting, users can enable or disable Windows Error Reporting in Control Panel. The default setting in Control Panel is Upload all applications.

This policy setting is ignored if the Configure Error Reporting policy setting is disabled or not configured.

For related information, see the Configure Error Reporting and Report Operating System Errors policy settings.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle si les erreurs des applications générales sont incluses dans les rapports lorsque Rapport d’erreurs Windows est activé.

Si vous activez ce paramètre de stratégie, vous pouvez indiquer à Rapport d’erreurs Windows (dans le menu déroulant Par défaut) de signaler toutes les erreurs des applications (paramètre par défaut) ou aucune erreur des applications.

Si la case à cocher Signaler toutes les erreurs dans les applications Microsoft est activée, toutes les erreurs dans les applications Microsoft sont signalées, sans tenir compte du paramètre dans le menu déroulant Par défaut. Lorsque la case à cocher Signaler toutes les erreurs dans les composants Windows est activée, toutes les erreurs dans les applications Windows sont signalées, sans tenir compte du paramètre dans la liste déroulante Par défaut. La catégorie Applications Windows est un sous-ensemble des applications Microsoft.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les utilisateurs peuvent activer ou désactiver Rapports d’erreurs Windows dans le Panneau de configuration. Le paramètre par défaut dans le Panneau de configuration est Télécharger toutes les applications.

Ce paramètre de stratégie est ignoré si le paramètre de stratégie Configurer le rapport d’erreurs est désactivé ou n’est pas configuré.

Pour plus d’informations, voir les paramètres de stratégie Configurer le rapport d’erreurs et Signaler les erreurs du système d’exploitation.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting
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/PCH_AllOrNoneDef
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Default
# Possible options:
#   Report all application errors = 1
#   Do not report any application errors = 0
Set-ItemProperty -Path $k -Name 'AllOrNone' -Value 1 -Type DWord
# Report all errors in Microsoft applications.
# unchecked: 0
Set-ItemProperty -Path $k -Name 'IncludeMicrosoftApps' -Value 1 -Type DWord
# Report all errors in Windows components.
# unchecked: 0
Set-ItemProperty -Path $k -Name 'IncludeWindowsApps' -Value 1 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": ErrorReporting/PCH_AllOrNoneDef
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
Remove-ItemProperty -Path $k -Name 'AllOrNone' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IncludeMicrosoftApps' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'IncludeWindowsApps' -ErrorAction SilentlyContinue

Options (3)

LabelControlRegistry valueREG typeConstraints / details
Default:Par défaut :PCH_AllOrNoneDef_ListDrop-down listenumAllOrNoneREG_DWORD
Default choice (UI): #0
LabelValue
Report all application errorsREG_DWORD = 1
Do not report any application errorsREG_DWORD = 0
Report all errors in Microsoft applications.Signaler toutes les erreurs dans les applications Microsoft.PCH_AllOrNoneIncMS_ChkCheck boxbooleanIncludeMicrosoftAppsREG_DWORD
Default (UI): true
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Report all errors in Windows components.Signaler toutes les erreurs dans les composants Windows.PCH_AllOrNoneWinComp_ChkCheck boxbooleanIncludeWindowsAppsREG_DWORD
Default (UI): true
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0

Availability