Project Description

Testing and Troubleshooting BranchCache

The BranchCacheTool.exe is a command-line utility with a self-explanatory help (if you run with no argument). It offers complete command line access to the entire BranchCache API (Peer Distribution API) in a single command line utility.

BranchCache API – Peer Distribution

The Peer Distribution API, which supports the BranchCache feature in Windows 7 and Windows Server 2008 R2 and above, offers a set of platform APIs that can increase network responsiveness of centralized applications when accessed from remote offices, giving users in those offices the experience of working on your local area network. The capabilities offered by this set of APIs can also help in reducing overall wide area network (WAN) utilization.

Implementing these features does not require any pre-existing infrastructure. Making improvements to the performance of remote networks is accomplished simply by deploying Windows to client computers, deploying Windows Server to server computers, and enabling the Branch Cache feature.

The Peer Distribution APIs work seamlessly alongside network security technologies, including SSL, SMB Signing, and end-to-end IPsec. You can use this API to reduce network bandwidth utilization and improve application performance even if the content is encrypted.

Read More Here:

Enable BranchCache

In order for BranchCacheTool.exe to work beyond the help message, you need to enable BranchCache on your machine:
powershell Enable-BCDistributed

Sample Data Creation

There are two cmd scripts (DataTest.cmd and BC-FillDatabase.cmd) that show how to use BranchCacheTool.exe.
BC-FillDatabase.cmd uses/calls into DataTest.cmd. DataTest.cmd uses/calls into BranchCacheTool.exe.

Get BranchCacheTool