en-US windows computer

Display Error Notification

Verified with Windows 11 25H2 — updated on July 30, 2026

Windows 11 25H2

Supported on: Windows Server 2003 and Windows XP only

Path in the GPO console

Computer Configuration\Administrative Templates\Windows Components\Windows Error Reporting

Description

This policy setting controls whether users are shown an error dialog box that lets them report an error. If you enable this policy setting, users are notified in a dialog box that an error has occurred, and can display more details about the error. If the Configure Error Reporting policy setting is also enabled, the user can also report the error. If you disable this policy setting, users are not notified that errors have occurred. If the Configure Error Reporting policy setting is also enabled, errors are reported, but users receive no notification. Disabling this policy setting is useful for servers that do not have interactive users. If you do not configure this policy setting, users can change this setting in Control Panel, which is set to enable notification by default on computers that are running Windows XP Personal Edition and Windows XP Professional Edition, and disable notification by default on computers that are running Windows Server. See also the Configure Error Reporting policy setting.

Registry

HKLM Software\Policies\Microsoft\PCHealth\ErrorReporting

Value name: ShowUI

Enabled: ShowUI = 1

Disabled: ShowUI = 0

This policy sets several registry values:

DWAllowHeadless DW
Enabled: DWAllowHeadless = 0
Disabled: DWAllowHeadless = 1

MDM / Intune (CSP)

./Device/Vendor/MSFT/Policy/Config/ErrorReporting/DisplayErrorNotification
Device Since Windows 10, version 1703 [10.0.15063] and later Official mapping (Microsoft Learn)

Microsoft Learn documentation Mapping data: Microsoft Learn (CC BY 4.0)

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: Display Error Notification
; State: Enabled
; Supported on: Windows Server 2003 and Windows XP only

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting]
"ShowUI"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW]
"DWAllowHeadless"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Display Error Notification
# State: Enabled
# Supported on: Windows Server 2003 and Windows XP only

$path = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'ShowUI' -Value 1 -Type DWord

$path = 'HKLM:\Software\Policies\Microsoft\PCHealth\ErrorReporting\DW'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'DWAllowHeadless' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview