Enable hosted cache server mode on a hosted cache server

Updated: October 7, 2009

Applies To: Windows 7, Windows Server 2008 R2

You can use this procedure to manually configure a BranchCache hosted cache server for hosted cache mode using network shell (netsh) commands. Running the command below both configures the server for hosted cache mode and automatically configures the firewall with the following inbound exceptions for hosted cache mode: TCP port 80 and TCP port 443.

Membership in Domain Admins, or equivalent is the minimum required to perform this procedure.

To enable hosted cache mode on a hosted cache server

  1. On the BranchCache hosted cache server that you want to configure, click Start, click Search programs and files, and then type command. In search results, under Programs, right-click Command Prompt, and then click Run as Administrator. The command prompt opens with the elevated privileges that are required to run netsh commands.

  2. Run the following command: netsh branchcache set service mode=HOSTEDSERVER.


If the hosted cache server and client computers are not joined to an Active Directory domain, set client authentication to NONE using the additional clientauthentication parameter in this command: Netsh branchcache set service mode=HOSTEDSERVER clientauthentication=NONE