Windows on a VM
Windows is one of the most popular guest operating systems for Unraid users, especially for gaming, productivity, and support for legacy applications. Here are essential considerations for running Windows VM.
- Microsoft ended support for Windows 7 in Jan. 2020, Windows 8.1 in January 2023, and Windows 10 in October 2025. Use Windows 11 (or later) or Server 2022 (or later) for ongoing security updates.
- Always test VM stability before activating your Windows license.
- For GPU passthrough, use OVMF (UEFI) BIOS with Windows 11 or newer.
Supported configurations
| Windows edition | Recommended BIOS | Machine type | Notes |
|---|---|---|---|
| Windows 11 | OVMF TPM | Q35 | Requires TPM 2.0 emulation |
| Windows Server 2022 | OVMF | Q35 | Ideal for enterprise workloads |
| Windows 10 | OVMF | Q35 | Deprecated (EOL Oct 2025) |
| Windows Server 2019 | OVMF | i440fx/Q35 | Compatible but not recommended |
VirtIO driver management
Windows requires paravirtualized drivers for optimal performance with Unraid’s virtualization stack.
To install or update drivers:
- Automatic installation
- Manual update
-
Download the latest stable VirtIO drivers ISO and save it to your Unraid
isosshare.Verify download integrityDownload the CHECKSUM file from the same directory to verify the ISO's integrity. This helps ensure your download is complete and hasn't been tampered with.
-
Edit your VM settings to point to the new ISO in the
isosshare. -
In Windows Device Manager:
- Right-click devices with yellow warnings
- Select Update driver → Browse my computer
- Navigate to the VirtIO ISO drive (usually
D:\orE:\)
-
Reboot after updating all drivers.
Using Unraid 7 or later, you can automatically inject VirtIO drivers during the Windows installation. Enable this in VM Settings → Advanced Options.
Setting up hibernation
Hibernation lets you save your entire Windows VM state - including open applications and documents - to disk. This allows you to power off the VM without losing any work. When you resume, Windows restores everything exactly as you left it, skipping the normal boot process. This feature is handy when you need to reboot or power down your Unraid host or want to save energy while keeping your VM's state intact.
- Save energy by powering down idle VM without losing progress
- Quickly resume work after host maintenance or updates
- Reduce wear on SSDs compared to frequent complete shutdowns and reboots
To use hibernation reliably, you must install the QEMU Guest Agent in your Windows VM. This agent allows Unraid to communicate with the VM for advanced operations like hibernation, shutdown, and live statistics reporting.
How to install the QEMU Guest Agent - Click to expand/collapse
How to enable hibernation in Windows - Click to expand/collapse
- Open Control Panel and search for Power Options.
- Click on Choose what the power buttons do.
- Click Change settings that are currently unavailable to unlock shutdown settings.
- Check the Hibernate option.
- Click Save changes.
The Hibernate option will now appear in the Windows Power menu.
If your VM fails to hibernate or resume properly, you may lose unsaved work or face a failed restore. Always save important data before hibernating. If issues persist, ensure the QEMU Guest Agent is installed and updated, and check the Windows event log for errors.
Performance tuning
Optimizing your Windows VM can improve responsiveness, reduce disk usage, and avoid common issues with device passthrough or shutdown. These adjustments are optional and can be applied as needed.
Disable fast startup
Disabling fast startup can help prevent issues with device passthrough. It ensures your VM hardware initializes correctly every time it boots. While this setting is designed for physical PCs, in a virtual environment, it can often cause more problems than benefits.
How to disable Fast Startup - Click to expand/collapse
- Open Control Panel and search for Power.
- Click on Choose what the power buttons do.
- Click Change settings that are currently unavailable.
- Uncheck Turn on fast startup under Shutdown settings.
- Click Save changes.
Disable hiberfil.sys
Hibernation in Windows creates a large hidden file called hiberfil.sys. This file can consume significant disk space and increase disk activity in your VM. If you don't rely on hibernation, disabling it will free up storage and reduce unnecessary I/O activity.
How to disable hibernation and remove hiberfil.sys - Click to expand/collapse
- Right-click the Start button and select Windows Terminal (Admin) or Command Prompt (Admin).
- Type:
powercfg /h off - Press Enter and reboot your VM. The
hiberfil.sysfile will be removed from your C:\ drive.
Disable Windows indexing
Windows Search indexing continuously scans your virtual machine's storage to catalog files for faster search results. However, on a