Windows 10 LTSC VM

Windows 10 LTSC VM running in Incus for Windows-specific workloads. Uses the migratable profile for migration between cluster hosts.

Prerequisites

Obtain Windows LTSC ISO

Download the Windows 10 LTSC ISO image to /mnt/aether/ISOs/.

Windows 10 Enterprise N LTSC versions exist to comply with EU regulations requiring Windows without bundled media software.

Obtain VirtIO Drivers

Download the VirtIO driver ISO for optimal Windows VM performance:

aria2c -d /mnt/aether/ISOs https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

Repack Windows ISO

Standard Windows ISOs lack VirtIO drivers needed to see virtual disks during installation. Repacking embeds these drivers into the ISO.

Change Directory

cd /mnt/aether/ISOs

Install distrobuilder

nix-shell -p distrobuilder libguestfs wimlib

Repack ISO

sudo distrobuilder repack-windows --windows-arch=amd64 \
  en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso \
  en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.incus.iso

This takes a few minutes. The output ISO contains VirtIO drivers and will recognize virtual disks during installation.

Upload ISOs to Storage

Import Windows ISO

Import the repacked Windows ISO as a storage volume:

incus storage volume import shared en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.incus.iso win10-ltsc --type=iso

Import VirtIO Drivers ISO

incus storage volume import shared virtio-win.iso virtio-drivers --type=iso

Verify Volumes

incus storage volume list shared

VM Creation

Initialize Empty VM

Create an empty VM using the migratable profile:

incus init Win10 --empty --vm --profile migratable --target=@migratable

This places the VM on shared storage (Ceph) with a portable CPU baseline, allowing migration between cluster hosts.

Disable SecureBoot

incus config set Win10 security.secureboot=false

Required. Since the repacked ISO is unsigned, UEFI won’t be able to perform automatic boot and VirtIO drivers won’t be detected.

Identify as Windows

incus config set Win10 image.os=windows

Required for VirtioFS. Empty VMs lack OS metadata. Without this, Incus passes --posix-acl to virtiofsd, which Windows doesn’t support, causing Error 31 in the VirtIO-FS Service.

Configure VM Resources

Override the root disk size:

incus config device override Win10 root size=80GiB

Set CPU and memory limits:

incus config set Win10 limits.cpu=4 limits.memory=8GiB

Add TPM Device (Optional)

Add TPM support if using Windows 11 or BitLocker:

incus config device add Win10 vtpm tpm

Requires TPM hardware on the host. Skip if not available.

Configure Audio

Add Intel HDA audio with SPICE backend:

incus config set Win10 raw.qemu -- "-device intel-hda -device hda-duplex -audio spice"

Attach Installation Media

Attach the Windows installation ISO with high boot priority:

incus config device add Win10 install-disk disk \
  pool=shared \
  source=win10-ltsc \
  boot.priority=10

Attach the VirtIO drivers ISO:

incus config device add Win10 virtio-drivers disk \
  pool=shared \
  source=virtio-drivers \
  boot.priority=5

The boot.priority values ensure Windows ISO boots first (10 > 5).

Windows Installation

Start VM and Access Console

Start the VM:

incus start Win10

Access the VGA console:

incus console Win10 --type=vga

From any cluster member, this connects to the VM regardless of which host it runs on.

Install Windows

In the Windows installer:

After copying files, Windows reboots and the console disconnects. Reconnect after a minute:

incus console Win10 --type=vga

During OOBE (Out-of-Box Experience), the initial setup wizard that configures user accounts and preferences:

Install VirtIO Drivers

After logging in, open Explorer and navigate to the E:\ drive (or wherever the VirtIO driver ISO is mounted). Run virtio-win-gt-x64.exe to launch the installer.

Leave defaults and click Next through the installer. This installs device drivers and the Memory Ballooning service.

Remove Installation Media

After installation completes, remove the Windows installation disk:

incus config device remove Win10 install-disk

Keep the VirtIO drivers disk attached for future driver updates.

Performance Optimization

Verify VirtIO Drivers

Check in Device Manager (devmgmt.msc):

If using IDE emulation, disk performance will be poor. VirtIO SCSI is significantly faster.

Disable Unnecessary Services

Open CMD as Administrator.

Disable Windows Search

Indexes files in the background, consumes disk I/O

sc config WSearch start=disabled

Disable SysMain (formerly Superfetch)

Preloads most used apps into RAM

sc config SysMain start=disabled

Disable Windows Update and its orchestration services

Downloads updates and reboots unexpectedly

sc config wuauserv start=disabled
sc stop usosvc && sc config usosvc start=disabled

Adjust Visual Effects

For a VM, disable visual effects to reduce overhead:

SystemPropertiesPerformance.exe

Select Adjust for best performance and apply.

SPICE Guest Tools

SPICE guest tools enable clipboard sharing, automatic display resolution, and USB redirection.

Download and install from: https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe

Shared Folders

VirtioFS enables high-performance file sharing between host and VM.

Install WinFsp

VirtioFS requires WinFsp (Windows File System Proxy) to mount shares.

Download and install from: https://winfsp.dev/

Enable VirtIO-FS Service

After installing VirtIO drivers and WinFsp:

  1. Open services.msc
  2. Find VirtIO-FS Service
  3. Set Startup type to Automatic
  4. Click Start

Backup and Snapshots

Power off the VM and create an snapshot of the VM state

incus snapshot create Win10 baseline

Snapshots are copy-on-write and consume minimal space

Post Install Steps

These are personal requirements, feel free to ignore this section.

Install Chocolatey

Chocolatey is a package manager for Windows.

Open CMD as Administrator:

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

After installation, get packages:

choco install openconnect rsync -y

Install ORCAD

Disable stateful migration

migration.stateful=true blocks host path mounts. Temporarily disable it:

incus config set Win10 migration.stateful=false # VM needs to be powered-off

Add VirtioFS Device

incus config device add Win10 ORCAD disk source=/mnt/aether/ORCAD path=ORCAD

path=ORCAD is the mount tag Windows uses to identify the share.

Install ORCAD

  1. Connect to Global Protect VPN
  2. Navigate to Base_SPB23.10.000_wint_1of3
  3. Execute setup.exe
  4. Select OrCAD X and Allegro X Products Installation
  5. Accept license terms
  6. Proceed with default installation settings
  7. Connect to license server: P-LH-01.usfq.edu.ec
  8. Please insert disk 2 that contains the file data3.cab: Y:\Base_SPB23.10.000_wint_2of3\Disk2
  9. Please insert disk 3 that contains the file data4.cab: Y:\Base_SPB23.10.000_wint_3of3\Disk3
  10. Click Finish
  11. Navigate to Hotfix_SPB23.10.001_wint_1of1
  12. Execute setup.exe
  13. Enjoy!

Remove VirtioFS Device

Power off the VM, remove the device and re-enable stateful migration

incus config device remove Win10 ORCAD
incus config set Win10 migration.stateful=true

Enable SSH

Enable OpenSSH server for remote command-line access.

Open PowerShell as Administrator and run:

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
Set-Service -Name sshd -StartupType Automatic
Start-Service sshd
Get-Service sshd

Snapshots

Snapshot Taken at
baseline 2026/03/15 21:50
spice 2026/03/15 22:58
ORCAD 2026/03/16 01:05

Migration

Move VM Between Hosts

Since the VM uses shared storage (Ceph), it can move between cluster hosts.

Live migration is blocked by a QEMU 10 bug. Use cold migration.

incus stop Win10
incus move Win10 --target desktop
incus start Win10

The disk lives on Ceph, so no data copy is needed.

Notes

References