The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,184 other subscribers

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

Posted by jpluimers on 2015/04/27

Edit 20210727:

  • A lot of the links below have died due to link rot (sometimes even the domains have gone), but most of the WayBack machine links marked [Wayback] still work.
  • The same stop [Wayback] stop 0x0000007B can happen when converting a physical machine to VMware (I will schedule a separate post about this):

    Windows XP Virtual Machine failing with stop 0x0000007B

    Windows XP Virtual Machine failing with stop 0x0000007B

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/IDE or other MassStorage controller driver issues), then read [Wayback] Jon’s Project Blog » disk2vhd using [WaybackUBCD 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; [WaybackVirtual 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:

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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

 
%d bloggers like this: