List of applications to never report errors for
Liste des applications pour lesquelles ne jamais signaler les erreurs
Explanation
This policy setting controls Windows Error Reporting behavior for errors in general applications when Windows Error Reporting is turned on.
If you enable this policy setting, you can create a list of applications that are never included in error reports. 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). File names must always include the .exe file name extension. 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 this policy setting is enabled, the Exclude errors for applications on this list setting takes precedence. If an application is listed both in the List of applications to always report errors for policy setting, and in the exclusion list in this policy setting, the application is excluded from error reporting. You can also use the exclusion list in this policy setting to exclude specific Microsoft applications or parts of Windows if the check boxes for these categories are filled in the Default application reporting settings policy setting.
If you disable or do not configure this policy setting, the Default application reporting settings policy setting takes precedence.
Ce paramètre de stratégie contrôle le comportement de Rapport d’erreurs Windows pour les erreurs dans les applications générales lorsque Rapport d’erreurs Windows est activé.
Si vous activez ce paramètre de stratégie, vous pouvez créer une liste des applications qui ne sont jamais incluses dans le rapport d’erreurs. Pour créer une liste d’applications pour lesquelles le Rapport d’erreurs Windows ne signale jamais d’erreurs, cliquez sur Afficher sous le paramètre Exclure les erreurs pour les applications sur cette liste, puis ajoutez ou supprimez des applications de la liste des noms de fichiers d’application dans la boîte de dialogue Afficher le contenu (par exemple : notepad.exe). Les noms de fichiers doivent toujours inclure l’extension de nom de fichier .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’application par défaut est configuré pour signaler toutes les erreurs d’application.
Si ce paramètre est activé, le paramètre Exclure les erreurs pour les applications sur cette liste est prioritaire. Si une application figure à la fois dans la liste des applications pour lesquelles toujours signaler les erreurs pour le paramètre de stratégie et dans la liste d’exclusion de ce paramètre de stratégie, l’application est exclue du rapport d’erreurs. Vous pouvez également utiliser la liste d’exclusion de ce paramètre de stratégie pour exclure des applications Microsoft spécifiques ou des parties de Windows si les cases à cocher de ces catégories sont activées dans le paramètre de stratégie Paramètres de rapport d’applications par défaut.
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.
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_AllOrNoneEx
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\ExclusionList'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Exclude 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_AllOrNoneEx
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": ErrorReporting/PCH_AllOrNoneEx
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\ExclusionList'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Exclude errors for applications on this list:Exclure les erreurs pour les applications de cette liste :PCH_AllOrNoneEx_List | List (table)list | Software\Policies\Microsoft\PCHealth\ErrorReporting\ExclusionListNumbered values (1, 2, 3…) | REG_SZ (values under the key) |