Configurer la file d’attente de rapports
Vérifié avec Windows 11 25H2 — mis à jour le 30 juillet 2026
Pris en charge sur : Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
Chemin dans la console GPO
Configuration ordinateur\Modèles d'administration\Composants Windows\Rapport d’erreurs Windows\Paramètres de rapport d’erreurs avancés Description
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.
Registre
SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting Nom de valeur : DisableQueue
Activé : DisableQueue = 0
Désactivé : DisableQueue = 1
MDM / Intune (CSP)
./Device/Vendor/MSFT/Policy/Config/ADMX_ErrorReporting/WerQueue_2 Documentation Microsoft Learn Données de correspondance : Microsoft Learn (CC BY 4.0)
Générateur d'exports
BETAConfigurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée. ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Configurer la file d’attente de rapports
; State: Enabled
; Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting]
"DisableQueue"=dword:00000000
"ForceQueue"=dword:00000000
"MaxQueueCount"=dword:00000032
"MaxQueueSize"=dword:00000400
"MinFreeDiskSpace"=dword:00000af0
"QueuePesterInterval"=dword:0000000e Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Configurer la file d’attente de rapports
# State: Enabled
# Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DisableQueue' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'ForceQueue' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'MaxQueueCount' -Value 50 -Type DWord
Set-ItemProperty -Path $path -Name 'MaxQueueSize' -Value 1024 -Type DWord
Set-ItemProperty -Path $path -Name 'MinFreeDiskSpace' -Value 2800 -Type DWord
Set-ItemProperty -Path $path -Name 'QueuePesterInterval' -Value 14 -Type DWord Intune XML
OMA-URI: ./Device/Vendor/MSFT/Policy/Config/ADMX_ErrorReporting/WerQueue_2
Data type: String
Value:
<enabled/>
<data id="WerQueueBehavior" value="0"/>
<data id="WerMaxQueueCount" value="50"/>
<data id="WerMaxQueueSize" value="1024"/>
<data id="WerMinFreeDiskSpace" value="2800"/>
<data id="WerUpdateCheck" value="14"/> Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Configurer la file d’attente de rapports
# State: Enabled
# Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'DisableQueue' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'ForceQueue' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MaxQueueCount' -Expected 50 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MaxQueueSize' -Expected 1024 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MinFreeDiskSpace' -Expected 2800 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'QueuePesterInterval' -Expected 14 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Configurer la file d’attente de rapports
# State: Enabled
# Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DisableQueue' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'ForceQueue' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'MaxQueueCount' -Value 50 -Type DWord
Set-ItemProperty -Path $path -Name 'MaxQueueSize' -Value 1024 -Type DWord
Set-ItemProperty -Path $path -Name 'MinFreeDiskSpace' -Value 2800 -Type DWord
Set-ItemProperty -Path $path -Name 'QueuePesterInterval' -Value 14 -Type DWord Scripts SCCM
# Exported from gporais.com
# Policy: Configurer la file d’attente de rapports
# State: Enabled
# Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Configurer la file d’attente de rapports
# State: Enabled
# Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'DisableQueue' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'ForceQueue' -Expected 0 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MaxQueueCount' -Expected 50 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MaxQueueSize' -Expected 1024 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'MinFreeDiskSpace' -Expected 2800 -Kind DWord)
(Test-RegistryValue -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting' -Name 'QueuePesterInterval' -Expected 14 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Configurer la file d’attente de rapports
# State: Enabled
# Supported on: Windows Server 2016 Version 1703, Windows 10 Version 1703, Windows 10, Windows 8.1, Windows 8, Windows 7 et Windows Vista uniquement
$path = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DisableQueue' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'ForceQueue' -Value 0 -Type DWord
Set-ItemProperty -Path $path -Name 'MaxQueueCount' -Value 50 -Type DWord
Set-ItemProperty -Path $path -Name 'MaxQueueSize' -Value 1024 -Type DWord
Set-ItemProperty -Path $path -Name 'MinFreeDiskSpace' -Value 2800 -Type DWord
Set-ItemProperty -Path $path -Name 'QueuePesterInterval' -Value 14 -Type DWord Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).