Policy

Configure local setting override for the removal of items from Quarantine folder

This policy setting configures a local override for the configuration of the number of days items should be kept in the Quarantine folder before being removed. This setting can only be set by Group Policy. If you enable this setting, the local preference setting will take priority over Group Policy. If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Policy
PackMicrosoft Windows
CategoryWindows Components / Microsoft Defender Antivirus / Quarantine
Policy IDdeeb0d31d70e
Internal nameQuarantine_LocalSettingOverridePurgeItemsAfterDelay

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows Defender\Quarantine\LocalSettingOverridePurgeItemsAfterDelay (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows Defender\Quarantine\LocalSettingOverridePurgeItemsAfterDelay (disabled) = 0

Policy notes

This policy setting configures a local override for the configuration of the number of days items should be kept in the Quarantine folder before being removed. This setting can only be set by Group Policy. If you enable this setting, the local preference setting will take priority over Group Policy. If you disable or do not configure this setting, Group Policy will take priority over the local preference setting.

Related policies