Importing Virtual Machines Windows 8 Client Hyper-V   2 comments


If you have previously saved virtual machines from another Hyper-V environment, it is pretty simple to import them. For my test lab, I downloaded an Ubuntu virtual machine appliance, a preconfigured virtual machine that should be ready to go. Sometimes you can also find preconfigured virtual machines from Microsoft that you can use for testing and evaluation purposes. The import process should be the same regardless.

First, in the Hyper-V manager, click the Import Virtual Machine action, as seen below in Figure 1.

Hyper-V Import Virtual Machine

It’s your choice whether you want to see this page every time you run an import. I’ll go ahead and click Next. This is where I’ll specify the path to the virtual machine. All I had to do is browse to the top-level folder that had the config.xml file. Figure 2 shows my path.

Hyper-V virtual machine folder

The wizard found one virtual machine for me to import, as seen below in figure 3.

Hyper-V select virtual machine

Next, I need to decide how to register the virtual machine with this Hyper-V “server.” Figure 4 shows my options.

Hyper-V register virtual machine

The choice might depend on what your plans are for the virtual machine. Since I’ll likely only ever use this VM for this tutorial, I’m going to use the default Register option. If I was importing a previously created VM, say from a backup of this computer, then I would most likely use the Restore option. The ID is critical, especially if you are using any third-party Hyper-V management tools, since in a restore process you would want to retain the original ID. Of course, if you want to get a new and unique ID, then select the Copy option.

After clicking Next, the import wizard offers you a summary of what it is about to do.

Hyper-V virtual machine summary

So far so good, so I’ll finish the wizard. After the import, the new virtual machine is displayed in the Hyper-V manager as seen below in figure 6.

Hyper-V virtual machine in manager

Now, before I get ahead of myself and fire up the VM, I’m going to check the settings. I can either right-click the virtual machine and select Settings from the context menu or click it in the Actions pane. Figure 7 shows the current settings.

Hyper-V virtual machine settings

From here I could modify settings if necessary. Perhaps I don’t want to allocate 2GB of memory. Or, in the case of this particular virtual machine, I’ll need to manually add a network adapter. As you can see below in Figure 8, I can add the new adapter to my previously defined virtual switches.

Hyper-V add network adapter

I want this VM to be on the network, so I’m going to choose the Work network. I’ll accept all the other network adapter defaults for now.

At this point I’m ready to fire up the virtual machine. But because I imported this from a previously created machine, I know that Hyper-V will make some changes the first time I start it on this computer. This is especially true of virtual machines running Windows operating systems. So before I fire it up, I’m going to take snapshot either from the right-click context menu or the Actions pane. This allows me to start over without having to reimport the machine and reconfigure.

Now I’m finally ready to start it again, either from the context or actions menu. Figure 9 shows my new virtual machine in action.

hyper-v virtual machine

To use the virtual machine interactively all I need to do is connect to it. I can click the Connectlink in the Actions menu or double-click the virtual machine name. Hyper-V will then create a session to the virtual machine console as you can see in Figure 10.

Hyper-V connect to virtual machine

I can log on, and just like that I am running Ubuntu! Now, the goal of this article wasn’t necessarily to run Ubuntu in Windows 8. I wanted to demonstrate how to import a virtual machine. I could have just as easily imported a previously created virtual machine that ran a Windows operating system. The process is still the same as I demonstrated here.

Advertisements

Posted 03/10/2012 by Petri in Hyper-V

2 responses to “Importing Virtual Machines Windows 8 Client Hyper-V

Subscribe to comments with RSS.

  1. Pingback: Linux: Importing Virtual Machines Windows 8 Client Hyper-VNine OM

  2. The Blackstone Anti-Snoring Pillow sits appropriate atop
    your own personal pillow in order that your head
    is raised up higher once you sleep as well as your chin just isn’t in your chest.
    This keeps your air passage opened and aligned correctly to
    ensure that no tissue vibrates. Obviously, no pillow would be valuable if
    it didn’t assistance your head, and also the Blackstone Pillow does that too.
    The pillow may also aid relieve acid reflux (GERD) due to the
    fact, with your head elevated, it is tougher for stomach acid
    to produce its way up the esophagus.

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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: