How to Install Microsoft Windows Hyper-V 2012 R2 Core

Hyper-V Server 2012 R2. Is also known as “Free Hyper-V Server” but officially is known as Hyper-V Server 2012 R2. This most resembles Windows Server Core, but the only capability available is to be a Hyper-V host. Note that while this is a free hypervisor, it doesn’t include any Windows virtualization rights for guest VMs like the Windows Server options do. It is fully supported to do all of the Hyper-V functions as the other options, including clustering and being managed by System Center Virtual Machine Manager.

Hyper-V is a very capable hypervisor that are commonly use today and there are two kinds of installation procedure to install this hypervisor

  • Full installation – Of the Windows OS System then enable Hyper-V role on a Windows Server 2012 R2 system
  • Core installation – Means it will only install the necessary package to run the Hyper-V role on a Windows Server 2012 R2 system in mostly you will be using command CLI all the time to configure

In this post, let’s focus on the Hyper-V Server 2012 R2 Core and its installation. Make sure you have met the system requirement to run the Microsoft Hyper-V you can check it from MS-1 here and MS-2 here

Once the .ISO is burned to a DVD or mounted as USB boot, you can boot the computer or server up on the new operating system. If you see this screen where you can select your language, keyboard and numerical formats you are starting off well. Alright lets start.

Hyperv2012_01

 

Step 1: You do not get wrong on this just follow the installation wizard just like you do when you installing your normal windows desktop or server

Hyperv2012_02

 

Step 2: Select the “Custom: Install the newer version of Hyper-V server only (Advance)” and not the 1st option

Hyperv2012_03

 

Step 3: Select the hardisk if you have multiple hardisk in this wizard choose the “Drive 0” then click next to start the installation

Hyperv2012_04

This will take few minutes to install go walk for awhile and come back again to check

Hyperv2012_05

 

Step 4: After the installation is finish, type your strong password here by pressing the “OK” botton

Hyperv2012_06

With the installation complete, there are a number of next steps you can complete. For most environments, the next logical step is to complete the following steps

  • Set the TCP/IP network address
  • Set the DNS configuration
  • Address Windows Firewall settings
  • Change the computer name
  • Perform Windows Updates
  • Join an Active Directory domain

Step 5: This is where you configure the IP address, DNS, Hostname of the server. Now change the Domain/Workgroup name to your requirement this is very important so that you can easily identify which is which 😀 and not just a random words namings.

  • Select 1
  • Select W (Workgroup)
  • Then type your Workgroup name here or if it will join to AD this is the part where to type your Active Directory domain controller DNS name and then press Enter

Hyperv2012_07

 

Step 6: Change the Computer name to your required naming convension

  • Select 2
  • Enter a name for this Hyper-V server
  • Restart when asked

Hyperv2012_08

 

Step 7: Change the IP address assignment of this server

  • select the Network Adapter Index number
  • Select 1
  • Select S (for Static IP)
  • Enter the IP you want for this server
  • Enter the subnet mask
  • Enter the default gateway
  • Select 2 (Set DNS Servers) and follow prompts
  • Select 4

Hyperv2012_11

 

Hyperv2012_12

 

Step 8: Change the Date and Time according to your Timezone/Location

  • Select 9
  • Adjust time zone | Date | Time

Step 9: Add Local Administrator to use for service account

  • select 3
  • Type the name of a user you want to use as a local admin
  • Follow prompts to create the password

Step 10: Configure Remote Desktop

  • Select 7
  • Select E
  • Select 2

NOTE – From this point forward you can RDP into this server to continue configuring the Hyper-V 2012 R2

Step 11: Configure the Windows Update setting and Download the latest patch updates

  • Select 5
  • Select A

Follow prompts to either install All updates or Recommended updates.

 

Hyperv2012_13

Hyperv2012_14

 

Step 12: This is optional: Disable the firewall so that you can ping the server to check if its alive or not 😀

These are base configuration items, and depend entirely on what you want to do with the Hyper-V host. One command I have however committed to memory is to address Windows Firewall settings. I don’t use Windows Firewall in my Home Lab and this command (in the command prompt screen) will disable all Windows Firewall configurations as well as what the successful command looks like:

netsh advfirewall set allprofiles state off

Hyperv2012_15

and also run this commands launch PowerShell in the black cmd window, run the following command: start powershell and type the following commands

Enable-NetFirewallRule -DisplayGroup “Windows Remote Management”
Enable-NetFirewallRule -DisplayGroup “Remote Event Log Management”
Enable-NetFirewallRule -DisplayGroup “Remote Volume Management”
Set-Service VDS -StartupType Automatic

Hyperv2012_16

*NOTE:

Error in Hyper-V Remote Management: You do not have the required permission to complete this task. Contact the administrator of the authorization policy for the computer ‘COMPUTERNAME’

If your not using Active Directory domain login in your Hyper-V server you should create local user and join it to administrators group in your Hyper-V server and then in your client create the same user and set it as user only. logoff from your computer client and login the same user as the one you create in the Hyper-V server and it should work now or follow  procedure below and run the command ‘cmdkey’ to the CLIENT computer.

a. Add a local administrator  (sconfig.cmd option 3)

  1. with same username and password as you are using in your client and server or
  2. with other username and password (in your client use below)

cmdkey /add:<ServerName> /user:<UserName> /pass:<password>

b. Then run this in the Hyper-V command prompt server to add the local user

net localgroup “Hyper-V Administrators” /add sysadmin

NICTeampowershell_09

To manage your Hyper-V with third party tools you can check out my other post from here.

 

 

Be the first to comment on "How to Install Microsoft Windows Hyper-V 2012 R2 Core"

Leave a comment

Your email address will not be published.