Default application reporting settings: registry value AllOrNone and 2 moreComputerHKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting
- Policy ID
- PCH_AllOrNoneDef
- Scope
- Computer Configuration
- Supported on
- Windows Server 2003 and Windows XP only
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Windows Error Reporting › Advanced Error Reporting Settings
Registry
AllOrNone
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Default:
| Item | Stored value |
|---|---|
| Report all application errors | 1 |
| Do not report any application errors | 0 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting] ; Options (use only one) ; Report all application errors "AllOrNone"=dword:00000001 ; Do not report any application errors "AllOrNone"=dword:00000000
CMD
:: Options (use only one) :: Report all application errors reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "AllOrNone" /t REG_DWORD /d 1 /f :: Do not report any application errors reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "AllOrNone" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null # Options (use only one) # Report all application errors New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'AllOrNone' -PropertyType DWord -Value 1 -Force | Out-Null # Do not report any application errors New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'AllOrNone' -PropertyType DWord -Value 0 -Force | Out-Null
IncludeMicrosoftApps
REG_DWORDComputer- Checked
- 1
- Unchecked
- 0
- Element
- Report all errors in Microsoft applications.
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting] ; Options (use only one) ; Checked "IncludeMicrosoftApps"=dword:00000001 ; Unchecked "IncludeMicrosoftApps"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeMicrosoftApps" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeMicrosoftApps" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeMicrosoftApps' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeMicrosoftApps' -PropertyType DWord -Value 0 -Force | Out-Null
IncludeWindowsApps
REG_DWORDComputer- Checked
- 1
- Unchecked
- 0
- Element
- Report all errors in Windows components.
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting] ; Options (use only one) ; Checked "IncludeWindowsApps"=dword:00000001 ; Unchecked "IncludeWindowsApps"=dword:00000000
CMD
:: Options (use only one) :: Checked reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeWindowsApps" /t REG_DWORD /d 1 /f :: Unchecked reg add "HKLM\Software\Policies\Microsoft\PCHealth\ErrorReporting" /v "IncludeWindowsApps" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Force | Out-Null # Options (use only one) # Checked New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeWindowsApps' -PropertyType DWord -Value 1 -Force | Out-Null # Unchecked New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting' -Name 'IncludeWindowsApps' -PropertyType DWord -Value 0 -Force | Out-Null