# Format disk

The Format disk step will partition and format the specified disk using the recommended Windows disk layout for UEFI devices.

{% hint style="info" %}
As of DeployR 1.1 this step also supports Legacy BIOS machines.
{% endhint %}

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

DeployR specifies partition sizes slightly larger than the recommended values to avoid servicing and backup issues that can occur when the partitions are too small.  The default layout created by DeployR is:

* System partition.  A 499MB partition formatted as FAT32, containing the UEFI files necessary to boot the operating system.  (Note that larger sizes require additional free disk space to create a VSS snapshot, hence the 499MB default.)
* Microsoft Reserved partition.  A 128MB reserved partition, managed by the Windows operating system.
* Windows partition.  This NTFS-formatted partition holds the operating system, apps, data files, etc. for the Windows installation.  The size of this partition is determined by subtracting the sizes of the other partitions from the total size on the disk specified.
* Recovery partition.  This 1GB NTFS-formatted partition holds a Windows RE recovery image (winre.wim).

See the **Microsoft documentation** for more information. &#x20;


---

# 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/format-disk.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.
