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

# Disques Windows affichés hors ligne après redémarrage

Comment corriger des disques virtuels secondaires qui apparaissent hors ligne après le redémarrage d’une VM Windows importée dans VergeOS, à l’aide de la commande PowerShell Set-StorageSetting.

Après l’importation d’une VM dans la plateforme VergeOS, certains disques (virtuels) peuvent ne pas se mettre en ligne après un redémarrage de la VM invitée.

À partir de Windows 2008, Microsoft a ajouté un paramètre pour l’état par défaut des lecteurs de disque supplémentaires (non liés à l’OS). Il arrive parfois qu’au redémarrage, Windows détecte un changement matériel, ce qui est plus probable si la VM a été importée depuis un hyperviseur différent. Lorsque Windows détecte un changement matériel, il peut ne pas mettre automatiquement en ligne les disques virtuels secondaires. Pour modifier ce comportement selon le paramètre recommandé, exécutez le Windows PowerShell suivant :

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

De plus, cela peut être fait depuis la ligne de commande à l’aide de diskpart ou depuis Gestion des disques.

***

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

* Dernière mise à jour : 2024-08-10
* Version de 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/fr/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.
