Policy
Hash Publication for BranchCache
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 a hash generation service generates hashes, also called content information, for data that is stored in shared folders. This policy setting must be applied to server computers that have the File Services role and both the File Server and the BranchCache for Network Files role services installed. Policy configuration Select one of the following: - Not Configured. With this selection, hash publication settings are not applied to file servers. In the circumstance where file servers are domain members but you do not want to enable BranchCache on all file servers, you can specify Not Configured for this domain Group Policy setting, and then configure local machine policy to enable BranchCache on individual file servers. Because the domain Group Policy setting is not configured, it will not over-write the enabled setting that you use on individual servers where you want to enable BranchCache. - Enabled. With this selection, hash publication is turned on for all file servers where Group Policy is applied. For example, if Hash Publication for BranchCache is enabled in domain Group Policy, hash publication is turned on for all domain member file servers to which the policy is applied. The file servers are then able to create content information for all content that is stored in BranchCache-enabled file shares. - Disabled. With this selection, hash publication is turned off for all file servers where Group Policy is applied. In circumstances where this policy setting is enabled, you can also select the following configuration options: - Allow hash publication for all shared folders. With this option, BranchCache generates content information for all content in all shares on the file server. - Allow hash publication only for shared folders on which BranchCache is enabled. With this option, content information is generated only for shared folders on which BranchCache is enabled. If you use this setting, you must enable BranchCache for individual shares in Share and Storage Management on the file server. - Disallow hash publication on all shared folders. With this option, BranchCache does not generate content information for any shares on the computer and does not send content information to client computers that request content.
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 |
|---|---|---|---|
Hash publication actions: ID Lbl_HashPublicationActionCombo | enum | HKLM\Software\Policies\Microsoft\Windows\LanmanServer\HashPublicationForPeerCaching Type REG_DWORD | Options: Allow hash publication only for shared folders on which BranchCache is enabled (0), Disallow hash publication on all shared folders (1), Allow hash publication for all shared folders (2) |
Other policies in this category
Explore related policies at the same level.
- ComputerAudit client does not support encryptionAt least Windows Server 2025, Windows 11
- ComputerAudit client does not support signingAt least Windows Server 2008 R2 or Windows 7
- ComputerAudit insecure guest logonAt least Windows Server 2025, Windows 11
- ComputerAudit SMB client SPN supportAt least Windows Server 2008 R2 or Windows 7
- ComputerCipher suite orderAt least Windows Server 2016, Windows 10
- ComputerDisable SMB compressionAt least Windows Server 2022, Windows 11
- ComputerEnable authentication rate limiterAt least Windows Server 2025, Windows 11
- ComputerEnable remote mailslotsAt least Windows Server 2025, Windows 11
- ComputerEnable SMB over QUICAt least Windows Server 2025, Windows 11
- ComputerHash Version support for BranchCacheAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerHonor cipher suite orderAt least Windows Server 2016, Windows 10
- ComputerMandate the maximum version of SMBAt least Windows Server 2022, Windows 11