Install Hyper-V: Windows Server 2012 GUI

In order to install the Hyper-V role on a Server with a GUI installation, you can also use Windows PowerShell, or you can use the Server Manager if you prefer a graphical user interface:

  1. On the server desktop, open Server Manager (Figure 1).


Figure 1:
 Windows Server 2012 – Server Manager Console

  1. In Server Manager, in the menu, click Manage, and then click Add Roles and Features (Figure 2).


Figure 2:
 Server Manager Console – Add Roles and Features Selection

  1. In the Add Roles and Features Wizard (Figure 3), on the Before You Begin page, select Next.


Figure 3:
 Add Roles and Features Wizard – Before You Begin Page

  1. On the Select Installation Type page (Figure 4), select Role-based or feature-based installation, and click Next.


Figure 4:
 Add Roles and Features Wizard – Select Installation Type Page

  1. On the Select Destination Server page (Figure 5), select the server, and click Next.


Figure 5:
 Add Roles and Features Wizard – Select Destination Server Page

  1. On the Select Server Roles page (Figure 6), select Hyper-V, and then click Add Features in the dialog box.


Figure 6:
 Add Roles and Features Wizard – Add Features Dialog

  1. On the Select Server Roles page (Figure 7), click Next.

Figure 7: Add Roles and Features Wizard – Select Server Roles Page

  1. On the Select Features page (Figure 8), click Next.


Figure 8:
 Add Roles and Features Wizard – Select Features Page

  1. On the Hyper-V Page (Figure 9), click Next.


Figure 9:
 Add Roles and Features Wizard – Hyper-V Page

  1. On the Create Virtual Switches page (Figure 10), select a network adapter, and then click Next.


Figure 10:
 Add Roles and Features Wizard – Create Virtual Switches Page

  1. On the Virtual Machine Migration page (Figure 11), click Next.


Figure 11: 
Add Roles and Features Wizard – Virtual Machine Migration Page

  1. On the Default Stores page (Figure 12), click Next.


Figure 12:
 Add Roles and Features Wizard – Default Stores Page

  1. On the Confirmation page (Figure 13), check Restart the destination server automatically if required, and then click Yes in the restart dialog box.


Figure 13:
 Add Roles and Features Wizard – Restart Dialog Box

  1. On the Confirmation page (Figure 14), click Install.


Figure 14:
 Add Roles and Features Wizard – Confirmation Page

  1. On the Installation Progress page (Figure 15), you can monitor the Hyper-V role installation until the server automatically restarts.


Figure 15:
 Add Roles and Features Wizard – Installation Progress Page

  1. After the server restarts and opens the Server Manager, check the Installation Progress page (Figure 16) to ensure that the Hyper-V role installation was successful, and then click Close.


Figure 16:
 Add Roles and Features Wizard – Installation Progress Page

Advertisements

Install Hyper-V with Windows Server 2012 Core

Here are the basic steps to install the Hyper-V role on a Server Core Installation of Windows Server 2012 using Windows PowerShell:

  1. At the Server Core installation console, a command line window opens after login (Figure 1).

1
Figure 1:
 Windows Server 2012 Server Core Installation Command Line

  1. As shown in Figure 2, type PowerShell in the command window to access the Windows PowerShell interface.


2
Figure 2:
 Windows Server 2012 Command Windows – Starting PowerShell

  1. Type Get-WindowsFeature at the PowerShell Command Line (Figure 3) to view the server roles and features that are installed or available on the server.

3
Figure 3:
 Windows Server 2012 – Get-WindowsFeature PowerShell Cmdlet

  1. Type Install-WindowsFeature –Name Hyper-V – Restart to install the Hyper-V role and automatically restart the server after the installation of the role. (Figure 4).

4
Figure 4: Windows Server 2012 – Install-WindowsFeature PowerShell Cmdlet

  1. After the server restarts, start PowerShell from the command window, and type Get-WindowsFeature | where {$_.Installed –eq $True} to verify the successful installation of the Hyper-V role (Figure 5).

5
Figure 5:
 Windows Server 2012 Hyper-V Role Verification in Windows PowerShell

The command output is formatted to display only a list of the roles and features that are installed on the server, rather than the entire list of roles and features available. Using Windows PowerShell, roles and features can be installed individually as shown in this example, or you can install multiple roles and features using a single cmdlet. For example, you can install the Hyper-V and Web Server roles using the following syntax: Install-WindowsFeature –Name Hyper-V, Web-Server – Restart.