Configure Report Queue
Configurer la file d’attente de rapports
Explanation
This policy setting determines the behavior of the Windows Error Reporting report queue.
If you enable this policy setting, you can configure report queue behavior by using the controls in the policy setting. When the Queuing behavior pull-down list is set to Default, Windows determines, when a problem occurs, whether the report should be placed in the reporting queue, or the user should be prompted to send it immediately. When Queuing behavior is set to Always queue, all reports are added to the queue until the user is prompted to send the reports, or until the user sends problem reports by using the Solutions to Problems page in Control Panel. If Queuing behavior is set to Always queue for administrator, reports are queued until an administrator is prompted to send them, or until the administrator sends them by using the Solutions to Problems page in Control Panel.
The Maximum number of reports to queue setting determines how many reports can be queued before older reports are automatically deleted. The setting for Number of days between solution check reminders determines the interval time between the display of system notifications that remind the user to check for solutions to problems. A value of 0 disables the reminder.
If you disable or do not configure this policy setting, Windows Error Reporting reports are not queued, and users can only send reports at the time that a problem occurs.
Ce paramètre de stratégie détermine le comportement de la file d’attente de Rapport d’erreurs Windows.
Si vous activez ce paramètre de stratégie, vous pouvez configurer le comportement de la file d’attente de rapport à l’aide des contrôles du paramètre. Si la liste déroulante Comportement de mise en file d’attente est définie sur Par défaut, Windows détermine, à chaque fois qu’un problème se produit, si le rapport doit être mis en file d’attente ou si l’utilisateur doit être invité à l’envoyer immédiatement. Si Comportement de mise en file d’attente est défini sur Toujours mettre en file d’attente, tous les rapports sont mis en file d’attente jusqu’à ce que l’utilisateur soit invité à les envoyer ou jusqu’à ce qu’il envoie les rapports de problèmes via la page Solutions aux problèmes du Panneau de configuration. Si le comportement de mise en file d’attente est Toujours mettre en file d’attente pour un administrateur, les rapports sont mis en file d’attente jusqu’à ce qu’un administrateur soit invité à les envoyer ou jusqu’à ce que ce dernier les envoie via la page Solutions aux problèmes du Panneau de configuration.
Le paramètre Nombre maximal de rapports à mettre en file d’attente détermine combien de rapports peuvent être mis en file d’attente avant que les rapports plus anciens soient automatiquement supprimés. Le paramètre Nombre de jours entre rappels de contrôle de solution détermine l’intervalle entre l’affichage de notifications système rappelant à l’utilisateur de vérifier la présence de solutions à des problèmes. La valeur 0 désactive le rappel.
Si vous désactivez ce paramètre de stratégie ou ne le configurez pas, les rapports du Rapport d’erreurs Windows ne sont pas mis en file d’attente, et les utilisateurs peuvent uniquement envoyer un rapport au moment où le problème survient.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting- Value name
DisableQueue
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
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/WerQueue_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableQueue' -Value 0 -Type DWord
# Queuing behavior
# Possible options:
# Default = 0
# Always queue = 1
# Always queue for administrator = 2
Set-ItemProperty -Path $k -Name 'ForceQueue' -Value 0 -Type DWord
# Maximum number of reports to queue
Set-ItemProperty -Path $k -Name 'MaxQueueCount' -Value 50 -Type DWord # maximum 1000
# Maximum size of the queue (MB)
Set-ItemProperty -Path $k -Name 'MaxQueueSize' -Value 1024 -Type DWord # maximum 1024
# Minimum free disk space (MB)
Set-ItemProperty -Path $k -Name 'MinFreeDiskSpace' -Value 2800 -Type DWord
# Number of days between solution check reminders
Set-ItemProperty -Path $k -Name 'QueuePesterInterval' -Value 14 -Type DWord # maximum 90Disable
# Disable: ErrorReporting/WerQueue_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DisableQueue' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ErrorReporting/WerQueue_2
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
Remove-ItemProperty -Path $k -Name 'DisableQueue' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'ForceQueue' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MaxQueueCount' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MaxQueueSize' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'MinFreeDiskSpace' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'QueuePesterInterval' -ErrorAction SilentlyContinueOptions (5)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Queuing behavior:Comportement de mise en file d’attente :WerQueueBehavior | Drop-down listenum | ForceQueue | REG_DWORD | Required
| ||||||||
| Maximum number of reports to queue:Nombre maximal de rapports à mettre en file d’attente :WerMaxQueueCount | Numeric boxdecimal | MaxQueueCount | REG_DWORD | Max: 1000 · Default (UI): 50 | ||||||||
| Maximum size of the queue (MB):Taille maximale de la file d’attente (Mo) :WerMaxQueueSize | Numeric boxdecimal | MaxQueueSize | REG_DWORD | Max: 1024 · Default (UI): 1024 | ||||||||
| Minimum free disk space (MB):Espace disque libre minimum (Mo) :WerMinFreeDiskSpace | Numeric boxdecimal | MinFreeDiskSpace | REG_DWORD | Default (UI): 2800 | ||||||||
| Number of days between solution check reminders:Nombre de jours entre rappels de contrôle de solution :WerUpdateCheck | Numeric boxdecimal | QueuePesterInterval | REG_DWORD | Max: 90 · Default (UI): 14 |