BranchCache and Operating System Deployment
Recently I have gotten some feedback on Operating System Deployment in Configuration Manager 2007 SP2 not properly leveraging BranchCache. Let’s cover some of the implementation details to ensure this is working correctly.
The most likely issue is caused due to the fact that the GPO is not being applied during the OS provisioning process. After the OS reboots and completes the setup portion, setup returns to the task sequence to complete its actions. During this time the task sequence is still in a provisioning mode. This part of the operating system deployment blocks the GPOs from being processed until the task sequence completes.
Here are a few things you can do to ensure that BranchCache is running optimal in the Operating System Deployment process.
- Make sure BranchCache is correctly configured and working prior to operation system deployment. This is key just to make sure there are no other problems in the environment.
- To take advantage of BranchCache mid-deployment you will need to configure the BranchCache settings. To do this you will need to do one of the following:
- Configure BranchCache in you master image
- Add a “Run Command Line” action to your task sequence immediately after the “setup Windows and ConfigMgr” action.
You can configure BranchCache by running the following command:
When configuring client computers, you can enable BranchCache in Distributed Cache mode with a single netsh command. Note: Group Policy overrides netsh configuration.
To enable BranchCache in Distributed Cache mode
Open an elevated Command Prompt window (click the Start button, type command in the Start Search box, right-click Command Prompt, and then click Run as administrator).
Run the following command: netsh branchcache set service mode=DISTRIBUTED
Note: Running this command automatically configures the host firewall for Distributed Cache mode.
After you complete these steps, you will should be able to take full advantage of the benefits of BranchCache during an operating system deployment.
Credit: http://technet.microsoft.com/en-us/library/dd637820(WS.10).aspx for BranchCache configuration steps.
These postings are provided "AS IS" with no warranties, and confer no rights.
Contributed By: John Vintzel
Microsoft Corporation| Program Manager | System Center Configuration Manager | twitter: jvintzel
Comments
- Anonymous
June 10, 2010
非常高兴看到你的这篱文章,非常好!向你学习! BranchCache功能我想知道具体应用在什么场景?这也许是我们更注意的内容!