> For the complete documentation index, see [llms.txt](https://documentation.2pintsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.2pintsoftware.com/deployr/1.2/reference/task-sequence-templates/windows-build-and-capture.md).

# Windows build and capture

The "Windows build and capture" template is designed to apply an operating system to the disk (without drivers, so typically performed in a virtual amchine) that is then updated by installing Windows updates, installing applications, and making any other customizations.  After the customizations have been applied, the OS is prepared for capture (using Sysprep) and captured automatically from Windows PE as a new Windows image (.wim) file.

After importing this task sequence, edit the [Apply OS](/deployr/1.2/reference/step-definitions/apply-operating-system.md) step to specify which operating system content item to install, then add any customizations needed in the "Customizations" folder.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/deployr/1.2/reference/task-sequence-templates/windows-build-and-capture.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.
