Skip to content

Windows 11 VM

Prerequisites

Create VM

Right click the node you want to create the VM.

  • General:
    • Name: Give it a name
    • (Optional) Check Start at boot
    • Click Next windows-general
  • OS:
    • Storage: Select the storage you have the Windows ISO
    • ISO Image: Select the Windows ISO
    • Type: Windows
    • Version: 11/2022
    • Click Next windows-os
  • System:
    • Machine: q35
    • BIOS: OVMF (UEFI)
    • Check QEMU Agent
    • Check Add TPM
    • TPM Storage: Select the storage for TPM
    • Version: v2.0
    • Check Add EFI
    • EFI Storage: Select the storage for EFI
    • Click Next windows-system
  • Disks:
    • Bus/Device: SCSI
    • Storage: Select the storage for your Windows disk
    • Check Discard, if storage supports Thin Provisioning
    • Disk Size (GiB): Set Disk Size, at least 50GB
    • Check SSD emulation, if you checked Discard
    • Click Next windows-disk
  • CPU:
    • Cores: Set the core count for the VM to use
    • Type: Select host, if you don’t plan to migrate to another node with a completely different CPU
    • Click Next windows-cpu
  • Memory:
    • Memory (MiB): Set the maximum memory for the VM to use
    • Minimum memory (MiB): Set the minimum memory for the VM to use
    • Check Ballooning Device
    • Click Next windows-memory
  • Network:
    • Bridge: Select the NIC bridge for the VM to use
    • Model: VirtIO (paravirtualized)
    • Click Next windows-network

Add VirtIO ISO

Navigate under the Node -> Select the VM -> Hardware

  • Click Add windows-add-virtio
  • Click CD/DVD Drive
  • Storage: Select the storage you have the VirtIO ISO
  • ISO Image: Select the VirtIO ISO
  • Click Add windows-select-virtio

Start Windows VM

Navigate under the Node -> Select the VM

  • Click ▶️ Start
  • Click >_ Console
  • When the window open, it will ask you to press any key.
    • Press any key in your keyboard, eg Space windows-any-key
  • Select your Language windows-lang
  • Click Next windows-install-now
  • Click Install now
  • Enter your product key or click I don’t have a product key windows-key
  • Click Next
  • Select the version you want to install windows-version
  • Click Next
  • Check I accept... windows-license
  • Click Next
  • Select Custom: Install Windows only (advanced) windows-custom
  • Click Load Driver windows-load-driver
  • Click Browse
  • Expand CD Drive (D:) virtio-win
  • Expand amd64
  • Select w11 windows-virtio
  • Click OK windows-virtio-scsi
  • Click Next
  • Click Load Driver windows-load-driver
  • Click Browse
  • Expand CD Drive (D:) virtio-win
  • Expand NetKVM
  • Expand w11
  • Select amd64
  • Click OK windows-virtio-net
  • Click Next
  • Select the Drive 0 windows-drive
  • Click Next
  • Wait for installation for finish
  • Follow normal on screen installation instructions from Windows

Complete the driver installation

Once you are booted into the Desktop

  • Open This PC
  • Open CD Drive virtio windows-virtio-drive
  • Double Click virtio-win-gt-x64 windows-virtio-gt-x64
  • Click Yes / Next when asked
  • Finish Installation
  • Open guest-agent in the same directory
  • Double Click qemu-ga-x64 windows-virtio-ga-x64
  • Click Yes / Next when asked
  • Finish Installation

Remove hardware from VM

Shutdown the VM

Navigate under the Node -> Select the VM -> Hardware

  • Select CD/DVD Drive (The one with the Windows ISO) windows-remove-iso
  • Click Remove
  • Click Yes windows-removed-iso

You can now start the VM again.