.NET

P2V of an existing XP machine to Hyper-V to have an emergency fallback when retiring old XP physical machines

 
 
 
 
 
 
 
 
 
 

Steps

  1. Put the SATA disk of the XP machine in a different one.
  2. Disk2Vhd on the new machine to create a VHDX of the XP hard disk.
  3. Install Hyper-V on the target Windows 8.1 machine (you need at least Pro for that).
  4. Setup the base VM directory.
  5. Setup a virtual network switch (decide if you want it to be internal, external or private, then bind it to a network adapter if needed).
  6. Add a new VM.
  7. Assign a new directory to it.
  8. Assign memory to it.
  9. Assign the virtual network switch to it.
  10. Save it.
  11. Edit the settings, then bind the DVD drive on the IDE controller 1 to C:\Windows\System32\vmguest.iso.
  12. Connect to the VM.
  13. Start it.
  14. If you get a stop 0x0000007B (usually because of SATA/AHCI issues), then read Jon’s Project Blog » disk2vhd using UBCD for Windows to solve the issue as there is no BIOS screen in Hyper-V that allows you to switch from AHCI to SATA and back.
  15. Note: you cannot perform UBCD4Win when you access the Hyper-V host through Microsoft Remote Desktop (the mouse will not work at all, and most keyboard shortcuts will not work either; Virtual Machine Connection Key Combinations with Hyper-V – Ben Armstrong – Site Home – MSDN Blogs does not apply).
  16. Boot.
  17. Register Windows (you might need to do extra work to go from OEM to Retail here).
  18. Remove hidden devices that are not used any more and their drivers.
  19. Setup a backup schedule.

Some links that helped me get at these steps

Related Articles

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Back to top button