List of applications to always report errors for
Liste des applications pour lesquelles toujours signaler les erreurs
Explanation
This policy setting specifies applications for which Windows Error Reporting should always report errors.
To create a list of applications for which Windows Error Reporting never reports errors, click Show under the Exclude errors for applications on this list setting, and then add or remove applications from the list of application file names in the Show Contents dialog box (example: notepad.exe). Errors that are generated by applications in this list are not reported, even if the Default Application Reporting Settings policy setting is configured to report all application errors.
If you enable this policy setting, you can create a list of applications that are always included in error reporting. To add applications to the list, click Show under the Report errors for applications on this list setting, and edit the list of application file names in the Show Contents dialog box. The file names must include the .exe file name extension (for example, notepad.exe). Errors that are generated by applications on this list are always reported, even if the Default dropdown in the Default application reporting policy setting is set to report no application errors.
If the Report all errors in Microsoft applications or Report all errors in Windows components check boxes in the Default Application Reporting policy setting are filled, Windows Error Reporting reports errors as if all applications in these categories were added to the list in this policy setting. (Note: The Microsoft applications category includes the Windows components category.)
If you disable this policy setting or do not configure it, the Default application reporting settings policy setting takes precedence.
Also see the ""Default Application Reporting"" and ""Application Exclusion List"" policies.
This setting will be ignored if the 'Configure Error Reporting' setting is disabled or not configured.
Ce paramètre de stratégie spécifie les applications pour lesquelles Rapport d’erreurs Windows doit toujours signaler les erreurs.
Pour créer une liste d’applications pour lesquelles Rapport d’erreurs Windows ne signale jamais les erreurs, cliquez sur Afficher sous le paramètre Exclure les erreurs pour les applications de cette liste, puis ajoutez ou supprimez des applications dans la liste des noms de fichiers d’application dans la boîte de dialogue Afficher le contenu (par exemple : notepad.exe). Les erreurs générées par les applications de cette liste ne sont pas signalées, même si le paramètre de stratégie Paramètres de rapport d’applications par défaut est configuré pour signaler toutes les erreurs des applications.
Si vous activez ce paramètre de stratégie, vous pouvez créer une liste des applications qui sont toujours incluses dans le rapport d’erreurs. Pour ajouter des applications à la liste, cliquez sur Afficher sous le paramètre Signaler les erreurs pour les applications de cette liste dans la boîte de dialogue Afficher le contenu. Les noms de fichier doivent inclure l’extension .exe (par exemple, notepad.exe). Les erreurs générées par les applications de cette liste sont toujours signalées, même si la liste déroulante Par défaut dans le paramètre de stratégie Rapport d’applications par défaut est paramétrée pour ne signaler aucune erreur des applications.
Si les cases à cocher Signaler toutes les erreurs dans les applications Microsoft ou Signaler toutes les erreurs dans les composants Windows dans le paramètre de stratégie Rapport d’applications par défaut sont activées, Rapport d’erreurs Windows signale les erreurs comme si toutes les applications dans ces catégories étaient ajoutées à la liste dans ce paramètre de stratégie. (Remarque : la catégorie Applications Microsoft inclut la catégorie Composants Windows.)
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, le paramètre de stratégie Paramètres de rapport d’applications par défaut est prioritaire.
Consultez également les stratégies « Rapport d’applications par défaut » et « Liste d’exclusion d’applications ».
Ce paramètre est ignoré si le paramètre « Configurer le rapport d’erreurs » est désactivé ou n’est pas configuré.
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_AllOrNoneInc
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\InclusionList'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Report errors for applications on this list
# Non-additive list: existing values of the key are cleared first
if (Test-Path -Path $k) { (Get-Item -Path $k).Property | ForEach-Object { Remove-ItemProperty -Path $k -Name ([WildcardPattern]::Escape($_)) -ErrorAction SilentlyContinue } }
$values = @('<value1>', '<value2>') # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }Disable
# Disable: ErrorReporting/PCH_AllOrNoneInc
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": ErrorReporting/PCH_AllOrNoneInc
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\InclusionList'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Report errors for applications on this list:Signaler les erreurs pour les applications de cette liste :PCH_AllOrNoneInc_List | List (table)list | Software\Policies\Microsoft\PCHealth\ErrorReporting\InclusionListNumbered values (1, 2, 3…) | REG_SZ (values under the key) |