windows-itpro-docs/windows/client-management/mdm/policy-csp-admx-diskdiagnostic.md
nimishasatapathy 6b302796f4 Updated
2021-10-04 19:12:48 +05:30

5.8 KiB

title, description, ms.author, ms.localizationpriority, ms.topic, ms.prod, ms.technology, author, ms.date, ms.reviewer, manager
title description ms.author ms.localizationpriority ms.topic ms.prod ms.technology author ms.date ms.reviewer manager
Policy CSP - ADMX_DiskDiagnostic Policy CSP - ADMX_DiskDiagnostic dansimp medium article w10 windows nimishasatapathy 09/08/2021 dansimp

Policy CSP - ADMX_DiskDiagnostic

Tip

This is an ADMX-backed policy and requires a special SyncML format to enable or disable. For details, see Understanding ADMX-backed policies.

You must specify the data type in the SyncML as <Format>chr</Format>. For an example SyncML, refer to Enabling a policy.

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.


ADMX_DiskDiagnostic policies

ADMX_DiskDiagnostic/DfdAlertPolicy
ADMX_DiskDiagnostic/WdiScenarioExecutionPolicy

ADMX_DiskDiagnostic/DfdAlertPolicy

Edition Windows 10 Windows 11
Home No No
Pro No No
Business No No
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 do not 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 are not 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.

ADMX Info:

  • GP Friendly name: Configure custom alert text
  • GP name: DfdAlertPolicy
  • GP path: System\Troubleshooting and Diagnostics\Disk Diagnostic
  • GP ADMX file name: DiskDiagnostic.admx


ADMX_DiskDiagnostic/WdiScenarioExecutionPolicy

Edition Windows 10 Windows 11
Home No No
Pro No No
Business No No
Enterprise Yes Yes
Education Yes Yes

Scope:

[!div class = "checklist"]

  • Device

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 do not 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 is not 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 are not 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 is not installed.

ADMX Info:

  • GP Friendly name: Configure execution level
  • GP name: WdiScenarioExecutionPolicy
  • GP path: System\Troubleshooting and Diagnostics\Disk Diagnostic
  • GP ADMX file name: DiskDiagnostic.admx