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.


Supported on: At least Windows Server, Windows 10 Version 1809
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\DataCollection
Value NameDisableDeviceDelete
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

datacollection.admx

Administrative Templates (Computers)

Administrative Templates (Users)