How to install the Hyper-V role in Windows Server

Home > Blogs > Windows Server 2012 > How to install the Hyper-V role in Windows Server

How to install the Hyper-V role in Windows Server

1 0Rick Trader
Added by October 21, 2016

Before you are able to build a virtualized environment you will need to install and configure the Hyper-V role on your Windows 2008, Windows 2008 R2, Windows 2012 or Windows 2012 R2 server. The procedure is pretty much the same for all the above operating systems.  You can install the role either through PowerShell or with the graphical Server Manager. I will demonstrate both methods.

Option 1 – PowerShell.

Launch PowerShell

  • From Taskbar icon
  • From Aps tiles menu
  • Type PowerShell while on the tiles screen

Type Get-WindowsFeature to retrieve installed roles and features and to determine the name of the role you want to install.

001-how-to-install-the-hyper-v-role-in-windows-server

002-how-to-install-the-hyper-v-role-in-windows-server

Note the name of the role we want to install is Hyper-V

Type Install-WindowsFeature Hyper-v –IncludeManagementTools

Note:  Adding the –IncludeManagementTools switch will add the Hyper-V graphical management tools, otherwise you will have to install the tools separately.  You could also install the feature RSAT-Hyper-V-Tools to add the graphical management tools.

003-how-to-install-the-hyper-v-role-in-windows-server

004-how-to-install-the-hyper-v-role-in-windows-server

005-how-to-install-the-hyper-v-role-in-windows-server

 

Ensure all windows are closed and work is saved. Type Restart-Computer.

006-how-to-install-the-hyper-v-role-in-windows-server

Hyper-V is now ready to be configured.

Option 2 – Server Manager.

Open Server Manager.

007-how-to-install-the-hyper-v-role-in-windows-server

There are 2 ways to add roles and features on Server Manger.

  • Clicking on Add roles and features on the Dashboard.
  • Selecting Add Roles and Features in the Manage drop down menu.
You may also like:  Virtual machine configuration Versions in Windows Server 2016

On the Before you begin, click Next.

008-how-to-install-the-hyper-v-role-in-windows-server

On the Select installation type, click Next

009-how-to-install-the-hyper-v-role-in-windows-server

On the Select destination server, select the desired server, click Next.

Note:  If you have connected your Server Manager to another server you could install Hyper-V remotely to that server is you are running Windows Server 2012 or Windows Server 2012 R2.

010-how-to-install-the-hyper-v-role-in-windows-server

On the Select server roles, select Hyper-V, when the Add features that are required for Hyper-V appears, click Add Features.

011-how-to-install-the-hyper-v-role-in-windows-server

On the Select server roles, click Next.

012-how-to-install-the-hyper-v-role-in-windows-server

On the Select features, click Next

013-how-to-install-the-hyper-v-role-in-windows-server

Read the Hyper-V screen, click Next

014-how-to-install-the-hyper-v-role-in-windows-server

Create Virtual Switches, if you are going to be connecting the virtual machines to the host machines external interface, you would select the Local Area Connection, click Next.

Note: At this time I am not going to connect to the external interface.

015-how-to-install-the-hyper-v-role-in-windows-server

On the Virtual Machine Migration, click Next.

Note:  If you need to support Live Migrations from the get go you can select Allow this server to send and receive live migrations of virtual machines.  This setting can be configured post installation of Hyper-V.

You may also like:  Using Systeminfo to Check For SLAT Support in Windows 10

016-how-to-install-the-hyper-v-role-in-windows-server

On the Default Stores, modify the default locations as needed, click Next.

017-how-to-install-the-hyper-v-role-in-windows-server

On the Confirm installation selections, select Restart the destination server automatically if required.  Select Yes on the warning screen.

018-how-to-install-the-hyper-v-role-in-windows-server

Note:  Hyper-V does require a restart when installing.  Before clicking on Install, ensure you save all your work and close applications.  The server will restart without prompting the user to save their work.

019-how-to-install-the-hyper-v-role-in-windows-server

After the server restarts logon and if needed launch Server Manager.  A Installation progress screen will appear, click Close when the installation has completed.

019-how-to-install-the-hyper-v-role-in-windows-server

020-how-to-install-the-hyper-v-role-in-windows-server

021-how-to-install-the-hyper-v-role-in-windows-server

Hyper-V is now installed and ready for configuration.

Until next time, RIDE SAFE!

Rick Trader
Windows Server Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

Windows 10 Managing, Deploying and Configuring – December 2, 2015

0 216 1

In this recorded Windows 10 training webinar from December 2, 2015, Windows Server instructor Rick Trader presents the deployment and management of Windows 10 Enterprise and the new Provisioning capability in Windows 10. Learn how to manage Windows 10 deployments using System Center Configuration Manager, Mobile Device Management and Intune. Also included in his presentation … Continue reading Windows 10 Managing, Deploying and Configuring – December 2, 2015

How to clone a Windows Server 2012 or 2012 R2 Domain Controller

1 550 2

One of the coolest new features in Window Server 2012 and Windows Server 2012 R2 is the ability to clone a Domain Controller. In the past, if we had virtualized Domain Controllers and we actually took a snapshot of it and then rolled back to that snapshot, it would break the logon service on that … Continue reading How to clone a Windows Server 2012 or 2012 R2 Domain Controller

Detailed Forensic Investigation of Malware Infections – April 21, 2015

2 251 2

In this IT Security training video, Security expert Mike Danseglio (CISSP / CEH) will perform several malware investigations including rootkits, botnets, viruses, and browser toolbars.

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.