Almost foolproof method of converting a Windows VM to a Physical system (V2P Virtual to Physical conversion).


jimbo45

Well-known member
Pro User
VIP
Local time
11:01 AM
Posts
5,838
Location
Hafnarfjörður IS
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Hi folks
This method seems to work with the least amount of hassle on converting a Windows VM to a Physical Windows installation while also if on the same target machine's hardware preserving activation whether the guest is on Linux KVM/QEMU or Wmware WKS or on Windows Hyper-V / Vmware wks.

I don't like Oracle's Virtual box so I haven't tested this on that type of VM. However in theory I can't think of any reason why this method won't work with VBOX VM's.

Before you start -

1) ensure you have a physical disk available -- it needs to be a whole disk (GPT) with at least a target partition / unformatted space for the target windows system.

2) ensure your VM is updated to the latest whether an insider version or not

3) ensure the VM has the appropriate extra's installed such as vmware-tools / win-virtio etc otherwise at ist boot of your converted system you'll probably have mouse and video problems on large monitors --basic 640 X 480 VGA doesn't render well on large 48 inch UHD monitors !!!!!. --Been there --done it --bought the T-Shirt etc.

4) copy the following 2 folders from the latest W11 system you have (physical system):
windows->system32->drivers and DriverStore to a USB stick -- this will be used later.

5) in the VM's config add the windows target disk as a physical device --in the case of KVM/QEMU and vmware wks it's simple enough. For KVM/QEMU enable editing of the VM's config file and add in the devices part :

<disk type="block" device="disk">
<driver name="qemu" type="raw"/>
<source dev="/dev/sdc"/> ---- change for your system
<target dev="vdb" bus="virtio"/> --normally leave but change if required (vda, vdc etc)
</disk>

for vmware wks check the documentation but easy enough.

Now the procedure.

6) boot the VM

7) clone the disk to the physical disk. (

Note : If several windows systems are in this single VM then clone the whole disk not just the booted windows VM.

Macrium Free is still good for this.

8) power off he VM and shutdown the Host

9) boot the copied / cloned disk together with the device that has the windows drivers on it.

10) get into device manager and start first with updating the Ms basic display driver to the appropriate one for your system by selecting update driver --manually locate drivers and point to the driver file on the device you stored them on.

11) now go through all the other items which have unknown devices the same way.

12) reboot system

13) job done -- resize / create partitions to suit.

If your Windows VM was activated then this *Should* preserve activation too -- I don't know the mechanism of Ms's activation but I've found it seems to preserve activation providing you do the V2P on the same system as the VM was on.

You also don't need to remove the virtual drivers (only a tiny bit of storage) . --the reason also is good since if you cloned to an external device Windows can see it as a Windows to Go system and you won't be able to install new releases -- however cloning that back to a VM means you can update without having to mess around with the virtual device drivers - and then simply clone back again after updating to the new Windows release.

There may -- probably are other ways but this isn't as complex as it looks and it's worked for me for ages preserving activation both ways. So try it and have fun. !!!

Cheers
jimbo
 
Last edited:

My Computer My Computer

At a glance

Windows XP,11 Linux Fedora Rawhide pre-releas...2 X Intel i7
OS
Windows XP,11 Linux Fedora Rawhide pre-release 45
Computer type
PC/Desktop
CPU
2 X Intel i7
Screen Resolution
4KUHD X 2
A much easier way is create custom install.wim of vm installation using dism and inject host drivers into the cusom install.wim. Then create installation usb replacing install.wim with custom install.wim and install wherever you like e.g. on a host pc, or in native boot vhd, vm (any mainstream vm tool)

All the above steps are simply explained in the Tenforums tutorial. The only prerequisite is to install the dism adk package first).

No need to use Linux ever!
 

My Computer My Computer

At a glance

Windows 11 Pro + Win11 Canary VM.I9 13th gen i9-13900H 2.60 GHZ16 GB solderedIntegrated Intel Iris XE
OS
Windows 11 Pro + Win11 Canary VM.
Computer type
Laptop
Manufacturer/Model
ASUS Zenbook 14
CPU
I9 13th gen i9-13900H 2.60 GHZ
Motherboard
Yep, Laptop has one.
Memory
16 GB soldered
Graphics Card(s)
Integrated Intel Iris XE
Sound Card
Realtek built in
Monitor(s) Displays
laptop OLED screen
Screen Resolution
2880x1800 touchscreen
Hard Drives
1 TB NVME SSD (only weakness is only one slot)
PSU
Internal + 65W thunderbolt USB4 charger
Case
Yep, got one
Cooling
Stella Artois (UK pint cans - 568 ml) - extra cost.
Keyboard
Built in UK keybd
Mouse
Bluetooth , wireless dongled, wired
Internet Speed
900 mbs (ethernet), wifi 6 typical 350-450 mb/s both up and down
Browser
Edge
Antivirus
Defender
Other Info
TPM 2.0, 2xUSB4 thunderbolt, 1xUsb3 (usb a), 1xUsb-c, hdmi out, 3.5 mm audio out/in combo, ASUS backlit trackpad (inc. switchable number pad)

Macrium Reflect Home V8
Office 365 Family (6 users each 1TB onedrive space)
Hyper-V (a vm runs almost as fast as my older laptop)
Or skip the intermediate step of making an image and use winntsetup wincopy
 

My Computers My Computers

  • At a glance

    Win7,Win11i7-97002x16gb 3600mhz
    OS
    Win7,Win11
    Computer type
    PC/Desktop
    CPU
    i7-9700
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x16gb 3600mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • At a glance

    win7,win11i5-84002x8gb 3200
    Operating System
    win7,win11
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200
    PSU
    xfx pro 450
Sorry Windows stays in a box (VMware on Garuda Linux - might change to Manjaro when a 2024 version is released - maybe not as the zen kernel is extremely fast. For me, I see no reason to change until Windows 12 - but if it is a subscription, I doubt I'll bite.
 

My Computer My Computer

At a glance

Fedora Silverblue Rawhide Debian 13 Ubuntu 25...AMD Ryzen 7 7800X3D 8-Core64GBNvidia
OS
Fedora Silverblue Rawhide Debian 13 Ubuntu 25.10,
Computer type
PC/Desktop
Manufacturer/Model
HomeBrew
CPU
AMD Ryzen 7 7800X3D 8-Core
Motherboard
Gigabyte
Memory
64GB
Graphics Card(s)
Nvidia
Monitor(s) Displays
Dell
Hard Drives
3 ssd 2 spinners configured as raid 0
Keyboard
Eluktronics
Mouse
Eluktronics
Browser
Firefox and Chromium
Other Info
Gnome 46
Back
Top Bottom