Configure Error Reporting
Configurer le rapport d’erreurs
Explanation
This policy setting configures how errors are reported to Microsoft, and what information is sent when Windows Error Reporting is enabled.
This policy setting does not enable or disable Windows Error Reporting. To turn Windows Error Reporting on or off, see the Turn off Windows Error Reporting policy setting in Computer Configuration/Administrative Templates/System/Internet Communication Management/Internet Communication settings.
Important: If the Turn off Windows Error Reporting policy setting is not configured, then Control Panel settings for Windows Error Reporting override this policy setting.
If you enable this policy setting, the setting overrides any user changes made to Windows Error Reporting settings in Control Panel, and default values are applied for any Windows Error Reporting policy settings that are not configured (even if users have changed settings by using Control Panel). If you enable this policy setting, you can configure the following settings in the policy setting:
- ""Do not display links to any Microsoft ‘More information’ websites"": Select this option if you do not want error dialog boxes to display links to Microsoft websites.
- ""Do not collect additional files"": Select this option if you do not want additional files to be collected and included in error reports.
- ""Do not collect additional computer data"": Select this if you do not want additional information about the computer to be collected and included in error reports.
- ""Force queue mode for application errors"": Select this option if you do not want users to report errors. When this option is selected, errors are stored in a queue directory, and the next administrator to log on to the computer can send the error reports to Microsoft.
- ""Corporate file path"": Type a UNC path to enable Corporate Error Reporting. All errors are stored at the specified location instead of being sent directly to Microsoft, and the next administrator to log onto the computer can send the error reports to Microsoft.
- ""Replace instances of the word ‘Microsoft’ with"": You can specify text with which to customize your error report dialog boxes. The word ""Microsoft"" is replaced with the specified text.
If you do not configure this policy setting, users can change Windows Error Reporting settings in Control Panel. By default, these settings are Enable Reporting on computers that are running Windows XP, and Report to Queue on computers that are running Windows Server 2003.
If you disable this policy setting, configuration settings in the policy setting are left blank.
See related policy settings Display Error Notification (same folder as this policy setting), and Turn off Windows Error Reporting in Computer Configuration/Administrative Templates/System/Internet Communication Management/Internet Communication settings.
Ce paramètre de stratégie configure la manière dont les erreurs sont signalées à Microsoft et le type d’informations qui sont envoyées lorsque Rapport d’erreurs Microsoft est activé.
Ce paramètre de stratégie n’active ni ne désactive Rapport d’erreurs Windows. Pour activer ou désactiver Rapport d’erreurs Windows, utilisez le paramètre de stratégie Désactiver Rapport d’erreurs Windows dans Configuration ordinateur/Modèles d’administration/Système/Gestion de la communication Internet/Paramètres de communication Internet.
Important : si le paramètre de stratégie Désactiver Rapport d’erreurs Windows n’est pas configuré, les paramètres du Panneau de configuration relatifs à Rapport d’erreurs Windows remplacent ce paramètre de stratégie.
Si vous activez ce paramètre de stratégie, celui-ci remplace les modifications apportées par l’utilisateur aux paramètres Rapport d’erreurs Windows dans le Panneau de configuration et les valeurs par défaut sont appliquées pour les paramètres de stratégie Rapport d’erreurs Windows qui ne sont pas configurés (même si les utilisateurs ont modifié les paramètres à l’aide du Panneau de configuration). Si vous activez ce paramètre de stratégie, vous pouvez y configurer les paramètres suivants :
- « Ne pas afficher les liens vers les sites Web ’Plus d’informations’ fournis par Microsoft »: sélectionnez cette option si vous ne souhaitez pas que les boîtes de dialogue d’erreur affichent des liens vers des sites Web Microsoft.
- « Ne pas recueillir de fichiers supplémentaires »: sélectionnez cette option si vous ne souhaitez pas que des fichiers supplémentaires soient recueillis et inclus dans les rapports d’erreurs.
- « Ne pas recueillir de données supplémentaires sur l’ordinateur » : sélectionnez cette option si vous ne voulez pas que des informations supplémentaires à propos de l’ordinateur soient recueillies et incluses dans les rapports d’erreurs.
- « Forcer le mode file d’attente pour les erreurs d’application » : sélectionnez cette option si vous ne voulez pas que les utilisateurs signalent les erreurs. Lorsque cette option est sélectionnée, les erreurs sont placées dans un répertoire de file d’attente, et le prochain administrateur qui se connectera à l’ordinateur pourra envoyer les rapports d’erreurs à Microsoft.
- « Chemin d’accès du dossier partagé de l’entreprise » : entrez un chemin d’accès UNC pour activer les rapports d’erreurs de l’entreprise. Toutes les erreurs sont enregistrées à l’emplacement spécifié plutôt que d’être envoyées directement à Microsoft, et le prochain administrateur qui se connectera à l’ordinateur pourra envoyer les rapports d’erreurs à Microsoft.
- « Remplacer les occurrences du mot « Microsoft » par » : vous pouvez spécifier le texte avec lequel personnaliser vos boîtes de dialogue de rapport d’erreurs. Le mot « Microsoft » est remplacé par le texte spécifié.
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs peuvent modifier les paramètres Rapport d’erreurs Windows dans le Panneau de configuration. Par défaut, ces paramètres sont Activer les rapports sur les ordinateurs qui exécutent Windows XP et Rapports en file d’attente sur les ordinateurs qui exécutent Windows Server 2003.
Si vous désactivez ce paramètre de stratégie, les paramètres de configuration sont laissés vides dans le paramètre de stratégie.
Consultez les paramètres de stratégie associés Afficher les paramètres de notification d’erreurs (même dossier que ce paramètre de stratégie) et Désactiver Rapport d’erreurs Windows dans Configuration ordinateur/Modèles d’administration/Système/Gestion de la communication Internet/Paramètres de communication Internet.
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_ConfigureReport
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Do not display links to any Microsoft provided 'more information' web sites.
# unchecked: 0
Set-ItemProperty -Path $k -Name 'DWNoExternalURL' -Value 1 -Type DWord
# Do not collect additional files
# unchecked: 0
Set-ItemProperty -Path $k -Name 'DWNoFileCollection' -Value 1 -Type DWord
# Do not collect additional machine data
# unchecked: 0
Set-ItemProperty -Path $k -Name 'DWNoSecondLevelCollection' -Value 1 -Type DWord
# Corporate upload file path
Set-ItemProperty -Path $k -Name 'DWFileTreeRoot' -Value '<value>' -Type String
# Replace instances of the word 'Microsoft' with
Set-ItemProperty -Path $k -Name 'DWReporteeName' -Value '<value>' -Type String
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Force queue mode for application errors
# unchecked: 0
Set-ItemProperty -Path $k -Name 'ForceQueueMode' -Value 1 -Type DWordDisable
# Disable: ErrorReporting/PCH_ConfigureReport
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": ErrorReporting/PCH_ConfigureReport
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW'
Remove-ItemProperty -Path $k -Name 'DWNoExternalURL' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DWNoFileCollection' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DWNoSecondLevelCollection' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DWFileTreeRoot' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'DWReporteeName' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
Remove-ItemProperty -Path $k -Name 'ForceQueueMode' -ErrorAction SilentlyContinueOptions (6)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Do not display links to any Microsoft provided 'more information' web sites.Ne pas afficher les liens vers les sites Web « Plus d’informations » fournis par Microsoft.PCH_NoExternalURL_Chk | Check boxboolean | DWNoExternalURLin Software\Policies\Microsoft\PCHealth\ErrorReporting\DW | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Do not collect additional filesNe pas recueillir de fichiers supplémentairesPCH_NoFileCollect_Chk | Check boxboolean | DWNoFileCollectionin Software\Policies\Microsoft\PCHealth\ErrorReporting\DW | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Do not collect additional machine dataNe pas recueillir de données supplémentaires sur l’ordinateurPCH_NoLevelTwo_Chk | Check boxboolean | DWNoSecondLevelCollectionin Software\Policies\Microsoft\PCHealth\ErrorReporting\DW | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Force queue mode for application errorsForcer le mode file d’attente pour les erreurs d’applicationPCH_ForceQ_Chk | Check boxboolean | ForceQueueMode | REG_DWORD | Checked: REG_DWORD = 1Unchecked: REG_DWORD = 0 |
| Corporate upload file path:Chemin d’accès du fichier de téléchargement d’entreprise :PCH_DumpPath_Edit | Text boxtext | DWFileTreeRootin Software\Policies\Microsoft\PCHealth\ErrorReporting\DW | REG_SZ | |
| Replace instances of the word 'Microsoft' with:Remplacer les occurrences du mot « Microsoft » par :PCH_CompanyText_Edit | Text boxtext | DWReporteeNamein Software\Policies\Microsoft\PCHealth\ErrorReporting\DW | REG_SZ |