Programs from 2001 to 2008 needed a Windows XP. We had a VirtualBox OVA of Windows XP Mode: the XP Professional SP3 that Microsoft gave away to owners of Windows 7 Professional, Enterprise or Ultimate. This is its move to Proxmox.
Import the OVA, and take a snapshot first
An OVA is a tar with the machine description (.ovf) and its disk (.vmdk). Proxmox imports it with qm importovf. We gave it 512 MB, standard video, AC97 sound and no network.
Before the first boot, a sin-iniciar (never started) snapshot: the demo starts counting from the first setup, and that state is the only way to start over.
The blue screen you never got to see
On boot, XP kept restarting in a loop and landed on “Windows did not start successfully”.

Instead of guessing, we mounted the NTFS disk on the Proxmox host and read the registry with hivexsh. The image came from Virtual PC and had been prepared with Sysprep. Its CriticalDeviceDatabase (the drivers Windows loads to find its own disk) had Virtual PC’s IDE controller (Intel PIIX4, 8086:7111), but not the one QEMU emulates in Proxmox (Intel PIIX3, 8086:7010). Without it, XP can’t find its disk at boot: the classic 0x7B blue screen (INACCESSIBLE_BOOT_DEVICE), which rebooted before anyone could read it.
The fix, applied without booting Windows, with hivexregedit:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\CriticalDeviceDatabase\pci#ven_8086&dev_7010]
"Service"="intelide"
"ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"
We also set AutoReboot=0, so any future blue screen stays visible. And a new snapshot, sin-iniciar-ide: still never booted, but now bootable.
Sysprep
The Sysprep mini-setup started: licence agreement, region, computer name and password.


When it finishes, XP stays on a black screen, unable to restart. It isn’t a hang: it’s done and doesn’t know how to ask QEMU to reboot. A reset and the desktop appears. Two “Unknown device” entries remain, QEMU internals without a driver: “Don’t prompt me again”.

The 30-day demo
XP isn’t activated: it runs on its 30-day grace period, and activating an XP today isn’t practical anymore.

We did two things:
- A fixed clock: with Proxmox’s
startdateoption, the VM always boots on the date it was created, so the countdown doesn’t move when the snapshot is reverted. - A script that builds fresh XPs: we edited the never-booted template’s
sysprep.infso setup is unattended (no agreement, no questions, automatic logon).xp_nueva.shclones that template, boots it, waits for Sysprep to finish (and resets it if it stays black), clears the hardware wizards (a local vision model, qwen2.5vl, looks at the screen and says whether a wizard is open) and leaves alicencia-activasnapshot. The VM’s name carries the date the demo expires.
[20:00:41] Clonando plantilla 125 -> 126 (demo del 20261109 al 20261209)
[20:04:28] Pantalla negra y disco quieto: reset
[20:05:06] Escritorio visible; despejando asistentes de hardware
[20:10:25] Plantilla 126 lista: pmg03-template-xp-vence20261209
Proxmox now has a never-started template (every new XP comes from it) and a dated one (pmg03-template-xp-vence20261209), both in the templates pool, plus a production XP with its snapshot.
What we learned
- When moving Windows between hypervisors, first check which disk controller it expects. It can be fixed from Linux without booting Windows.
- Snapshot before the first boot: it’s what lets you restart a demo from zero.
- Sysprep with an unattended
sysprep.infturns one image into a factory of clean machines.
The scripts can be downloaded from the restore CD article.
Series "Reviving old PCs in Proxmox": MS-DOS + Windows 3.11 · Windows 95 · Windows 98 SE · Windows XP · Restore CD
Got an old PC, a backup or a question? Tell us in the blog's Telegram group: Telegram group
