Applies To: Windows Server 2016
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.
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
Run Windows PowerShell as an Administrator, type mmc, and then press ENTER. The Microsoft Management Console (MMC) opens.
In the MMC, on the File menu, click Add/Remove Snap-in. The Add or Remove Snap-ins dialog box opens.
In Add or Remove Snap-ins, in Available snap-ins, double-click Group Policy Management, and then click OK.
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.
Right-click the BranchCache Hash Publication GPO and click Edit. The Group Policy Management Editor console opens.
In the Group Policy Management Editor console, expand the following path: Computer Configuration, Policies, Administrative Templates, Network, Lanman Server.
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.
In the Hash Publication for BranchCache dialog box, click Enabled.
In Options, click Allow hash publication for all shared folders, and then click one of the following:
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.
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.
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.
In most cases, you must save the MMC console and refresh the view to display the configuration changes you have made.