> 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/vi/virtual-machines/windows--slow-to-format-a-new-disk.md).

# Windows - Định dạng một đĩa mới chậm

Máy chủ Windows Server 2012 (và mới hơn) sẽ, theo mặc định, phát các lệnh SCSI **TRIM** và **Unmap** tương đương với toàn bộ dung lượng của đĩa ảo. Hành vi này vẫn giống như vậy ngay cả khi tùy chọn "Thực hiện định dạng nhanh" được chọn, điều này làm chậm đáng kể quá trình định dạng.

Có thể vô hiệu hóa **SCSI TRIM** và **Unmap** tính năng này trên máy chủ trong suốt quá trình định dạng.

## Để vô hiệu hóa TRIM và Unmap

Sử dụng một cửa sổ Windows **CMD** trên máy chủ, hãy chạy lệnh sau:

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

## Để bật lại tính năng

Sử dụng lệnh sau để bật lại **Trim và Unmap** tính năng:

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

## Để xác minh cài đặt hiện tại

Bạn có thể xác minh cài đặt hiện tại **Trim và Unmap** bằng cách chạy lệnh sau:

```doscon
fsutil behavior query DisableDeleteNotify
```

Đầu ra sẽ hiển thị một trong các giá trị sau:

* **DisableDeleteNotify=0** - Tính năng 'Trim và Unmap' đang **vào** (được bật).
* **DisableDeleteNotify=1** - Tính năng 'Trim và Unmap' đang **tắt** (đã tắt).

{% hint style="info" %}
**Các phiên bản bị ảnh hưởng**

* Chỉ các máy chủ Windows Server 2012 và mới hơn mới bị ảnh hưởng. Tất cả các phiên bản trước đó (ví dụ: Windows 2008) không gặp phải vấn đề tương tự.
  {% endhint %}

{% hint style="info" %}
**Các phiên bản không phải máy chủ**

* Các phiên bản Windows không phải máy chủ (ví dụ: Windows 8.x và 10.x) không hỗ trợ **DisableDeleteNotify** tham số.
  {% endhint %}

***

{% hint style="info" %}
**Thông tin tài liệu**

* Cập nhật lần cuối: 2024-08-29
* Phiên bản 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/vi/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.
