# AutoUnattend.xml

#### Here's an example of adding this to an AutoUnattend.xml.  In this example, I have added some Parameters

* UEFI System Partition = 500MB
* Recovery Partition = 800MB
* OS Partition Label = OSDeploy

#### I've also added a Transcript which saves to X:\Sources by default, and a Sleep timeout of 5 seconds so I can get a screenshot

```
<RunSynchronousCommand wcm:action="add">
    <Order>4</Order>
    <Description>New-OSDDiskWinPE</Description>
    <Path>PowerShell -Command "& {Start-Transcript|Out-Null;New-OSDDiskWinPE -SSU 500MB -SR 800MB -LO OSDeploy;Stop-Transcript;Sleep -S 5}"</Path>
</RunSynchronousCommand>
```

#### This is what it looks like during RunSynchronousCommand processing

![](/files/-Lqgz3uO0v2S_Uuzv-SI)

#### And the Partitions in Windows Setup

![](/files/-Lqgz86Vbc4pPFYGEJsB)


---

# 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://osd.osdeploy.com/docs/guides/partitions/autounattend.xml.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.
