大网数据广告活动
网络与域名解析

Verify Client Computer Settings

· 52CE 我爱测

Learn how to verify that the client computer is correctly configured for BranchCache.

You can use this procedure to verify that the client computer is correctly configured for BranchCache.

Note: This procedure includes steps for manually updating Group Policy and for restarting the BranchCache service. You do not need to perform these actions if you reboot the computer, as they will occur automatically in this circumstance.

You must be a member of Administrators, or equivalent to perform this procedure.

To verify BranchCache client computer settings

  1. To refresh Group Policy on the client computer whose BranchCache configuration you want to verify, run Windows PowerShell as an Administrator, type the following command, and then press ENTER.

    gpupdate /force

  2. For client computers that are configured in hosted cache mode and are configured to automatically discover hosted cache servers by service connection point, run the following commands to stop and restart the BranchCache service.

    net stop peerdistsvc

    net start peerdistsvc

  3. Inspect the current BranchCache operational mode by running the following command.

    Get-BCStatus

  4. In Windows PowerShell, review the output of the Get-BCStatus command.

    The value for BranchCacheIsEnabled should be True.

    In ClientSettings, the value for CurrentClientMode should be DistributedClient or HostedCacheClient, depending on the mode that you configured using this guide.

    In ClientSettings, if you configured hosted cache mode and provided the names of your hosted cache servers during configuration, or if the client has automatically located hosted cache servers using service connection points, HostedCacheServerList should have a value that is the same as the name or names of your hosted cache servers. For example, if your hosted cache server is named HCS1 and your domain is corp.contoso.com, the value for HostedCacheServerList is HCS1.corp.contoso.com.

  5. If any of the BranchCache settings listed above do not have the correct values, use the steps in this guide to verify the Group Policy or Local Computer Policy settings, as well as the firewall exceptions, that you configured, and ensure that they are correct. In addition, either restart the computer or follow the steps in this procedure to refresh Group Policy and restart the BranchCache service.

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 01/05/2021
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。