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

Enable Hash Publication for Non-Domain Member File Servers

· 52CE 我爱测

Learn how to configure hash publication for BranchCache using local computer Group Policy on a file server with the BranchCache for Network Files role service of the File Services server role installed.

You can use this procedure to configure hash publication for BranchCache using local computer Group Policy on a file server that is running Windows Server 2016 with the BranchCache for Network Files role service of the File Services server role installed.

This procedure is intended for use on a non-domain member file server. If you perform this procedure on a domain member file server and you also configure BranchCache using domain Group Policy, domain Group Policy settings override local Group Policy settings.

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

Note: If you have one or more domain member file servers, you can add them to an organizational unit (OU) in Active Directory Domain Services and then use Group Policy to configure hash publication for all of the file servers at one time, rather than individually configuring each file server. For more information, see Enable Hash Publication for Domain Member File Servers.

To enable hash publication for one file server

  1. Open Windows PowerShell, 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 Object Editor. The Group Policy Wizard opens with the Local Computer object selected. Click Finish, and then click OK.

  4. In the Local Group Policy Editor MMC, expand the following path: Local Computer Policy, Computer Configuration, Administrative Templates, Network, Lanman Server. Click Lanman Server.

  5. In the details pane, double-click Hash Publication for BranchCache. The Hash Publication for BranchCache dialog box opens.

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

  7. 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 on this computer, 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.

  8. Click OK.

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)

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

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