Setting Up Windows 11 VM in Unraid - Quick Guide
Brian Lam
4/21/20243 min read
Why I am making this post?
There is a lot of great discussion and YouTube guides on creating a Windows 11 VM in Unraid. However, I couldn't find a quick written source that I can digest in less than 2-5mins. Here is an attempt to write okay the steps in hopes it may be useful beyond just me. This will assume you will already have Unraid setup.
(Also, this will be a great reference for myself)
Setting up your Windows 11 VM
Download your Windows 11 ISO.
Straight from the source: Download Windows 11 via microsoft.com
If you are behind a VPN, you may be blocked. Download Rufus, then use their option to download the Windows ISO
Upload the Windows ISO into your isos, share in Unraid.
Shares -> Browse /mnt/user/isos -> Upload)
Download the Windows VirtiO driver via Unraid.
Settings -> VM Manager -> Default Windows VirtIO driver ISO (optional) -> Top Item/Latest
Create your Windows 11 VM in Unraid
VMs -> Add VM -> Windows 11
Important things to configure. If I have not listed it below, I have used the default.
Logical CPUs: Minimum 2 core, choose which cores to use.
Initial Memory: Recommend 4096 MB and above
USB Controller: 3.0 (qemu XHCI)
OS Install ISO: Windows ISO should show up once you click into the field
VirtIO Drivers ISO: Windows VirtIO driver should show up once you click the field
VirtIO Drivers CDRom Bus: SATA
Unraid Share Mode: This allows you to passthrough Unraid Shares into the Windows 11 VM. Choose whichever you want. You can add multiple by click on the + icon on the left.
VM Console Protocol: SPICE, I had more luck getting it to display properly with SPICE instead of VNC.
Network Model: e1000
Start VM after creation: Untick
Click Create, and it should setup.
Start Windows 11 install using "Start with console(SPICE). Be quick to hit something like spacebar or it will toss you into Shell.
Go through Windows 11 install.
Once you reach the point you need to find a Disk to install Windows 11 onto, it will not auto-detect the vdisk. You will need to first install Windows VirtIO drivers. Just use "Locate Drivers", point to the CDROM drive with the Windows VirtIO driver mounted, and click okay. This should then install the necessary drivers and you will see you disk shortly afterwards. The rest is then is just Windows 11.
Passing through your Unraid share so your Windows 11 VM will mount it.
Once you have successfully installed Windows 11 and able to go into the Operating System, you will see that your Unraid share is not mounted, it isn't in Disk Management, or anywhere else for that matter. You will need to go through a few additional steps.
Download & Install WinFSP drivers, Windows File System Proxy
Install Windows VirtIO drivers via the Windows VirtIO ISO that should still be mounted. Browse into the CD, at the bottom, install the x64 driver package.
Restart Windows 11
Start the VirtIO-FS service. Once back into Windows 11, go into services.msc. Find VirtIO-FS, Right-click into Properties and change from Manual -> Automatic, click OK. Right-click again, click Start.
Create a dependency between WinFSP and the VirtIO service. Run Powershell or Command Line (Run as Administrator). Type "sc config VirtioFsSvc depend=WinFsp.Launcher". You should then be presented with a success message.
You are done! You should see your Unraid share in This PC.