讓 BranchCache 檔案共用(選擇性)Enable BranchCache on a File Share (Optional)

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

您可以使用此程序,以便 BranchCache 檔案共用。You can use this procedure to enable BranchCache on a file share.

重要

您不需要執行此程序,如果您設定 hash 發行值的允許 hash 發行的所有共用資料夾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.

若要讓 BranchCache 檔案共用To enable BranchCache on a file share

  1. 開放的 Windows PowerShell,輸入mmc,然後按 ENTER 鍵。Open Windows PowerShell, type mmc, and then press ENTER. Microsoft Management Console (MMC) 開啟。The Microsoft Management Console (MMC) opens.

  2. 在 MMC,在檔案功能表上,按新增/移除嵌入式管理單元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 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.

  4. 按兩下共用資料夾(本機),然後按共用Double-click Shared Folders (Local), and then click Shares.

  5. 在詳細資料窗格中,以滑鼠右鍵按一下 [共用],然後按一下 [屬性In the details pane, right-click a share, and then click Properties. 分享的屬性對話方塊。The share's Properties dialog box opens.

  6. 屬性對話方塊中,於一般索引標籤上,按一下 [ Offline 設定In the Properties dialog box, on the General tab, click Offline Settings. Offline 設定對話方塊。The Offline Settings dialog box opens.

  7. 確認的檔案和程式的使用者指定的提供 offline 僅已選取,然後按一下 [可讓 BranchCacheEnsure that Only the files and programs that users specify are available offline is selected, and then click Enable BranchCache.

  8. 按一下[確定]兩次。Click OK twice.