Policy
Set BranchCache Hosted Cache mode
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting specifies whether BranchCache hosted cache mode is enabled on client computers to which this policy is applied. In addition to this policy, you must use the policy "Turn on BranchCache" to enable BranchCache on client computers. When a client computer is configured as a hosted cache mode client, it is able to download cached content from a hosted cache server that is located at the branch office. In addition, when the hosted cache client obtains content from a content server, the client can upload the content to the hosted cache server for access by other hosted cache clients at the branch office. Policy configuration Select one of the following: - Not Configured. With this selection, BranchCache settings are not applied to client computers by this policy. In the circumstance where client computers are domain members but you do not want to enable BranchCache on all client computers, you can specify Not Configured for this domain Group Policy setting, and then configure local computer policy to enable BranchCache on individual client computers. Because the domain Group Policy setting is not configured, it will not over-write the enabled setting that you use on individual client computers where you want to enable BranchCache. - Enabled. With this selection, BranchCache hosted cache mode is enabled for all client computers where the policy is applied. For example, if this policy is enabled in domain Group Policy, BranchCache hosted cache mode is turned on for all domain member client computers to which the policy is applied. - Disabled. With this selection, BranchCache hosted cache mode is turned off for all client computers where the policy is applied. In circumstances where this setting is enabled, you can also select and configure the following option: - Type the name of the hosted cache server. Specifies the computer name of the hosted cache server. Because the hosted cache server name is also specified in the certificate enrolled to the hosted cache server, the name that you enter here must match the name of the hosted cache server that is specified in the server certificate. Hosted cache clients must trust the server certificate that is issued to the hosted cache server. Ensure that the issuing CA certificate is installed in the Trusted Root Certification Authorities certificate store on all hosted cache client computers. * This policy setting is supported on computers that are running Windows Vista Business, Enterprise, and Ultimate editions with Background Intelligent Transfer Service (BITS) 4.0 installed.
Registry values
How enabled and disabled states update the registry.
No explicit registry values are set for enabled or disabled states.
Policy elements
Inputs and configuration options exposed by this policy.
| Element | Type | Registry mapping | Constraints & behavior |
|---|---|---|---|
Type the name of the hosted cache server ID WBC_Cache_TextBox | text | HKLM\SOFTWARE\Policies\Microsoft\PeerDist\HostedCache\Connection\Location Type REG_SZ | None |
Other policies in this category
Explore related policies at the same level.
- ComputerConfigure BranchCache for network filesAt least Windows Server 2008 R2 or Windows 7
- ComputerConfigure Client BranchCache Version SupportAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Hosted Cache ServersAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerEnable Automatic Hosted Cache Discovery by Service Connection PointAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerSet age for segments in the data cacheAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerSet BranchCache Distributed Cache modeAt least Windows 7 or Windows Server 2008 R2*
- ComputerSet percentage of disk space used for client computer cacheAt least Windows 7 or Windows Server 2008 R2*
- ComputerTurn on BranchCacheAt least Windows 7 or Windows Server 2008 R2*