Hi everyone

Today I wanted to share a small bug you can encounter on QEMU / KVM if you are testing Windows 10's machines. It's something new I seen, so I wanted to discuss it.

The bug is simple to see, it's in the Windows 10 setup at the start if you see a business login / portal that is not for your business then you must think the system UUID is probably taking one already registered online.

It's something I never seen before, but it was reported there (or there), so it's why I talk it.

In that case the user was seeing a login page from another business, as seen here when he used a normal ISO.

image-1.png?w=1022

The QEMU command used to deploy the machine;

qemu-system-x86_64Ā -driveĀ file=Windows.img,format=qcow2,if=virtioĀ \
Ā -driveĀ file="en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso",media=cdromĀ -driveĀ file=virtio-win.iso,media=cdromĀ \
Ā -bootĀ order=dĀ -enable-kvmĀ -machineĀ type=q35Ā -cpuĀ host,hv_vpindex,hv_runtime,hv_synic,hv_stimer,hv_reset,hv-relaxed,hv-vapic,hv-spinlocks=0x1fff,hv-timeĀ \
Ā -mĀ 32GĀ -smpĀ sockets=1,cores=6,threads=1Ā \
Ā -deviceĀ virtio-vga-glĀ -displayĀ sdl,gl=onĀ \
Ā -netdevĀ user,id=network0Ā -deviceĀ e1000,netdev=network0,mac=52:54:00:12:34:56

In such case to bypass that problem make sure to change the UUID, that way to make QEMU use the system UUID;

Ā -enable-kvm -uuid $(dmidecode -s system-uuid)

In the OOBE make sure it's offline too.

I will quote the answer from Aarad Prasad for that part;

Make sure the process is offline, by disabling your network adapter while in the OOBE process. Get an elevated prompt by pressingĀ Shift+F10Ā and executing the following in powershell:

Disable-NetAdapter -Name "Adapter Name" -Confirm:$false

You may get the adapter name by

Get-NetAdapter

Next Post Previous Post