設定服務連接點所 Client 自動裝載快取探索Configure Client Automatic Hosted Cache Discovery by Service Connection Point

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

使用此程序中,您可以使用群組原則讓並執行下列 BranchCache\ 能力的 Windows 作業系統 domain\ 加入的電腦上設定 BranchCache 裝載快取模式。With this procedure you can use Group Policy to enable and configure BranchCache hosted cache mode on domain-joined computers that are running the following BranchCache-capable Windows operating systems.

  • Windows 10 企業版Windows 10 Enterprise
  • Windows 10 教育版Windows 10 Education
  • Windows 8.1 企業版Windows 8.1 Enterprise
  • Windows 8 企業版Windows 8 Enterprise

注意

若要設定 [加入網域的電腦是執行 Windows Server 2008 R2 或 Windows 7,查看 Windows Server 2008 R2 BranchCache 部署指南To configure domain-joined computers that are running Windows Server 2008 R2 or Windows 7, see the Windows Server 2008 R2 BranchCache Deployment Guide.

資格在網域系統管理員,或相當於的最低需求才能執行此程序。Membership in Domain Admins, or equivalent is the minimum required to perform this procedure.

若要使用群組原則,將裝載快取模式的伺服器設定To use Group Policy to configure clients for hosted cache mode

  1. 在電腦上安裝所在的 Active Directory Domain Services 伺服器角色,開放伺服器管理員,選取 [本機伺服器,按一下 [工具,然後按群組原則管理On a computer upon which the Active Directory Domain Services server role is installed, open Server Manager, select the Local Server, click Tools, and then click Group Policy Management. 群組原則管理主控台開啟。The Group Policy Management console opens.

  2. 在群組原則管理主控台中,展開下列路徑:樹系:corp.contoso.com網域corp.contoso.com群組原則物件,其中corp.contoso.com BranchCache client 電腦帳號您想要設定的網域名稱。In the Group Policy Management console, expand the following path: Forest: corp.contoso.com, Domains, corp.contoso.com, Group Policy Objects, where corp.contoso.com is the name of the domain where the BranchCache client computer accounts that you want to configure are located.

  3. Right\ 按一下群組原則物件,然後按一下 [新增]Right-click Group Policy Objects, and then click New. 新的 GPO對話方塊。The New GPO dialog box opens. 名稱,輸入名稱的新的群組原則物件 (GPO)。In Name, type a name for the new Group Policy object (GPO). 如果您想要的物件 BranchCache Client 電腦的名稱,例如,輸入BranchCache Client 電腦For example, if you want to name the object BranchCache Client Computers, type BranchCache Client Computers. 按一下[確定]Click OK.

  4. 在群組原則管理主控台中,確定群組原則物件已選取狀態,並在詳細資料窗格 right-,按一下您剛 GPO 建立。In the Group Policy Management console, ensure that Group Policy Objects is selected, and in the details pane right-click the GPO that you just created. 例如,如果您名 GPO BranchCache Client 部電腦上,按一下 right\ BranchCache Client 電腦For example, if you named your GPO BranchCache Client Computers, right-click BranchCache Client Computers. 按一下編輯Click Edit. 群組原則編輯器] 管理主控台開啟。The Group Policy Management Editor console opens.

  5. 在群組原則編輯器] 管理主控台中,展開下列路徑:電腦設定原則系統管理範本:原則定義 (ADMX files) 擷取的本機電腦網路BranchCacheIn the Group Policy Management Editor console, expand the following path: Computer Configuration, Policies, Administrative Templates: Policy definitions (ADMX files) retrieved from the local computer, Network, BranchCache.

  6. 按一下BranchCache,然後在詳細資料窗格中,double\ 按打開 BranchCacheClick BranchCache, and then in the details pane, double-click Turn on BranchCache. 上 BranchCache 關閉對話方塊。The Turn on BranchCache dialog box opens.

  7. 上 BranchCache 關閉對話方塊中,按一下 [啟用,,然後按一下 [ [確定]In the Turn on BranchCache dialog box, click Enabled, and then click OK.

  8. 在群組原則編輯器] 管理主控台中,確定BranchCache仍然選取,然後在詳細資料窗格 double\ 按讓自動裝載快取探索服務連接點來In the Group Policy Management Editor console, ensure that BranchCache is still selected, and then in the details pane double-click Enable Automatic Hosted Cache Discovery by Service Connection Point. 原則設定對話方塊。The policy setting dialog box opens.

  9. 讓自動裝載快取探索服務連接點,對話方塊中,按啟用,,然後按一下 [ [確定]In the Enable Automatic Hosted Cache Discovery by Service Connection Point dialog box, click Enabled, and then click OK.

  10. 若要讓 client 電腦下載及快取的 BranchCache content 檔案 server\ 型內容伺服器:在群組原則編輯器] 管理主控台中,確定BranchCache仍然選取,然後在詳細資料窗格 double\ 按BranchCache 網路的檔案To enable client computers to download and cache content from BranchCache file server-based content servers: In the Group Policy Management Editor console, ensure that BranchCache is still selected, and then in the details pane double-click BranchCache for network files. 設定 BranchCache 網路檔案的對話方塊。The Configure BranchCache for network files dialog box opens.

  11. 設定 BranchCache 網路檔案的對話方塊中,按啟用In the Configure BranchCache for network files dialog box, click Enabled. 選項,輸入數字,最大來回網路延遲時間,毫秒,然後按[確定]In Options, type a numeric value, in milliseconds, for the maximum round trip network latency time, and then click OK.

    注意

    根據預設,client 電腦快取 content 檔案伺服器的如果超過 80 毫秒來回網路延遲。By default, client computers cache content from file servers if the round trip network latency is longer than 80 milliseconds.

  12. 若要設定的配置 BranchCache 快取的每個 client 電腦上的硬碟空間:在群組原則編輯器] 管理主控台中,確定BranchCache仍然選取,然後在詳細資料窗格 double-中,按一下設定的使用 client 電腦快取的磁碟空間To configure the amount of hard disk space allocated on each client computer for the BranchCache cache: In the Group Policy Management Editor console, ensure that BranchCache is still selected, and then in the details pane double-click Set percentage of disk space used for client computer cache. 設定用於 client 電腦快取的磁碟空間的對話方塊。The Set percentage of disk space used for client computer cache dialog box opens. 按一下啟用,然後在選項輸入數字,表示百分比的每個 client 電腦上使用 BranchCache 快取的硬碟空間值。Click Enabled, and then in Options type a numeric value that represents the percentage of hard disk space used on each client computer for the BranchCache cache. 按一下[確定]Click OK.

  13. 天的區段是有效 client 電腦上 BranchCache 資料快取中指定的預設年代,:在群組原則編輯器] 管理主控台中,確定BranchCache仍然選取,然後在詳細資料窗格中,double-按一下區段的年齡設定資料快取中To specify the default age, in days, for which segments are valid in the BranchCache data cache on client computers: In the Group Policy Management Editor console, ensure that BranchCache is still selected, and then in the details pane double-click Set age for segments in the data cache. 設定年齡區段的快取的資料在對話方塊。The Set age for segments in the data cache dialog box opens. 按一下啟用,然後在詳細資料窗格中輸入您想要的天數。Click Enabled, and then in the details pane type the number of days that you prefer. 按一下[確定]Click OK.

  14. 視您的部署設定 client 電腦的其他 BranchCache 原則設定。Configure additional BranchCache policy settings for client computers as appropriate for your deployment.

  15. 分支 office client 電腦上重新整理群組原則來執行命令gpupdate /force,或 client 電腦重新開機一次。Refresh Group Policy on branch office client computers by running the command gpupdate /force, or by rebooting the client computers.

您 BranchCache 裝載快取模式部署現已完成。Your BranchCache Hosted Cache mode deployment is now complete.

本指南技術的其他資訊,請查看其他資源For additional information on the technologies in this guide, see Additional Resources.