# Capture image

Afer a Windows operating system has been prepared for capture (running sysprep.exe /generalize /oobe), the device can boot to Windows PE.  The Capture image step will capture a Windows image (.wim) file and automatically upload it to the specified operating system content item.

<figure><img src="/files/BwmN29aROyvS8p1hslFE" alt=""><figcaption></figcaption></figure>

The **Create a new version** checkbox will add a new content item version each time the **Capture Image** step is run.  If that is not checked, the captured OS image will overwrite the content item version selected.


---

# 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/deployr/reference/step-definitions/capture-image.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.
