Allow BITS Peercaching
This policy setting determines if the Background Intelligent Transfer Service (BITS) peer caching feature is enabled on a specific computer. By default, the files in a
BITS job are downloaded only from the origin server specified by the job's owner.
If BITS peer caching is enabled, BITS caches downloaded files and makes them available to other BITS peers. When transferring a download job, BITS first requests
the files for the job from its peers in the same IP subnet. If none of the peers in the subnet have the requested files, BITS downloads them from the origin server.
If you enable this policy setting, BITS downloads files from peers, caches the files, and responds to content requests from peers. Using the "Do not allow the
computer to act as a BITS peer caching server" and "Do not allow the computer to act as a BITS peer caching client" policy settings, it is possible to control BITS
peer caching functionality at a more detailed level. However, it should be noted that the "Allow BITS peer caching" policy setting must be enabled for the other two
policy settings to have any effect.
If you disable or do not configure this policy setting, the BITS peer caching feature will be disabled, and BITS will download files directly from the origin server.
At least Windows Vista
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 EnablePeercaching /t REG_DWORD /d 1 /f
For Disabled, Add the registry key:
REG add "HKLM\Software\Policies\Microsoft\Windows\BITS" /v EnablePeercaching /t REG_DWORD /d 0 /f
For Not Configured, Delete the registry key:
REG DELETE "HKLM\Software\Policies\Microsoft\Windows\BITS" /v EnablePeercaching /f