Policy

Set the retention period for files in the local device control cache

This policy setting determines how long device control retains files for evidence in its local cache on the device. Device control keeps a file in its local cache only if it is unable to upload the file to a designated network share or Azure storage. By default, device control retains files in its local cache for 60 days.

Policy
PackMicrosoft Windows
CategoryWindows Components / Microsoft Defender Antivirus / Device Control
Policy ID28baaa338936
Internal nameDeviceControl_DataDuplicationLocalRetentionPeriod

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows Defender\Device Control\DataDuplicationLocalRetentionPeriod

Policy notes

This policy setting determines how long device control retains files for evidence in its local cache on the device. Device control keeps a file in its local cache only if it is unable to upload the file to a designated network share or Azure storage. By default, device control retains files in its local cache for 60 days.

Related policies