> 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

Cách khắc phục việc định dạng ổ đĩa ảo chậm trong Windows Server 2012 trở lên bằng cách tạm thời vô hiệu hóa các lệnh SCSI TRIM và Unmap bằng fsutil.

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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
