List of applications to be excluded
Liste d’applications à exclure
Explanation
This policy setting limits 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, 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. To remove an application from the list, click the name, and then press DELETE. If this policy setting is enabled, the Exclude errors for applications on this list setting takes precedence.
If you disable or do not configure this policy setting, errors are reported on all Microsoft and Windows applications by default.
Ce paramètre de stratégie limite 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 les rapports d’erreurs. Pour créer une liste d’applications pour lesquelles Rapport d’erreurs Windows ne signale jamais les erreurs, cliquez sur Afficher, 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 noms de fichiers doivent toujours inclure l’extension de nom de fichier .exe. Pour supprimer une application de la liste, cliquez sur son nom et appuyez sur la touche Supprimer. Si ce paramètre de stratégie est activé, le paramètre Exclure les erreurs pour les applications de cette liste est prioritaire.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les erreurs sont par défaut signalées pour toutes les applications Windows et Microsoft.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting- 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/WerExlusion_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Error Reporting\ExcludedApplications'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# List of applications to be excluded
$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/WerExlusion_2
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": ErrorReporting/WerExlusion_2
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Windows Error Reporting\ExcludedApplications'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| List of applications to be excludedListe d’applications à exclureWerExlusionList | List (table)list | Software\Policies\Microsoft\Windows\Windows Error Reporting\ExcludedApplicationsNumbered values (1, 2, 3…) · additive | REG_SZ (values under the key) |