Paramètres de rapport d’applications par défaut : valeur de Registre AllOrNone et 2 autresOrdinateurHKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting

ID de stratégie
PCH_AllOrNoneDef
Étendue
Configuration ordinateur
Pris en charge sur
Windows Server 2003 et Windows XP uniquement
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Rapport d’erreurs Windows › Paramètres de rapport d’erreurs avancés

Registre

AllOrNone

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Par défaut :
Options
EntréeValeur stockée
Signaler toutes les erreurs des applications1
Ne signaler aucune erreur d’application0
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting]

; Options (en utiliser une seule)
; Signaler toutes les erreurs des applications
"AllOrNone"=dword:00000001
; Ne signaler aucune erreur d’application
"AllOrNone"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Signaler toutes les erreurs des applications
reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "AllOrNone" /t REG_DWORD /d 1 /f
:: Ne signaler aucune erreur d’application
reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "AllOrNone" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null

# Options (en utiliser une seule)
# Signaler toutes les erreurs des applications
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'AllOrNone' -PropertyType DWord -Value 1 -Force | Out-Null
# Ne signaler aucune erreur d’application
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'AllOrNone' -PropertyType DWord -Value 0 -Force | Out-Null

IncludeMicrosoftApps

REG_DWORDOrdinateur
Cochée
1
Décochée
0
Élément
Signaler toutes les erreurs dans les applications Microsoft.
Type de valeur
REG_DWORD
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting]

; Options (en utiliser une seule)
; Cochée
"IncludeMicrosoftApps"=dword:00000001
; Décochée
"IncludeMicrosoftApps"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Cochée
reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeMicrosoftApps" /t REG_DWORD /d 1 /f
:: Décochée
reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeMicrosoftApps" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null

# Options (en utiliser une seule)
# Cochée
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeMicrosoftApps' -PropertyType DWord -Value 1 -Force | Out-Null
# Décochée
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeMicrosoftApps' -PropertyType DWord -Value 0 -Force | Out-Null

IncludeWindowsApps

REG_DWORDOrdinateur
Cochée
1
Décochée
0
Élément
Signaler toutes les erreurs dans les composants Windows.
Type de valeur
REG_DWORD
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting]

; Options (en utiliser une seule)
; Cochée
"IncludeWindowsApps"=dword:00000001
; Décochée
"IncludeWindowsApps"=dword:00000000
CMD
:: Options (en utiliser une seule)

:: Cochée
reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeWindowsApps" /t REG_DWORD /d 1 /f
:: Décochée
reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeWindowsApps" /t REG_DWORD /d 0 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null

# Options (en utiliser une seule)
# Cochée
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeWindowsApps' -PropertyType DWord -Value 1 -Force | Out-Null
# Décochée
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeWindowsApps' -PropertyType DWord -Value 0 -Force | Out-Null