Distributed BranchCache Mode
BranchCache is a Windows 7 feature that speeds up remote office (branch) computers access to files from a central location. This feature is only available in Windows 7 Enterprise and Ultimate editions. You can cache files either on a server running Windows Server 2008 R2 or distributed among clients running Windows 7 in a network. In this procedure we will see how to set up a BranchCache client in Windows 7:
- Logon on to a computer running Windows 7 Enterprise or Ultimate edition and open an elevated command prompt.
- At the command prompt type: netsh BranchCache show status
- Verify that the service mode is set to disabled and the current status of the service is stopped as shown below:
- At the command prompt type: netsh BranchCache set service mode=distributed
- Verify that the status message indicates that two firewall rules have been enabled and the service startup type has been set to Manual as shown below:
- At the command prompt type: netsh branchcache show status
- Verify that the service mode is set to Distributed Caching, the Serve peers on battery power is disabled, and the current status of the service is running. If you have IPv6 configured and the service does not start with an HttpEvent, from the command prompt type:
netsh http add iplisten ipaddress=:: and start the service by typing net start branchcache
- To set the cache size, type: netsh branchcache set cachesize=25 percent=true
- To display status of the local cache, type: netsh branchcache show localcache
- To reset the service, type: netsh branchcache reset
The main disadvantage of Distributed Cache mode is that the contents of the cache available depend on other computers which may be shut down when needed!