After setting up your Proxmox server, the next step is to create virtual machines (VMs). Running Windows Server is a popular choice, but getting it to run with native-like speed requires specific drivers and settings. This guide will walk you through creating a Windows Server VM optimized for maximum performance using VirtIO drivers.
Author: EngineerHow.com Difficulty: Medium Time: 45 minutes
Table of Contents
- Prerequisites: Download ISOs
- Upload ISOs to Proxmox
- Create the Windows VM with Optimal Settings
- Install Windows Server & Load VirtIO Drivers
- Post-Installation: Install Guest Agent and Drivers
- Setting Up Backups
Phase 1: Prerequisites: Download ISOs
For a high-performance Windows VM, we need two essential files: the Windows Server ISO and the VirtIO drivers, which allow the VM to communicate more efficiently with the host hardware.
- Windows Server ISO: Download the latest evaluation version directly from the Microsoft Evaluation Center. This is a full-featured version that is free to use for 180 days.
- VirtIO Drivers ISO: These are paravirtualized drivers that significantly boost disk and network I/O performance. Download the latest stable
virtio-win-*.isofile from the Fedora Project repository.
Phase 2: Upload ISOs to Proxmox
Before we can create the VM, we need to upload these files to Proxmox’s storage.
- Log in to your Proxmox web interface (
https://your_server_ip:8006). - In the left-hand navigation pane, select your Proxmox node, then navigate to ISO Images under
local(or your designated ISO storage). - Click Upload.
- Select the Windows Server ISO from your computer and upload it.
- Repeat the process for the
virtio-winISO file.
Once complete, both ISOs will be listed and available for use.
Phase 3: Create the Windows VM with Optimal Settings
Now we’ll walk through the VM creation wizard, paying close attention to performance-related settings.
- Click the Create VM button in the top-right corner.
- General Tab:
- Name: Give your VM a descriptive name (e.g.,
win-dc-01). - Click Next.
- Name: Give your VM a descriptive name (e.g.,
- OS Tab:
- Select the Windows Server ISO you uploaded.
- Type:
Microsoft Windows. - Version:
11/2022. - Click Next.
- System Tab:
- Graphic card: Keep
Default. - Machine: Keep
q35. - BIOS:
OVMF (UEFI). - Check the Add EFI Disk box and select a storage location (e.g.,
local-zfs). - Check the Qemu Agent box. This is crucial for proper management.
- Click Next.
- Graphic card: Keep
- Disks Tab:
- Bus/Device:
VirtIO Block. This is the high-performance disk driver. - Storage:
local-zfs(or your primary VM storage). - Disk size: Set your desired size (e.g.,
100GiB). - Cache:
Write back. This offers the best performance but carries a minor risk of data loss on host power failure. - Check Discard and SSD emulation.
- Click Next.
- Bus/Device:
- CPU Tab:
- Cores: Assign the number of CPU cores you need (e.g.,
4). - Type:
host. This passes your host CPU’s features directly to the VM for maximum compatibility and performance. - Click Next.
- Cores: Assign the number of CPU cores you need (e.g.,
- Memory Tab:
- Memory: Enter the amount of RAM in MB (e.g.,
8192for 8GB). - Uncheck Ballooning Device. For servers with stable workloads, fixed memory is often better.
- Click Next.
- Memory: Enter the amount of RAM in MB (e.g.,
- Network Tab:
- Model:
VirtIO (paravirtualized). This is the high-performance network driver. - Click Next.
- Model:
- Confirm Tab:
- Review your settings and click Finish.
Proxmox will now create the VM. Do not start it yet.
Final Step: Mount the VirtIO ISO
- Select your new VM in the left pane.
- Go to the Hardware section.
- Double-click the CD/DVD Drive.
- Select the
virtio-winISO file. - Click OK.
Phase 4: Install Windows Server & Load VirtIO Drivers
Now we’re ready to start the VM and install the operating system.
- Start the VM and open the Console.
- Proceed through the Windows Server setup until you reach the “Where do you want to install Windows?” screen. You will see a message that “No drives were found.” This is expected because Windows doesn’t have the VirtIO driver built-in.
- Click Load driver.
- Click Browse and navigate to the VirtIO CD drive.
- Go to the folder
viostor\w11\amd64(or the folder corresponding to your Windows version). - Click OK. The “Red Hat VirtIO SCSI controller” driver should appear. Select it and click Next.
[Image showing the Windows installer loading the VirtIO disk driver]
Your virtual disk will now appear. You can select it and continue the Windows installation as usual.
Phase 5: Post-Installation: Install Guest Agent and Drivers
Once Windows is installed and running, we need to install the rest of the VirtIO drivers and the QEMU Guest Agent for full functionality.
- Log into your Windows Server VM.
- Open File Explorer, navigate to the VirtIO CD drive, and run the
virtio-win-gt-x64.msiinstaller. - Accept the defaults to install all drivers. This will resolve any “unknown device” errors in Device Manager and enable features like memory ballooning (if you enabled it).
- After that installer finishes, browse to the
guest-agentfolder on the same CD drive and run theqemu-ga-x86_64.msiinstaller.
After a reboot, the QEMU Guest Agent will be running. You can confirm this in the VM’s Summary page in Proxmox, where you will now see the VM’s IP address.
Phase 6: Setting Up Backups
Protecting your new VM is critical. Proxmox has a powerful built-in backup system.
- Select your VM and go to the Backup tab.
- Click Backup now.
- Storage: Select your backup storage location (by default, this is
local). - Mode: Choose
Snapshot. This allows for live backups without shutting down the VM. - Click Backup.
For automated protection, you can create a backup schedule by navigating to Datacenter -> Backup -> Add.
Conclusion
That’s all there is to it. By using the VirtIO drivers and selecting performance-oriented settings during creation, you’ve deployed a Windows Server VM that runs efficiently and reliably on Proxmox. This optimized foundation is perfect for any role, from a domain controller to a high-traffic application server.
What other Proxmox tips do you rely on? Share your favorites in the comments below!
🔗 Useful Links 📺 EngineerHow YouTube Channel
📢 About EngineerHow.com EngineerHow.com is dedicated to providing expert IT and engineering tutorials, helping professionals and enthusiasts set up servers, networks, and self-hosted solutions. Our guides focus on step-by-step instructions to make complex topics easy to understand.
🚀 Explore More IT Guides: EngineerHow.com
💬 Join the Discussion! Have questions or insights? Drop a comment below and let’s discuss!
