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

# Windows - Lent à formater un nouveau disque

Les hôtes Windows Server 2012 (et versions ultérieures) émettront, par défaut, des commandes SCSI **TRIM** et **Unmap** équivalentes à la taille totale du disque virtuel. Ce comportement est le même même si l'option « Effectuer un formatage rapide » est cochée, ce qui ralentit considérablement le processus de formatage.

Il est possible de désactiver la **TRIM SCSI** et **Unmap** fonctionnalité sur l'hôte pendant la durée du formatage.

## Pour désactiver TRIM et Unmap

À l'aide d'une fenêtre Windows **CMD** sur l'hôte, exécutez la commande suivante :

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

## Pour réactiver la fonctionnalité

Utilisez la commande suivante pour réactiver la **fonctionnalité Trim et Unmap** :

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

## Pour vérifier le paramètre actuel

Vous pouvez vérifier le **fonctionnalité Trim et Unmap** paramètre actuel en exécutant la commande suivante :

```doscon
fsutil behavior query DisableDeleteNotify
```

La sortie affichera l'un des éléments suivants :

* **DisableDeleteNotify=0** - La fonctionnalité « Trim et Unmap » est **sur** (activée).
* **DisableDeleteNotify=1** - La fonctionnalité « Trim et Unmap » est **désactivée** (désactivée).

{% hint style="info" %}
**Versions concernées**

* Seuls les hôtes Windows Server 2012 et versions ultérieures sont concernés. Toutes les versions antérieures (par ex., Windows 2008) ne présentent pas le même problème.
  {% endhint %}

{% hint style="info" %}
**Versions non serveur**

* Les versions non serveur de Windows (par ex., Windows 8.x et 10.x) ne prennent pas en charge le **paramètre DisableDeleteNotify** .
  {% endhint %}

***

{% hint style="info" %}
**Informations sur le document**

* Dernière mise à jour : 2024-08-29
* Version de VergeOS : 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, and the optional `goal` query parameter:

```
GET https://docs.verge.io/knowledge-base/fr/virtual-machines/windows--slow-to-format-a-new-disk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
