Disable deleting diagnostic data
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Data Collection and Preview Builds
Supported on
At least Windows Server 2016, Windows 10 Version 1809

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.

Internal name
DisableDeviceDelete
Policy ID
9bfd40636095
Elements
0

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\Windows\DataCollection
Value name
DisableDeviceDelete
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\Windows\DataCollection
Value name
DisableDeviceDelete
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

This policy has no additional user input fields.