Info I successfully imaged a customer's old PC's Windows installation and presented it as a virtual machine on new PC

mikeymikec

Lifer
May 19, 2011
20,606
15,514
136
My previous little project here:

... gave me an idea. A customer's old PC essentially died, so I used sysinternals' disk2vhd, which created a vhdx file that Virtualbox claims to handle but apparently can't, so I followed this guide here with this command:

Code:
"C:\Program Files\Oracle\Virtualbox\VBoxManage.exe" clonemedium disk D:\path\to\image.vhdx D:\path\to\newimage.vdi --format vdi

I converted it to vdi format which VB can handle, then set up a basic Win10 VM and now I can boot the old PC's install of Windows on the new PC. Yay!
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,661
4,603
75
I'm actually surprised that worked. I thought most OEM Windows installs had a license tied to the motherboard. Maybe that's changed?
 

mikeymikec

Lifer
May 19, 2011
20,606
15,514
136
I'm actually surprised that worked. I thought most OEM Windows installs had a license tied to the motherboard. Maybe that's changed?
I didn't give it an Internet connection, just in case. In this scenario I don't really care if the install ends up unlicensed, as long as I have sufficient access to it.
 

mikeymikec

Lifer
May 19, 2011
20,606
15,514
136
Even with the old install of Windows being disconnected from the Internet, Office 2013 is claiming that it needs reactivating, so that deprived me of one bit of evidence (the account it was likely registered to), but that's not a problem in this case.
 

tcsenter

Lifer
Sep 7, 2001
18,909
558
126
Hey this has potential I can think of several cases where this would have been a great solution!
 

mikeymikec

Lifer
May 19, 2011
20,606
15,514
136
Hey this has potential I can think of several cases where this would have been a great solution!

Yep, like when a board has died and the customer has saved passwords in chrome derivatives, as long as the drive is removable.

It's also handy when migrating from one desktop PC to another without enough equipment to have both up and running to do comparisons / double-checking work.

Disk space is a potential problem though, the vhdx image was ~70GB, convert that to vdi there goes another ~70GB (you could delete the vhdx afterwards though), fortunately in this case the customer wanted a 1TB SSD in the new PC. The vdi file could be trimmed by emptying out restore points, sdelete C: -z, then running the vboxmanage compact command on the vdi.
 
  • Like
Reactions: igor_kavinski

tcsenter

Lifer
Sep 7, 2001
18,909
558
126
Does this requires the PCI-PCIe pass-through support? Do any vendor-specific drivers balk when loading?
 

mikeymikec

Lifer
May 19, 2011
20,606
15,514
136
Does this requires the PCI-PCIe pass-through support? Do any vendor-specific drivers balk when loading?

Nope. Prep the data source, set up a basic Win10 VM in Virtualbox (nothing needed like matching EFI configs), point it at the datasource, fire it up.

I haven't bothered trying to get the virtualbox video driver going, I just wanted some access to the live Windows install.
 
  • Like
Reactions: tcsenter