en-US

Disable deleting diagnostic data

Supported on: At least Windows Server 2016, Windows 10 Version 1809

Registry

HKLM Software\Policies\Microsoft\Windows\DataCollection

Value name: DisableDeviceDelete

Enabled: DisableDeviceDelete = 1

Disabled: DisableDeviceDelete = 0

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.