Hyper-V Manager – Everything You Need to Know Hyper-V Manager – Everything You Need to Know

20 Aug by Eric Siron     15     Hyper-V Articles

The very first tool you’ll use to manage your Hyper-V R2 infrastructure is Hyper-V Manager. It is simplistic enough to learn quickly but powerful enough to be the primary management application for small deployments. Even deployments that utilize System Center Virtual Machine Manager (SCVMM) will find uses for this tool.

How to Acquire Hyper-V Manager

Getting your hands on a copy of Hyper-V Manager isn’t exactly obvious. First, you need to be using Windows 7 with Service Pack 1 or a GUI installation of Windows Server 2008 R2 with Service Pack 1. If you’re using Windows 7, you’ll next need to download and install Remote Server Administration Tools for Windows 7 with Service Pack 1 from Microsoft’s download site.  To activate, access the Control Panel and switch to “Programs and Features”. On Windows 7, expand “Remote Server Administration Tools”. On either operating system, expand “Role Administration Tools”. Finally, select “Hyper-V Tools” and click OK. The following screenshot shows this process on Windows 7:

Switching on Hyper-V Tools in Windows 7

Once you’ve got the tool installed, you’ll find it under the “Administrative Tools” menu selection on the Start Menu.

Interface Quick Tour

When you open the application for the first time, it provides some useful links in the center pane. As an administrator, you are encouraged to exploit the resources and knowledge available at the Hyper-V TechCenter. If you’re in evaluation mode and want whitepapers and other information to present to decision makers, the “Microsoft Virtualization Library” link is your destination.

Of course, you’re using the tool to manage a Hyper-V server, so let’s dive into that. As with most things Microsoft, there are multiple ways to begin. If you right-click the “Hyper-V Manager” item in the left pane, you’ll get a context menu with “Connect to Server…” as an option. With that item highlighted, you can find the same item under the “Action” menu. Enter the name or IP of a Hyper-V host and click OK to connect to it.

Screenshot - Connecting to a Server

This will add the server to the console and select it so that, unless you highlight something else, context menus will operate on it.

Most components of the interface are simple and self-explanatory. If this is your first time in the program, click around and familiarize yourself with the layout and what the menu items do.

Virtual Network Manager

This is one of the most important components of Hyper-V Manager. If your virtual networks aren’t built correctly, your virtual machines will be unable to connect to the network. What this dialog does is create one or more virtual switches. These virtual switches function much like physical layer-2 switches. When you create a virtual machine and give it a virtual network card, you’ll be asked to connect it to a virtual network; that is much like plugging a physical card it into a physical switch. The primary difference is that you don’t have to worry about port numbers.

Screenshot of Virtual Network Manager

One confusing thing about this dialog is the way the “OK” and “Apply” buttons work. You can configure multiple virtual networks without clicking either button; just make whatever changes you want to one and then either select another or click on “New virtual network” to begin working on a new one.

Starting at the top of the Virtual Network Properties, the first thing you encounter is the Name field. This isn’t all that important in a single-node deployment with only one NIC, but for any other deployment this matters. In a cluster, only identically named virtual networks can participate in any migration. For instance, the above screenshot shows networks “VMNet1” and “VMNet2”; for a high-availability virtual machine on this node to be LiveMigrated to another node, the destination node must contain a virtual network with the same name(s) as the one in use by the virtual machine. If there is only one node but multiple virtual networks, the names will guide how you load-balance the virtual machines.

The notes field is just that; use as you wish.

The connection type is very important. Only the external type can be used to connect virtual machines to a real network and is the type you will most commonly use. This one will bond to a physical network card in the host. Unfortunately, the drop-down box isn’t exactly easy-to-use for determining which NIC is being assigned. On the Hyper-V host, run “IPCONFIG /ALL” at a command prompt and use the “Description” field for guidance. If you check the box for “Allow management operating system to share this network adapter”, then Hyper-V will create a virtual network card for the management operating system and attach it to this virtual switch. It is not recommended that you do this unless you don’t have enough physical network cards.

