Disk Diagnostic: Configure custom alert text: registry value DfdAlertTextOverrideComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}

Policy ID
DfdAlertPolicy
Scope
Computer Configuration
Supported on
Windows Server 2008 with Desktop Experience installed or Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › Troubleshooting and Diagnostics › Disk Diagnostic

Registry

DfdAlertTextOverride

REG_SZComputer
Enabled value
Depends on the option value
Element
Custom alert text
Value type
REG_SZ
Required
true
Maximum length
512
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WDI\{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"DfdAlertTextOverride"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WDI\{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}" /v "DfdAlertTextOverride" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WDI\{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}' -Name 'DfdAlertTextOverride' -PropertyType String -Value '<enter value>' -Force | Out-Null