NASutils Knowledge BaseUnofficialPolski

How do I change a Windows virtual machine's disk controller to VirtIO?

Changing the controller right away ends in an INACCESSIBLE_BOOT_DEVICE blue screen, because Windows has no VirtIO driver yet. Install the driver from Guest Tools while the system runs on the old controller, start Windows in safe mode on VirtIO, and return to a normal start.

Topic: Apps, sites and virtual machines

Before you start

Propose a change

snapshot, migawka
The state of a volume at one moment, kept on the same pool; it is not a backup.
virtual machine, maszyna wirtualna
A computer made in software, with a system of its own.

Take a snapshot or a copy of the virtual machine. The change affects the boot disk, and the snapshot is the way back after a mistake. If Windows is encrypted with BitLocker, suspend protection before step 4 and keep the recovery key at hand.

  1. Virtualization Station
    QNAP's app that runs virtual machines with KVM and QEMU on supported Intel and AMD NAS models.
    On the NAS in Virtualization Station turn the machine off and add a temporary disk with the VirtIO controller, of any size.
  2. Insert the driver disc: in the machine's CD/DVD ROM settings choose Add → Insert Guest Tools CD, and start the machine.
  3. In Windows install QNAP Guest Tools. Device Manager should show the new VirtIO controller and disk without a warning mark.
  4. Open a command prompt as administrator and turn on starting in safe mode (it stays on until step 7):
    bcdedit /set {current} safeboot minimal
  5. Shut Windows down. In the machine's settings change the system disk's controller to VirtIO. If the machine does not start from the disk, choose that disk as the boot device in the boot options.
  6. Start the machine. Windows starts in safe mode and loads the driver for the boot disk.
  7. Turn safe mode off and restart:
    bcdedit /deletevalue {current} safeboot
  8. Shut the machine down and remove the temporary disk of step 1.

Check that it worked

Propose a change

Windows starts normally, and Device Manager shows the system disk under the VirtIO controller.

What not to do

Propose a change

  • Do not change the controller before you install the driver.
  • Do not delete the old disk's image. Remove only the temporary disk.

Checked: 25 November 2026, against the documentation of QNAP and Microsoft. We did not perform the steps on a virtual machine; names in Virtualization Station may differ in your version.

All questions