If you do select the option to share the physical NIC, you’ll then be able to apply a VLAN Identifier. If you’re plugging into a switch that uses VLANs, then the management operating system will be connected to the VLAN specified by this identifier. As indicated, it has no effect on any of the virtual machines.

Internal and private networks are not required for a successful deployment and are therefore beyond the scope of this discussion.

Virtual Machine Management

With a host added, you can now manage its virtual machines. If you haven’t got any, you can use the “New Virtual Machine” wizard to create one. This process is very straightforward and will not be covered in-depth in this article.

With a host highlighted on the left, the center pane serves as a heads-up display for all the host’s virtual machines and their status. With a virtual machine highlighted, the right pane contains possible actions for both the host and the VM. These are mostly self-explanatory and you can quickly investigate the items. One that does deserve special mention is the “Reset” action. It is like hitting the Reset button on a physical computer and will not initiate a graceful shutdown. In that respect, this is also the difference between “Turn Off” and “Shut Down”; the latter is graceful, the former is not. Only use “Reset” and “Turn Off” when there are no graceful shutdown options.

The item that you’ll probably spend most of your time in is the “Settings” dialog for a virtual machine. Again, most of this is straightforward so there’s little benefit in exhaustive coverage. There are some things to note:

  • Most settings cannot be changed while the virtual machine is turned on or in a saved state.
  • BIOS tab: This is where you establish the boot order and whether or not NumLock is activated at boot. Note that regardless of what you set here, the state of the NumLock key isn’t always perfectly translated when using Hyper-V’s remote connection tools. This is especially notable with Windows Server 2003 virtual machines.
  • Memory tab: You cannot configure dynamic memory when creating a virtual machine, so you’ll need to access those settings here.
  • Hard drives: Do not move the VM’s boot drive to a SCSI controller or it will not start. Do not place a VHD containing a page file on the SCSI chain or it will never be used.
  • Network adapters: Only use a Legacy adapter if you need network-boot capabilities or if the guest operating system does not support Integration Components.
  • Integration services: If you are virtualizing a domain controller and the Hyper-V host is a domain member, you’ll probably want to disable Time Synchronization for that virtual machine. This is because domain controllers usually establish themselves as authoritative time sources so the Hyper-V host will be trying to synchronize itself against a domain controller that is in turn trying to synchronize from the Hyper-V host. The end result is that your entire domain is basing its authoritative time from the hardware clock in the Hyper-V host. If you have multiple virtualized domain controllers on different Hyper-V hosts, this can cause problems. There are ways to configure this to avoid drift, but it’s generally easier to disable synchronization and follow Microsoft’s instructions on setting up your domain controller to synchronize from an external time source.

Snapshots

If you tell Hyper-V Manager to take a snapshot of a virtual machine, it happens instantly without verification. Since you have to shut off a virtual machine in order to merge snapshots, keep this in mind, although you can cancel the snapshot creation if you catch it quickly enough (just right-click a virtual machine that is creating a snapshot and there will be a menu item).

Differences Between Hyper-V Manager and System Center Virtual Machine Manager 2008 R2

