Policy
Configure removal of items from Quarantine folder
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting defines the number of days items should be kept in the Quarantine folder before being removed. If you enable this setting, items will be removed from the Quarantine folder after the number of days specified. If you disable or do not configure this setting, items will be kept in the quarantine folder indefinitely and will not be automatically removed.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Configure removal of items from Quarantine folder ID Quarantine_PurgeItemsAfterDelay | decimal | HKLM\Software\Policies\Microsoft\Windows Defender\Quarantine\PurgeItemsAfterDelay Type REG_DWORD | Range: 0 to 10000000 |
Other policies in this category
Explore related policies at the same level.