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

Configure the BranchCache Hash Publication Group Policy Object

· 52CE 我爱测

Learn how to configure the BranchCache hash publication Group Policy Object (GPO) so that all file servers that you added to your OU have the same hash publication policy setting applied to them.

You can use this procedure to configure the BranchCache hash publication Group Policy Object (GPO) so that all file servers that you added to your OU have the same hash publication policy setting applied to them.

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

Note: Before performing this procedure, you must create the BranchCache file servers organizational unit, move file servers into the OU, and create the BranchCache hash publication GPO. For more information, see Enable Hash Publication for Domain Member File Servers.

To configure the BranchCache hash publication Group Policy Object

  1. Run Windows PowerShell as an Administrator, type mmc, and then press ENTER. The Microsoft Management Console (MMC) opens.

  2. In the MMC, on the File menu, click Add/Remove Snap-in. The Add or Remove Snap-ins dialog box opens.

  3. In Add or Remove Snap-ins, in Available snap-ins, double-click Group Policy Management, and then click OK.

  4. In the Group Policy Management MMC, expand the path to the BranchCache hash publication GPO that you previously created. For example, if your forest is named example.com, your domain is named example1.com, and your GPO is named BranchCache Hash Publication, expand the following path: Group Policy Management, Forest: example.com, Domains, example1.com, Group Policy Objects, BranchCache Hash Publication.

  5. Right-click the BranchCache Hash Publication GPO and click Edit. The Group Policy Management Editor console opens.

  6. In the Group Policy Management Editor console, expand the following path: Computer Configuration, Policies, Administrative Templates, Network, Lanman Server.

  7. In the Group Policy Management Editor console, click Lanman Server. In the details pane, double-click Hash Publication for BranchCache. The Hash Publication for BranchCache dialog box opens.

  8. In the Hash Publication for BranchCache dialog box, click Enabled.

  9. In Options, click Allow hash publication for all shared folders, and then click one of the following:

    1. To enable hash publication for all shared folders for all file servers that you added to the OU, click Allow hash publication for all shared folders.

    2. To enable hash publication only for shared folders for which BranchCache is enabled, click Allow hash publication only for shared folders on which BranchCache is enabled.

    3. To disallow hash publication for all shared folders on the computer even if BranchCache is enabled on the file shares, click Disallow hash publication on all shared folders.

  10. Click OK.

Note: In most cases, you must save the MMC console and refresh the view to display the configuration changes you have made.

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)

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

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