Policy CSP - ADMX_DiskDiagnostic

Tip

This CSP contains ADMX-backed policies which require a special SyncML format to enable or disable. You must specify the data type in the SyncML as <Format>chr</Format>. For details, see Understanding ADMX-backed policies.

The payload of the SyncML must be XML-encoded; for this XML encoding, there are a variety of online encoders that you can use. To avoid encoding the payload, you can use CDATA if your MDM supports it. For more information, see CDATA Sections.

DfdAlertPolicy

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_DiskDiagnostic/DfdAlertPolicy

This policy setting substitutes custom alert text in the disk diagnostic message shown to users when a disk reports a S. M. A. R. T. fault.

  • If you enable this policy setting, Windows displays custom alert text in the disk diagnostic message. The custom text may not exceed 512 characters.

  • If you disable or don't configure this policy setting, Windows displays the default alert text in the disk diagnostic message.

No reboots or service restarts are required for this policy setting to take effect: changes take effect immediately.

This policy setting only takes effect if the Disk Diagnostic scenario policy setting is enabled or not configured and the Diagnostic Policy Service (DPS) is in the running state. When the service is stopped or disabled, diagnostic scenarios aren't executed. The DPS can be configured with the Services snap-in to the Microsoft Management Console.

Note

For Windows Server systems, this policy setting applies only if the Desktop Experience optional component is installed and the Remote Desktop Services role isn't installed.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name DfdAlertPolicy
Friendly Name Disk Diagnostic: Configure custom alert text
Location Computer Configuration
Path System > Troubleshooting and Diagnostics > Disk Diagnostic
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\WDI{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}
ADMX File Name DiskDiagnostic.admx

WdiScenarioExecutionPolicy

Scope Editions Applicable OS
✅ Device
❌ User
✅ Pro
✅ Enterprise
✅ Education
✅ Windows SE
✅ IoT Enterprise / IoT Enterprise LTSC
✅ Windows 10, version 2004 [10.0.19041.1202] and later
✅ Windows 10, version 2009 [10.0.19042.1202] and later
✅ Windows 10, version 21H1 [10.0.19043.1202] and later
✅ Windows 11, version 21H2 [10.0.22000] and later
./Device/Vendor/MSFT/Policy/Config/ADMX_DiskDiagnostic/WdiScenarioExecutionPolicy

This policy setting determines the execution level for S. M. A. R. T.-based disk diagnostics.

Self-Monitoring And Reporting Technology (S. M. A. R. T). is a standard mechanism for storage devices to report faults to Windows. A disk that reports a S. M. A. R. T. fault may need to be repaired or replaced. The Diagnostic Policy Service (DPS) detects and logs S. M. A. R. T. faults to the event log when they occur.

  • If you enable this policy setting, the DPS also warns users of S. M. A. R. T. faults and guides them through backup and recovery to minimize potential data loss.

  • If you disable this policy, S. M. A. R. T. faults are still detected and logged, but no corrective action is taken.

  • If you don't configure this policy setting, the DPS enables S. M. A. R. T. fault resolution by default.

This policy setting takes effect only if the diagnostics-wide scenario execution policy isn't configured.

No reboots or service restarts are required for this policy setting to take effect: changes take effect immediately.

This policy setting takes effect only when the DPS is in the running state. When the service is stopped or disabled, diagnostic scenarios aren't executed. The DPS can be configured with the Services snap-in to the Microsoft Management Console.

Note

For Windows Server systems, this policy setting applies only if the Desktop Experience optional component is installed and the Remote Desktop Services role isn't installed.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

Tip

This is an ADMX-backed policy and requires SyncML format for configuration. For an example of SyncML format, refer to Enabling a policy.

ADMX mapping:

Name Value
Name WdiScenarioExecutionPolicy
Friendly Name Disk Diagnostic: Configure execution level
Location Computer Configuration
Path System > Troubleshooting and Diagnostics > Disk Diagnostic
Registry Key Name SOFTWARE\Policies\Microsoft\Windows\WDI{29689E29-2CE9-4751-B4FC-8EFF5066E3FD}
ADMX File Name DiskDiagnostic.admx

Policy configuration service provider