> For the complete documentation index, see [llms.txt](https://docs.vergeos-demo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vergeos-demo.com/knowledge-base/virtual-machines/windows--slow-to-format-a-new-disk.md).

# Windows - Slow to Format a New Disk

Windows Server 2012 (and later) hosts will, by default, issue SCSI **TRIM** and **Unmap** commands equivalent to the entire size of the virtual disk. This behavior is the same even if the "Perform a quick format" option is checked, which significantly slows down the format process.

It is possible to disable the **SCSI TRIM** and **Unmap** feature on the host for the duration of the format.

## To Disable TRIM and Unmap

Using a Windows **CMD** window on the host, issue the following command:

```doscon
fsutil behavior set DisableDeleteNotify 1
```

## To Re-enable the Feature

Use the following command to re-enable the **Trim and Unmap** feature:

```doscon
fsutil behavior set DisableDeleteNotify 0
```

## To Verify the Current Setting

You can verify the current **Trim and Unmap** setting by issuing the following command:

```doscon
fsutil behavior query DisableDeleteNotify
```

The output will show one of the following:

* **DisableDeleteNotify=0** - The 'Trim and Unmap' feature is **on** (enabled).
* **DisableDeleteNotify=1** - The 'Trim and Unmap' feature is **off** (disabled).

{% hint style="info" %}
**Affected Versions**

* Only Windows Server 2012 and later hosts are affected. All earlier versions (e.g., Windows 2008) do not exhibit the same issue.
  {% endhint %}

{% hint style="info" %}
**Non-server Versions**

* Non-server versions of Windows (e.g., Windows 8.x and 10.x) do not support the **DisableDeleteNotify** parameter.
  {% endhint %}

***

{% hint style="info" %}
**Document Information**

* Last Updated: 2024-08-29
* VergeOS Version: 4.12.6
  {% endhint %}


---

# 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://docs.vergeos-demo.com/knowledge-base/virtual-machines/windows--slow-to-format-a-new-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.