Organizations with more than a few virtual machines on a single host will probably want to utilize SCVMM 2008 R2 or newer. Through the 2008 R2 version, this is a standalone piece of software intended specifically for managing Hyper-V virtual machines. It adds a great deal of functionality beyond Hyper-V Manager, but it does not replace it. Here are the major differences where the two products have overlapping functionality:

  • It adds no software to your Hyper-V deployment. SCVMM will install an agent on your host(s).
  • It has no paid licensing requirements at all.
  • It maintains almost real-time updates of what’s happening on your host while SCVMM is delayed by several minutes. So, if a virtual machine is in a blue screen reboot loop, you’ll need Hyper-V Manager to successfully stop it.
  • It processes the Hyper-V host’s configuration by direct communication. SCVMM leverages a database to track configurations (and a great many other things), so it is a much “heavier” program. As such, it requires a Windows Server that can run its management component and a SQL Server Express instance.
  • The VM connection tool allows you to connect to a virtual machine even if it’s off. SCVMM’s does not.
  • Its VM connection tool gives you a specific option to insert the integration services installation CD into a running VM so you can install it manually. SCVMM only gives you an option to install the integration services to a powered-off system, although it handles the entire process for you.
  • It builds new virtual machines with a SCSI controller in addition to the IDE controllers and a synthetic network adapter. These options can’t be changed during creation of the virtual machine. SCVMM builds new virtual machines without a SCSI controller and with a legacy (emulated) network adapter. These options can be changed during creation.
  • It uses “snapshot” terminology while SCVMM uses “checkpoint” terminology; they are functionally identical.
  • SCVMM allows you to configure ranges of VLANs that virtual switches are allowed to trunk. Hyper-V Manager can’t manage that at all. In an installation that has never had SCVMM, the virtual switches will trunk all VLANs.
  • SCVMM cannot track the progress of a snapshot merge. Hyper-V Manager can.
  • Deleting a VM does not delete its VHDs. Deleting it in SCVMM does.

Hyper-V Cluster Integration

Hyper-V Manager is aware of Hyper-V clusters, but it has no functionality to manage them (use Failover Cluster Manager or SCVMM for that). It cannot move virtual machines from one node to another, but if you use another tool to migrate a VM (Live or otherwise), it will indicate that it is moving. The most important thing about Hyper-V Manager’s handling of clusters is that cannot create a virtual machine in High Availability mode. Failover Cluster Manager can convert existing virtual machines to High Availability mode and it can create virtual machines in High Availability mode (as can SCVMM).

Have any questions?

Leave a comment below!

 

Backing up Hyper-V

If you’d like to make backing up your Hyper-V VMs easy, fast and reliable, check out Altaro Hyper-V Backup v4. It’s free for up to 2 VMs and supports Hyper-V Server 2012 R2! Need more? Download a 30-day trial of our Unlimited Edition here: http://www.altaro.com/hyper-v-backup/.

 

Receive all our free Hyper-V guides, checklists and ebooks first via email!

Thank you, your sign-up request was successful! Please check your e-mail inbox.
Given email address is already subscribed, thank you!
Please provide a valid email address.
Oops. Something went wrong. Please try again later.
(Don’t worry, we hate spam too!)

Eric Siron

I have worked in the information technology field since 1998. I have designed, deployed, and maintained server, desktop, network, and storage systems. I provided all levels of support for businesses ranging from single-user through enterprises with thousands of seats. Along the way, I have achieved a number of Microsoft certifications and was a Microsoft Certified Trainer for four years. In 2010, I deployed a Hyper-V Server 2008 R2 system and began writing about my experiences. Since then, I have been writing regular blogs and contributing what I can to the Hyper-V community through forum participation and free scripts.

