.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

Limit the age of files in the BITS Peercache

GPO PowerShell Regedit CMD

In PowerShell we can use Get-GPRegistryValue cmled to identify the registry key(s) associated with:


More information about Get-GPRegistryValue can be found on this link:

https://docs.microsoft.com/en-us/powershell/module/grouppolicy/get-gpregistryvalue?view=win10-ps


For Enabled we get:

For Disabled we get:

Description:

This policy setting limits the maximum age of files in the Background Intelligent Transfer Service (BITS) peer cache. In order to make the most efficient use of disk

space, by default BITS removes any files in the peer cache that have not been accessed in the past 90 days.


If you enable this policy setting, you can specify in days the maximum age of files in the cache. You can enter a value between 1 and 120 days.


If you disable or do not configure this policy setting, files that have not been accessed for the past 90 days will be removed from the peer cache.


Note: This policy setting has no effect if the "Allow BITS Peercaching" policy setting is disabled or not configured.






Supported on:

At least Windows Vista