Windows 7 / Networking

Configuring BranchCache

BranchCache clients can be managed using either Group Policy or the Netsh commandline tool. You can configure BranchCache using Group Policy settings located in Computer Configuration\Policies\Administrative Templates\Network\BranchCache. You can define the following settings:

  • Turn On BranchCache Enable this setting to turn on BranchCache.
  • Set BranchCache Hosted Cache Mode Enable this setting to turn on Hosted Cache mode and then specify the location of the Hosted Cache server. Because different branch offices should have different Hosted Caches, you will need to define different GPOs for different branch offices.
  • Set BranchCache Distributed Cache Mode Enable this setting to turn on Distributed Cache mode when you cannot use Hosted Cache because a computer running Windows Server 2008 R2 is not available in the branch office.
  • Configure BranchCache For Network Files Enable this setting to change the default latency required before BranchCache stores a copy of data retrieved from a file server. By default, BranchCache will cache data only if latency is greater than 80 milliseconds (ms). Typically, data travels across a LAN in less than 20 ms.
  • Set Percentage Of Disk Space Used For Client Computer Cache Enable this setting to define the amount of space that Distributed Cache clients dedicate to the BranchCache data store. By default, BranchCache will use 5 percent of the total disk space.
    Additionally, you can prevent the Background Intelligent Transfer Service (BITS) from using BranchCache by enabling the Do Not Allow The BITS Client To Use Windows Branch Cache policy in the Computer Configuration\Policies\Administrative Templates \Network\Background Intelligent Transfer Service node of a GPO.
    You can use the Netsh command-line tool to view or change BranchCache settings. The following are the most useful Netsh commands:
  • Netsh BranchCache Show Status Displays whether BranchCache is currently enabled.
  • Netsh BranchCache Show HostedCache If Hosted Cache mode is enabled, displays the location of the Hosted Cache server.
  • Netsh BranchCache Show LocalCache If Distributed Cache mode is enabled, displays the location and maximum size of the local cache.
  • Netsh BranchCache Set Service HostedClient <hosted_cache_server> Configures a Hosted Cache client and defines the location (using a host name) of the Hosted Cache server.
  • Netsh BranchCache Set Service Distributed Enables BranchCache in Distributed Cache mode.
  • Netsh BranchCache Set Service Disabled Disables BranchCache on the client. BranchCache is disabled by default, so you only need to run this if you previously enabled it.

For more details, run the following command.

Netsh BranchCache
[Previous] [Contents] [Next]

In this tutorial:

  1. Configuring Windows Networking
  2. Usability Improvements
  3. Network And Sharing Center
  4. Network Explorer
  5. How Windows Finds Network Resources
  6. How Windows Publishes Network Resources
  7. How Windows Creates the Network Map
  8. Network Map
  9. Set Up A Connection Or Network Wizard
  10. Manageability Improvements
  11. Network Location Types
  12. Policy-Based QoS
  13. Selecting DSCP Values
  14. Planning Traffic Throttling
  15. Configuring QoS Policies
  16. Configuring System-Wide QoS Settings
  17. Configuring Advanced QoS Settings
  18. Testing QoS
  19. Windows Firewall and IPsec
  20. Windows Connect Now in Windows 7
  21. Core Networking Improvements
  22. Networking BranchCache
  23. How Hosted Cache Works
  24. How Distributed Cache Works
  25. Configuring BranchCache
  26. BranchCache Protocols
  27. File Sharing Using SMB
  28. Web Browsing with HTTP (Including HTTPS)
  29. DNSsec
  30. GreenIT
  31. Efficient Networking
  32. What Causes Latency, How to Measure It, and How to Control It
  33. TCP Receive Window Scaling
  34. Scalable Networking
  35. Improved Reliability
  36. IPv6 Support
  37. 802.1X Network Authentication
  38. Server Message Block (SMB) 2.0
  39. Strong Host Model
  40. Wireless Networking
  41. Improved APIs
  42. Network Awareness
  43. Improved Peer Networking
  44. Services Used by Peer-to-Peer Networking
  45. Managing Peer-to-Peer Networking
  46. Peer-to-Peer Name Resolution
  47. EAP Host Architecture
  48. Layered Service Provider (LSP)
  49. Windows Sockets Direct Path for System Area Networks
  50. How to Configure Wireless Settings
  51. Configuring Wireless Settings Manually
  52. Using Group Policy to Configure Wireless Settings
  53. How to Configure TCP/IP
  54. DHCP
  55. Configuring IP Addresses Manually
  56. Command Line and Scripts
  57. How to Connect to AD DS Domains
  58. How to Connect to a Domain When 802.1X Authentication Is Not Enabled
  59. How to Connect to a Domain When 802.1X Authentication Is Enabled