Policy
Disable deleting diagnostic data
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, WindowsServer2016
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 values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\DataCollection\DisableDeviceDelete | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- ComputerAllow commercial data pipelineAt least Windows Server 2016, Windows 10 Version 1809
- ComputerAllow Desktop Analytics ProcessingAt least Windows Server 2016, Windows 10 Version 1809
- ComputerAllow device name to be sent in Windows diagnostic dataAt least Windows Server 2016, Windows 10 Version 1803
- UserAllow Diagnostic DataAt least Windows Server 2016, Windows 10
- ComputerAllow Diagnostic DataAt least Windows Server 2016, Windows 10
- ComputerAllow Update Compliance ProcessingAt least Windows Server 2016, Windows 10 Version 1809
- ComputerAllow WUfB Cloud ProcessingAt least Windows Server 2016, Windows 10 Version 1809
- ComputerConfigure Authenticated Proxy usage for the Connected User Experience and Telemetry serviceAt least Windows Server 2016, Windows 10
- ComputerConfigure collection of browsing data for Desktop AnalyticsMicrosoft Edge on Windows 10, Version 1803 or later
- UserConfigure collection of browsing data for Desktop AnalyticsMicrosoft Edge on Windows 10, Version 1803 or later
- ComputerConfigure Connected User Experiences and TelemetryAt least Windows Server 2016, Windows 10
- ComputerConfigure diagnostic data opt-in change notificationsAt least Windows Server 2016, Windows 10 Version 1803