安裝 BranchCache 功能

適用於:Windows Server 2022、Windows Server 2019、Windows Server 2016

您可以使用此程序來安裝 BranchCache 功能,並在執行 Windows Server 2016、Windows Server® 2012 R2 或 Windows Server 2012 的電腦上啟動 BranchCache 服務。

若要執行此程序,至少需要 Administrators 的成員資格或同等權限。

執行此程序之前,建議您安裝及設定以 BITS 為基礎的應用程序或 Web 服務器。

注意

若要使用 Windows PowerShell 執行此程序,請以系統管理員身分執行 Windows PowerShell、在 Windows PowerShell 提示字元中輸入下列命令,然後按 ENTER。

Install-WindowsFeature BranchCache

Restart-Computer

安裝並啟用 BranchCache 功能

  1. 在 [伺服器管理員] 中,按一下 [管理],然後按一下 [新增角色及功能]。 [新增角色及功能精靈] 隨即開啟。 按一下 [下一步] 。

  2. 在 [選取安裝類型] 中,確定已選取 [角色型或功能型安裝],然後按 [下一步]

  3. 在 [選取目的地伺服器] 中,確定已選取正確的伺服器,然後按 [下一步]

  4. 在 [選取伺服器角色] 中按 [下一步]

  5. 在 [選取功能] 中,按一下 [BranchCache],然後按 [下一步]

  6. 在 [確認安裝選項] 中,按一下 [安裝]。 在 [安裝進度] 中,BranchCache 功能安裝會繼續進行。 安裝完成時,按一下 [關閉]

安裝 BranchCache 功能之後,已啟用 BranchCache 服務,也稱為 PeerDistSvc,啟動類型為 Automatic。