> 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-disks-showing-offline-after-restarting.md).

# Ổ đĩa Windows hiển thị ngoại tuyến sau khi khởi động lại

Cách khắc phục các ổ đĩa ảo phụ hiển thị là ngoại tuyến sau khi khởi động lại một VM Windows đã nhập vào VergeOS, bằng lệnh PowerShell Set-StorageSetting.

Sau khi nhập một VM vào nền tảng VergeOS, một số đĩa (ảo) có thể không trực tuyến sau khi khởi động lại VM khách.

Bắt đầu từ Windows 2008, Microsoft đã thêm một thiết lập cho trạng thái mặc định của các ổ đĩa bổ sung (không phải hệ điều hành). Đôi khi khi khởi động lại, Windows có thể phát hiện một thay đổi phần cứng, điều này có khả năng cao hơn nếu VM được nhập từ một hypervisor khác. Khi Windows phát hiện thay đổi phần cứng, nó có thể không tự động đưa các đĩa ảo phụ lên trực tuyến. Để thay đổi điều này sang thiết lập được khuyến nghị, hãy chạy Windows PowerShell sau:

```ps1con
Set-StorageSetting -NewDiskPolicy OnlineAll
```

Ngoài ra, việc này có thể được thực hiện từ dòng lệnh bằng diskpart hoặc từ Disk Management.

***

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

* Cập nhật lần cuối: 2024-08-10
* Phiên bản vergeOS: 4.11
  {% 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-disks-showing-offline-after-restarting.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.
