Enable BranchCache on a File Share (Optional)
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016
You can use this procedure to enable BranchCache on a file share.
You do not need to perform this procedure if you configure the hash publication setting with the value Allow hash publication for all shared folders.
Membership in Administrators, or equivalent is the minimum required to perform this procedure.
To enable BranchCache on a file share
Open Windows PowerShell, 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 Shared Folders. The Shared Folders Wizard opens with the Local Computer object selected. Configure the View that you prefer, click Finish, and then click OK.
Double-click Shared Folders (Local), and then click Shares.
In the details pane, right-click a share, and then click Properties. The share's Properties dialog box opens.
In the Properties dialog box, on the General tab, click Offline Settings. The Offline Settings dialog box opens.
Ensure that Only the files and programs that users specify are available offline is selected, and then click Enable BranchCache.
Click OK twice.