Export (0) Print
Expand All

Deploy Hosted Cache Servers (Optional)

Updated: July 25, 2012

Applies To: Windows Server 2012, Windows Server 2012 R2



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.

ImportantImportant
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.

  1. 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

  2. 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.

      Enable-BCHostedServer

    • 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.

      Enable-BCHostedServer -RegisterSCP

  3. To verify the correct configuration of the hosted cache server, type the following command at the Windows PowerShell prompt, and then press ENTER.

    Get-BCStatus

    noteNote
    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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft