Deploy Hosted Cache Servers (Optional)
Updated: July 25, 2012
Applies To: Windows Server 2012 R2, Windows Server 2012
You can use this procedure to install and configure BranchCache hosted cache servers that are located in branch offices where you want to deploy BranchCache hosted cache mode. With BranchCache in Windows Server 2012, you can deploy multiple hosted cache servers in one branch office.
This step is optional because distributed cache mode does not require a hosted cache server computer in branch offices. If you are not planning on deploying hosted cache mode in any branch offices, you do not need to deploy a hosted cache server, and you do not need to perform the steps in this procedure.
You must be a member of Administrators, or equivalent to perform this procedure.
To install and configure a hosted cache server
On the computer that you want to configure as a hosted cache server, run the following command at a Windows PowerShell prompt to install the BranchCache feature.
Install-WindowsFeature BranchCache -IncludeManagementTools
Configure the computer as a hosted cache server by using one of the following commands:
To configure a non-domain joined computer as a hosted cache server, type the following command at the Windows PowerShell prompt, and then press ENTER.
To configure a domain joined computer as a hosted cache server, and to register a service connection point in Active Directory for automatic hosted cache server discovery by client computers, type the following command at the Windows PowerShell prompt, and then press ENTER.
To verify the correct configuration of the hosted cache server, type the following command at the Windows PowerShell prompt, and then press ENTER.
After you run this command, in the section HostedCacheServerConfiguration, the value for HostedCacheServerIsEnabled is True. If you configured a domain joined hosted cache server to register a service connection point (SCP) in Active Directory, the value for HostedCacheScpRegistrationEnabled is True.