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

Limit the BITS Peercache size

Description:

This policy setting limits the maximum amount of disk space that can be used for the BITS peer cache, as a percentage of the total system disk size. BITS will

add files to the peer cache and make those files available to peers until the cache content reaches the specified cache size. By default, BITS will use 1 percent

of the total system disk for the peercache.


If you enable this policy setting, you can enter the percentage of disk space to be used for the BITS peer cache. You can enter a value between 1 percent and

80 percent.


If you disable or do not configure this policy setting, the default size of the BITS peer cache is 1 percent of the total system disk size.


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




Supported on:

At least Windows Vista

GPO PowerShell Regedit CMD

We can use Command Prompt to add or delete the registry key(s):


For Enabled, Add the registry key:

REG add "HKLM\Software\Policies\Microsoft\Windows\BITS" /v MaxCacheSize /t REG_DWORD /d 5 /f


For Disabled, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows\BITS" /v MaxCacheSize /f


For Not Configured, Delete the registry key:

REG DELETE "HKLM\Software\Policies\Microsoft\Windows\BITS" /v MaxCacheSize /f