# Customizing a Task Sequence to Support BranchCache

Once you have a BranchCache enabled WinPE image it’s time to edit a task sequence to enable BranchCache and configure the Cache Location.

## Prerequisites

There are three phases within a task sequence which need to be modified in order to support BranchCache. Rather than documenting each task individually, 2Pint has conveniently created three task sequence modules which can be downloaded and imported into Configuration Manager directly.&#x20;

### Downloading the 2Pint Task Sequence Modules

Prior to continuing, you will need to visit the page which describes how to [Download and Import the 2Pint Task Sequence Modules](https://documentation.2pintsoftware.com/osd-toolkit/appendix/2pint-osd-toolkit-task-sequence-module-details#downloading-the-2pint-task-sequence-modules).

### Adding Support for the StifleR Client

If you are currently using a StifleR Server, the StifleR Client should be installed during the task sequence in order to support peer-to-peer downloads of Software Updates or Applications later in the task sequence. In the Phase 3 Module, there is a disabled step which can be enabled to install the StifleR Client package.&#x20;

{% hint style="warning" %}
Important Note: Even if you are not using the OSD Modules referenced on this page, it is highly recommended that you install the StifleR Client as soon as possible after the "Setup Windows and Configuration Manager" step in your task sequence.&#x20;
{% endhint %}

{% hint style="info" %}
Note: In order for the 2Pint Alternate Content Provider (BITSAcp.exe) to download the StifleR Client using p2p, the StifleR Client must be created as a **package** and not an Application.&#x20;
{% endhint %}

If you want to include support for installing the StifleR Client, edit the task sequence: [**Module- 2Pint Software OSD Toolkit Phase 3**](https://documentation.2pintsoftware.com/osd-toolkit/appendix/2pint-osd-toolkit-task-sequence-module-details/module-2pint-software-osd-toolkit-phase-3).&#x20;

**Enable** the "Installing StifleR..." task in the **Options** tab, and select the Package and Program for the StifleR Client.&#x20;

<figure><img src="https://3075239390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2TKXuL2g2cUsjqBYN3Jc%2Fuploads%2Fd8jHfrhI4x0NSSjfpEuF%2FOSDToolkit3.1.9.0-EnablingStifleRClientPkg.jpg?alt=media&#x26;token=00ec24cc-250d-42c6-aab1-d20121facc0b" alt=""><figcaption></figcaption></figure>

## Enabling BranchCache in a Deployment Sequence

You can add the above Task Sequences Modules to your deployment task sequence in specific sections of your current task sequence.

This can be done in the Task Sequence editor by selecting **Add** - **General** - **Run Task Sequence**.

<div align="left"><figure><img src="https://3075239390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2TKXuL2g2cUsjqBYN3Jc%2Fuploads%2FgCCJaktZvhZf4ifR6uCV%2FOSDToolkit3.1.9.0-AddingTaskSequence.jpg?alt=media&#x26;token=507d0ce9-7d7c-4264-99bb-2d0cf8d9d210" alt=""><figcaption></figcaption></figure></div>

The task sequences are then added as steps under your task sequence within the sections below.&#x20;

<div align="left"><figure><img src="https://3075239390-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2TKXuL2g2cUsjqBYN3Jc%2Fuploads%2FTdDlUXkbOvOXCCltck2C%2FOSDToolkit3.1.9.0-TaskSequenceStepLocations.jpg?alt=media&#x26;token=0ffb2d26-694d-41c3-a605-889e3a5fc1c0" alt=""><figcaption></figcaption></figure></div>
