How to Install and Configure the Hyper-v Role in Server
- What is Hyper-v?
The Hyper-v service is a Type II hypervisor that is included with Server
2012. The Hyper-v service is also included with Server 2008
and Windows 8.X Pro and Enterprise versions.
The Hyper-v service allows you to create virtual machines on your
- When and why would you want to use Hyper-v?
In a business environment you would use Hyper-v to create and manage
virtual machines for use within your infrastructure. A Hyper-v
host system could could have several guest virtual machines configured
as domain controllers.
- In the classroom:
Various exercises in IT courses require a student to have two systems
running. There are not always a sufficient amount of physical systems
for each student to have access to two. Using the Hyper-v service
allows a student to use one physical system and run more than one OS,
one being the host system installed on the physical system, and one
being a virtual machine.
- Minimum requirements:
- Installation media for Server 2012 Standard
- The Hyper-v service requires a CPU with hardware
assisted virtualization capabilities (HAV). This capability
may have to be enabled in the BIOS.
Microsoft refers to HAV as SLAT, second level address translation.
- Preliminary steps:
- Install the full (GUI) version of Server 2012
- Install any missing device drivers
- Install all WIndows updates for the OS (not
required in the classroom)
- Configure the TCP / IP V4 protocol for full
In the classroom: TCP / IP V6 should be disabled as it is not
part of the classroom network infrastructure
Step-by-step guide on adding the Hyper-v role in Server
2012 R2 Standard (full GUI version)
- Open the Server Manager Console and select number 2,
Add roles and features
- Verify that the recommended tasks have been completed
- Select the installation type - Next.
For this process leave at the default - Role-based or feature- based
- Select the destination server - Next
In this environment, an AD DS domain name HBTest.local, there is only
one DC. In a larger AD DS domain you would see other DCs in the
domain on this screen.
- Check the box by Hyper-v
- When you select the box by Hyper-v shown in the
previous image, an additional option box will pop-up. Leave at the
default settings and select Add Features.
As this is your first instance of the Hyper-v service, you will want the
- Selecting Add Features will bring you back to this
screen where you can see Hyper-v selectted - Next
- Now that you have selected the Hyper-v Role, you will
be presented with additional options to add Features. No
additional features are required for Hyper-v - Next
- Read about Things to note - Next
- A virtual switch is required in Hyper-v, make sure
the checkbox beside the installed network adapter is selected - Next
Many server system units have more than one NIC, you could select
multiple network adapters at this time, or even select none, and add the
virtual switch later in the Hyper-v management console.
- A new feature of Hyper-v in Server 2012 is live
migration. This is an automated process of moving virtual machines
from one host to another automatically based upon load.
Live migration is not required, leave at default (unchecked) - Next
- Confirm the location where the virtual machine
configuration and virtual hard disks will be stored - Next
You may want to modify these default locations, as shown in the next
- Optional: If you choose to modify the default
locations for storing the Hyper-v virtual machine file - select browse.
A window will then open that will allow you to choose a different
location for your files.
- You will then be able to create a new folder for
storing the files on any available volume.
- Here is an example of creating a new folder in the
root of the %systemdrive% named Virtual Machines.
- This image shows the modifications made to the
locations where the Hyper-v configuration and virtual hard disks are
- Continuing on from step 12 where you accepted the
default file storage locations, or from the previous step after
Choose to Restart automatically after the Hyper-v service is installed
by checking the box, or not. A restart of the system is required
after the Hyper-v role is installed.
- If you select the Restart automatically check box on
the previous screen, you will see this pop-up window - Yes.
- Installation progress.
- The system now restarts, automatically if selected.
- After the system has restarted, and you have logged
back in, a window will pop-up showing the end of the installation
- Installation succeeded.
- Now that the Hyper-v role has been installed, when
you go back to the Server Manager console, you will see the Hyper-v
Manger listed under the tools menu.
- This image shows the Hyper-v Manager console which
you will use to create and manage virtual machines.
- How to create a Windows 7 Professional Hyper-v
- Please note, this process is specific to the SMCC
Computer Tech classroom environment in CESC Room 04.