> For the complete documentation index, see [llms.txt](https://osd.osdeploy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://osd.osdeploy.com/docs/guides/partitions/autounattend.xml.md).

# 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

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-Lqgy4uLd9VcIMBPt-Ba%2F-Lqgz3uO0v2S_Uuzv-SI%2Fimage.png?alt=media\&token=e22740ba-649a-445f-9d89-a5b7131d4c2e)

#### And the Partitions in Windows Setup

![](https://3420392058-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LpnxLqvh8u2fEz86kIM%2F-Lqgy4uLd9VcIMBPt-Ba%2F-Lqgz86Vbc4pPFYGEJsB%2Fimage.png?alt=media\&token=595254d0-f151-42c6-a075-8e909af352f4)
