37

I really liked the integrated Virtual Machine that Windows had built-in with Windows 7, known as the Windows Virtual PC. I'm looking to install that again. I'd like to be able to install multiple virtual machines as I did before (running XP, Ubuntu, etc.) but I can't seem to find Windows Virtual PC for Windows 8.

Is it still available? If not, is there something that replaces it? How do I use it?

NOTE TO ALL: While this is an accepted self-posted answer, feel free to edit, comment or add an answer of your own. If your answer is better than mine, I will accept it.


This question was a Super User Question of the Week.
Read the blog entry for more details or contribute to the blog yourself.

1 Answer 1

45
+200

Windows Virtual PC has been phased out in Windows 8, and has been replaced with the more full-featured Hyper-V.

Additionally "XP Mode" is no longer available and, if needed, you'll have to install an actual previous copy of XP with a license that you already own, as the XP Mode license was granted only to users of Windows 7 specifically (more info here and within How to retrieve data from a Windows XP Mode virtual machine on Windows 8).

Hyper-V has a ton more features than Windows Virtual PC and has much higher performance, being a bare-metal hypervisor. It's what has come with various server versions of Windows since 2008. For more details on its features I suggest reading this blog post from the Windows Blogs.

Note, however, that to use Hyper-V, you need to be running a 64-bit version of Windows 8 Pro or Enterprise, and your processor needs to support a feature called SLAT (Second-Level Address Translation). Both Intel and AMD have supported this feature on most of their processors since 2007-2008.

To enable Windows Hyper-V

  1. Select Start (or press Win key) and type in "Programs and Features"

    Win 8 UI app selection

  2. Click on "Turn Windows features on or off"

    Where or Where is my Windows features?

  3. Select "Hyper-V" from the features. (Make sure that all sub boxes are checked as well)

    Hyper-V to the rescue!

After installation you'll have to restart the computer but then you'll have access to both Hyper-V Manager and Hyper-V Virtual Machine Connection. Manager is used to create/maintain the virtual environment. The Machine Connection is the same concept as RDP only it's tailored specific to the Virtual Machines

How Do I setup a Virtual Machine with Hyper-V?

When you open Hyper-V Manager you'll be presented with the following screen:

Hyper-V Main UI

Note: you'll see that I've already created a VM for Ubuntu. To create a new VM, simply select New --> Virtual Machine:

It's so easy my unborn child could do it

Follow the wizard which should be the following steps:

  1. Enter a Name for the VM & set location of the VM
  2. Assign Amounts of Memory
  3. Configure Networking
  4. Create or connecting to a virtual Disk
  5. Setup any startup disks to emulate (For OS installation)

After that you should have access to your VM.

Taking Snapshots

Snapshots is an awesome feature that Hyper-V comes with. It basically takes an entire snapshot of the Virtual Machine (even while it's still running!!!!) To do this you:

  1. Right Click on the VM and select "Snapshot"

    Righty Clicky

  2. That's it! You can then connect to that snapshot as if it's its own running VM (because it is).

    Heres..... Snapshot!!!!

This is great to testing/development and you realize that you've crashed something major. The idea is to take the snapshot, make changes to it until its stable, and then "Apply" those change back to the original VM. You do this by Right Clicking on the Snapshot and selecting "Apply":

Apply that....

21
  • 2
    I haven't used Client Hyper-V in Windows 8 yet, but don't you need to connect through RDP to get audio support (relevant only to Windows guests)? Hyper-V Server does not include a virtual sound card.
    – paradroid
    Commented Sep 18, 2012 at 18:04
  • @paradroid that is correct. Check out the blog post for more info on that. Commented Sep 18, 2012 at 18:16
  • 2
    I believe (as this is how I understand Hyper-V) that it inserts itself between the hardware and the host OS as well, thereby making the host OS virtualised as well. Quite a novel approach really.
    – user3463
    Commented Oct 30, 2012 at 16:56
  • 1
    @chris - Where is that documented exactly? It seems odd considering there isn't a technical reason that would be true. It actually should be the case where it is possible in 64-bit and not in the 32-bit operating system.
    – Ramhound
    Commented Nov 26, 2012 at 15:24
  • 1
    This answer does not answer the question as stated. It answers how do I run Hyper-V on Windows 8. Commented Feb 21, 2015 at 20:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .