Set the retention period for files in the local device control cache
- Policy ID
- DeviceControl_DataDuplicationLocalRetentionPeriod
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2016, Windows 10 Version 1607
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Microsoft Defender Antivirus › Device Control
Description
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.
Options
Registry
ComputerHKEY_LOCAL_MACHINE
- DataDuplicationLocalRetentionPeriodREG_DWORD