15 Responses to “Hyper-V Manager – Everything You Need to Know”

  1. [...] connection to it using the Connect to Server option and providing your Servers IP# or hostname. On this site you will find usefull information working with Hyper-V Manager. Share this:TwitterFacebookLike [...]

  2. Edi Jarju

    Hi

    I have just started working on Hyper-v and wondered if you can help. I have been researchig online but still cannot find the solution.
    I have a single Physical NIC I want to share with an XP VM I have just created today. I also have a linux based VM that I have also created.

    The created Virtual Switch is being shared by both the XP and the Linux NIC.
    The wish is to share the physical host NIC with the 2 VMs I already have.

    I have associated the two VM nics to the virtual switch, but nothings happening, I cannot connect to the network from the xp machine.

    1. Can this be done in Hyper-v
    2. Any references online that would be useful

    Thank you

    • Eric Siron
      Eric Siron

      1. Yes, you can do this.
      2. We’re working on something that might be helpful but it’s still in cleanup. There are only a few things that might be the culprit here. The physical switch port that your physical NIC attaches to must be configured as a trunk port or an uplink port or whatever your hardware vendor indicates is the proper setting to connect to another switch. Make sure the XP unit has integration services installed and recognizes the NIC.

  3. Samir Sabri

    I have followed directions on this post, I have windows 7 pro 64 bit sp1, but, there is no New Virtual Machine menu item in the Actions menu of Hyper-V Manager

    I couldn’t find Virtual Network Manager

    Any idea please?

    • Eric Siron
      Eric Siron

      Did you connect it to a server? The context menu doesn’t appear until you highlight a server in the far left pane.

  4. Trevor

    Hi want to run a DOS 6.22 with Win 3.11 virtual in Win 2012 Hyper V. I have the floppy for both and would like to install them but just can’t seem to figure out how to do this. Any help would be appreciated.
    Thanks
    Trevor

    • Eric Siron
      Eric Siron

      I have sort of a general rule about not asking people why they want to do things, but… why ever would you want to do this?
      Even if you’re serious about it, I’d have to classify this under “Fun Projects” because it probably won’t work and I have no way to try it out. Oddly, or perhaps sadly, I still have all my floppies for DOS 6.22 and Win3.11, but I’m pretty certain that Disk 1 of Win3.11 died back in the early ’00s. Even if it didn’t, I think my last floppy drive went to the recyclers in 2010.
      Anyway, if I were to attempt this, I would use a tool to extract the boot image from the first DOS 6.22 disk and put it onto a CD ISO. I think IMGBURN can do this but I’m sure there are lots of ways. After that, spend a day transferring all the contents of those diskettes to VFD files. Then I’d make the VM, probably with a gigantic 4MB of RAM and a VHD of a whopping 200MB in size. Boot the VM to the ISO. Use FDISK and FORMAT /S to prepare the virtual hard drive. Spend an hour mounting Windows VFDs for that installation. Then reboot the VM. It probably won’t work.

  5. Jas

    Hi,

    I have installed a Guest OS Windows 2008 R2 in a hyper-V 2012. But the mouse on the virtual machine (2008 R2) is not working at all. I tried installing the Integration Services but it prompted with the error “You must upgrade to the Service Pack 2 before installing the Integration Services”
    Appreciate any help or pointers from you.
    Thank you in advance.

    • Eric Siron
      Eric Siron

      Are you absolutely certain it’s 2008 R2 and not just 2008? Run “Winver.exe” from the run menu or any command-line to verify.

  6. tam

    i have installed Hyper-v and website on Hyper-v.
    On server installed hyper-v can access my domain autoxxx.com rightly. But external network cannot access. I donnot know why?
    I point my domain to server correctly

    Pls help

    Thanks

    • Eric Siron
      Eric Siron

      I’m not sure that I have enough details from what you’ve posted to help you out. Are you saying that the virtual machines can’t access the network?

  7. Uday

    I’ve a VM on Hyper-V which is rebooting continuously.
    I’m able to login through safe mode with network access. However, its not staring in normal mode. Please advice me how to address this issue.

  8. michael clyde

    hello,
    so, if i understand, (correctly) i cannot install hyper-v on my win7 enterprise x64 os to be able to run an ‘open access server’ virtual appliance made for microsoft’s hyper-v platform without running microsoft’s hyper-v server 2008r2 (which is free?) and the built in tools in win7, rsat? the hyper-v server 2008r2 is an installable system (as in on a separate partition) or does it run inside of win7? if i had a win8 or win8.1 os i could install microsft’s hyper-v program directly. somehow i got the impression that win7 would run hyper-v, maybe because of the win xp virtualization thing it does.

    thanks,
    michael clyde

    • Eric Siron
      Eric Siron

      Client Hyper-V is a component of Windows 8 Pro and later versions. For Windows 7, Virtual PC was Microsoft’s solution. It was a type 2 hypervisor.
      Hyper-V Server, any version, is installed directly to hardware, not inside another operating system.

Leave a comment