Disable deleting diagnostic data
- Policy ID
- DisableDeviceDelete
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2016, Windows 10 Version 1809
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Data Collection and Preview Builds
Description
This policy setting controls whether the Delete diagnostic data button is enabled in Diagnostic & feedback Settings page.
If you enable this policy setting, the Delete diagnostic data button will be disabled in Settings page, preventing the deletion of diagnostic data collected by Microsoft from the device.
If you disable or don't configure this policy setting, the Delete diagnostic data button will be enabled in Settings page, which allows people to erase all diagnostic data collected by Microsoft from that device.
Registry
ComputerHKEY_LOCAL_MACHINE
- DisableDeviceDeleteREG_DWORD