Skip to content
Authors: fire1ce, Barry Staes | Created: 2022-04-09 | Last update: 2024-02-26

Proxmox Windows Virtual Machine Configuration

This guide will walk you through configuring Windows 10 or Windows 11 Virtual Machines with VirtIO Disks and Networking using Proxmox. This configuration was tested to work with the GPU passthroughs feature from one of the following guides:

Prerequirements

Before we begin, we need to download the VirtIO Drivers for Windows iso. Upload it via the GUI as any other ISO file.

You can allso use ssh and download it directly from the Proxmox server.

wget -P /var/lib/vz/template/iso https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

Create a VM in Proxmox

Create a Virutal Machine in Proxmox as usual.

General

Select Advanced options.

create-vm

OS

Choose the iso file image for Windows 10 or 11. Change Type to Microsoft Windows and Version to your's windows version.

vm-os

System

Change the Machine type to q35, BIOS to UEFI. Add TPM for Windows 11. Alocate Storage for UEFI BIOS and TPM.

vm-system

Disks

Set Bus/Device to VirtIO Block and Cache to Write Through. Select the storage disk and the VM's disk size.

vm-disks

CPU

Choose how many cores you want to use. Set The cpu Type to Host

vm-cpu

Memory

Alocate the memory for the VM. Make sure the Ballooning Device is enabled.

vm-memory

Network

Select your preferred network interface. Set the Model to VirtIO (paravirtualized).

vm-network

Confirm

Don't Start the VM after creating it.

vm-confirm

Add CD/DVD to VM

We will need to use the VirtIO Drivers for Windows iso file to install the drivers while installing the Windows VM.

vm-cd-dvd

Hardware Before Installation

This how the hardware of the VM should look like befor starting the Windows installation.

virtio-iso

Windows Installation

The Windows installation process is the same as any other Windows OS installation. The only caveat is that you need to install the drivers for the Storage devices and Network devices.

Choose Custom: Install Windows only (advanced)

windows-advance-install

Missing Storage Devices

When prompted to select the storage device to install windows the device won't show since we are using the VirtIO storage. Select Load Driver. win-storage-driver

Load the VirtIO Drivers

Browse to the VirtIO Disk find a folder called viostor and select the appropriate windows driver.

win-virtio-driver

You should see the a Red Hat VirtIO driver selected. Click Next and install the driver.

win-virtio-driver-select

Continue with the installation as usual

win-disk-select

Missing Network Driver

Windows won't be able to load network drivers while installing. When prompted with something for connecting to the Internet, select I Don't have internet and skip it. We will deal with the network drivers at post installation.

win-no-network

Post Installation

Install all the VirtIO Drivers for Windows

Open the VirtIO CD and run the virtio-win-gt-x64.exe, virtio-win-guest-tools installer. This will install all the missing virtio drivers for the VM and guest OS tools.

post-virtoi-install

After the installtion your Device Manager should look like this without any errors.

post-device-manager

Remove the VirtIO CD/DVD and Windows iso

Power off the VM.

Remove the added CD/DVD for VirtIO iso.

post-remove-cd

Select Do nor use any media on the CD/DVD with the Windows iso.

post-remove-iso

At this point we are done with the installation of the Windows VM.

Follow those guides for utilizing a GPU passthrough to VM:

  • GPU Passthrough to VM - Full GPU passthrough to VM guide
  • iGPU Passthrough to VM - Cpu's GPU passthrough to VM guide (Intel)
  • [GPU Split Passthrough][gpu-split-passthrough] - Splitting (Nvidia) to Multiple GPUs passthrough to VM guide

Comments