ADMX Viewer
Microsoft.Policies.DataCollection• Machine

Disable deleting diagnostic data

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.

Policy Details

Policy Name
DisableDeviceDelete
Registry Key
Software\Policies\Microsoft\Windows\DataCollection
Value Name
DisableDeviceDelete
Supported On
At least Windows Server 2016, Windows 10 Version 1809
Policy State Values
Enabled: 1
Disabled: 0
Available Languages
en-us