# 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](/osd-toolkit/appendix/2pint-osd-toolkit-task-sequence-module-details.md#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**](/osd-toolkit/appendix/2pint-osd-toolkit-task-sequence-module-details/module-2pint-software-osd-toolkit-phase-3.md).&#x20;

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

<figure><img src="/files/9PRS2zDj3ZJ4VkWB9tA7" 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="/files/RTGBsD3aIYjDWgFRsFHZ" 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="/files/sSMPOCeHkuOMizrrxxiw" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/osd-toolkit/customization/enabling-branchcache-in-the-deployment.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
