Microsoft Hypervisor – Hyper-V was initially launched around 2008 with the Windows Server 2008 and its 1.0 VM configuration version.

In the next releases Microsoft added Hyper-V add-on not only for Windows Servers but also for Windows Workstations – Windows 8.1 & Windows 10.

With Hyper-V, it is possible to create multiple operations systems by using one physical server and isolate Guest OS from the Hypervisor OS by using Hypervisor hardware resources and compute.

Hyper-V is a hybrid hypervisor that is installed from inside the Operation System.
There are two different Hyper-V versions, the free Hyper-V Server and Windows Server Hyper-V role.

  • Microsoft Hyper-V Server is a stand-alone light server that contains only the Windows Hypervisor
  • Windows Server with Hyper-V Role is a Windows Server Guest OS with Hyper-V Role enabled

Microsoft Hyper-V Server and Windows Server with Hyper-V Role are different implementations.

Download Banner

In this article, we will deploy 2 types of Windows Server 2019 installations. First one is GUI and the second one is Core.

Unfortunately, Microsoft has removed Hyper-V Server 2019 ISO from their page for some months now because of some issues with the media and still is not available. So the only way to install Hyper-V 2019 is in Windows Server 2019 in GUI or Core version.

For Windows Server 2019 these are the versions available.

  • Windows Server Standard
  • Windows Server Standard with Desktop Experience
  • Windows Server Datacenter
  • Windows Server Datacenter with Desktop Experience

When you install Windows Server (Semi-Annual Channel), you have the following installation options:

  • Windows Server Standard
  • Windows Server Datacenter

What is Windows Server 2019 Desktop Experience(GUI)?

Windows Server 2019 GUI is a graphical user interface operating system, which means that all setting changes in the OS is mainly done using GUI tools.

Windows Server OS consumes more disk space and CPU/Memory resources since a number of features, apps, and service roles are installed by default, that includes a full package of tools to manage your Server.

(In Windows Server 2019, Microsoft reduced the number of apps installed by default).

What is Windows Server 2019 Core?

Windows Server Core version was first released in Windows Server 2008.

Windows Server Core uses less disk space and CPU/Memory since it is a non-graphical System Operation (similar to a Unix/Linux without Gnome Desktop or GUI).

In Windows Server Core the drivers, features, and roles installed by default are comparatively less than Windows Server.

Windows Server Core is lightweight and ideally suited for large data centers and clouds.

Windows Server Core has reduced exposure to malware attacks and other online threats.

Managing a Windows Server Core is not very easy and is mostly built to be managed by remote management tools, like the new Admin Center or even Hyper-V Manager. Both tools can be installed and used in Windows Servers, and also in Windows 8.1, 10.

Microsoft expects Windows Server Core to be the future Server model for its implementation.

Roles and Services that are not included in the Core version.

Roles not in Server Core

  • Fax
  • MultiPointServerRole
  • NPAS
  • WDS

Role Services not in Server Core

  • Print-Scan-Server
  • Print-Internet
  • RDS-Gateway
  • RDS-RD-Server
  • RDS-Web-Access
  • Web-Mgmt-Console
  • Web-Lgcy-Mgmt-Console
  • WDS-Deployment
  • WDS-Transport (before Windows Server version 1803)

Check Microsoft page for the full Roles and Services Features that are not included in Windows Server Core.

It’s possible to add more services and features to your Windows Server Core by using Feature on Demand (FOD).

Download and Install Windows Server 2019

Before we start the Window Server and Hyper-V implementation, we need to download the Windows Server 2019 ISO.

The ISO can be found here in the Microsoft evaluation page.

Users will have a free 180-day evaluation period after downloading the Windows Server 2019 Standard or Datacenter via Microsoft Evaluation Center.

Configure Hyper-V in Windows Server 2019

As we can see in the above image, we can download an ISO image, but also an Azure (for Azure deployments) and a VHD (for Hyper-V VM deployments).

We will use the ISO for a standard Windows Server 2019 Install.

Install Windows Server 2019

Initially, there are no differences in the installation process when installing Windows Server 2019 GUI or Core.

Since the process to install Windows Servers is the same from previous releases, I’ll show only few steps in the next section.

First, select your Windows language, local time and currency, and your keyboard language.

Configure Hyper-V in Windows Server 2019

Next click Install Now.

Configure Hyper-V in Windows Server 2019

Then, select what type of Windows Server needs to be installed. Not only the edition (Standard or Datacenter), but also the type of Windows Server (Desktop Experience – GUI or Core).

For Windows Server 2019 Desktop Experience Install

Configure Hyper-V in Windows Server 2019

For Windows Server 2019 Core Install

Configure Hyper-V in Windows Server 2019

Note: Bear in mind that after you select to install Windows Server Core, it is not possible to convert to a Windows Server 2019 Desktop Experience. It needs a fresh install and cannot use the previous Windows Server Core installation. This was possible in previous releases.

You only need to select the type of Windows Server 2019, and the install process is the same for both.

Since this is a fresh install, we will use the “Custom” option.

Configure Hyper-V in Windows Server 2019

Choose the location to install Windows and click next.

Configure Hyper-V in Windows Server 2019

Configure Hyper-V in Windows Server 2019

After the installation, the post configuration is different since one option has a GUI and the other has a command console to do all the changes and settings in the system operation like installing Hyper-V role.

Important Note: Before you install Hyper-V, run Windows Update so that you can get the latest updates and fixes.

Install Hyper-V in Windows Server 2019 Desktop Experience

After we have installed our Operating System, login to your new Windows Server, and install the Hyper-V role.

Install Hyper-V Role using Server Manager

Open Server Manager and in the top right corner select Manage – Add Roles and Features

Configure Hyper-V in Windows Server 2019

After clicking “Next” in the previous screen, in the Installation type select “Role-based or feature-based installation” and click “Next”.

Configure Hyper-V in Windows Server 2019

Next, select the Destination Server. If this is a local role installation or a remote role installation (another server), leave the default “Select a server from the server pool” and click “Next”.

Configure Hyper-V in Windows Server 2019

Select the Role that you plan to install, in this case, It’s the Hyper-V.

Configure Hyper-V in Windows Server 2019

In the next screen, it is important to check if the option “Include management tools” is enabled.

By default, Hyper-V role installs the management tools, but double check if it is enabled – since this tool is necessary to manage your Hyper-V Server.

Configure Hyper-V in Windows Server 2019

In the next screen, check if the Management Tools is set to install and then click “Next”.

Configure Hyper-V in Windows Server 2019

Next some you get some information about your Hyper-V that you are planning to install, click “Next” to do some changes in your Hyper-V settings.

Configure Hyper-V in Windows Server 2019

Create Virtual Switch wizard appears where you can reserve a network adapter to provide network connectivity for your VMs created. You can skip this section and configure later, or if you already know the Network adapter, select one.

Since I have pre-configured the Network adapter for Hyper-V, I’ve selected one – (Hyper-V-01).

Configure Hyper-V in Windows Server 2019

The next section is Virtual Machine Migration.

Enable the first checkbox “send and receive live migrations of Virtual Machines”, if you want this server to send and receive live migrations of Virtual Machines. Bear in mind that this option is not a clustered Live Migrations, but instead using Distributed File System (DFS).

This is not mandatory to be enabled; however, if you do not have implemented a Hyper-V Cluster, you should use it.

For the authentication protocol, CredSSP is easier to use since it doesn’t need to configure constrained delegations, but required to sign in the source server. However, using the Kerberos authentication protocol avoids sign into the server but requires constrained delegation set up.

For this case, we will use CredSSP authentication protocol.

Note: You can check another Vembu article to know how Hyper-V Live migration works and how to configure it.

Click “Next” to proceed with the settings.

Configure Hyper-V in Windows Server 2019

In the next section is where you need to select the location to allocate the Virtual Machines Virtual Disks and its Configuration Files.

For better management, both locations should be different, and if you are using Storage Volume, you should create one for each option and separate the files.

In this case, we will use local Storage and the default path.

Configure Hyper-V in Windows Server 2019

Now, all the settings are done, click the install option to begin the installation process of Hyper-V role in our Windows Server 2019.

Configure Hyper-V in Windows Server 2019

Note: We did not enable the checkbox “restart the destination server automatically if required”, however Windows Server needs a reboot after the installation, i.e, before it is ready to use. Reboot when it is possible.

Configure Hyper-V in Windows Server 2019

After you reboot your Windows Server 2019, your Hyper-V is ready to be used, and you can start creating Virtual Machines using Hyper-V Manager or with PowerShell commands.

Creating Virtual Machines using Hyper-V Manager

After installing the Hyper-V role in Windows Server 2019, we will use Hyper-V Manager to connect to Hyper-V and check Network Settings(Virtual Switch) and other configurations.

To create Virtual Machines and other Hyper-V tasks, we need to use Hyper-V Manager.

Click “Start” and click on “Administrator Tools”, then click on the Hyper-V Manager icon.

Configure Hyper-V in Windows Server 2019

Next, connect to your local Hyper-V.

In the next image, we can see the Hyper-V Manager with some of the options.

1. Hyper-V Settings, where it is possible to change the settings for the Hyper-V (the ones used when we were installing Hyper-V Role).

2. Virtual Switch Manager, with the Network Adapters that are used for this Virtual Switch (the physical and the virtual adapter).

Configure Hyper-V in Windows Server 2019

Note: To know more about Hyper-V Manager check my other article “What is Hyper-V Manager and how does it work”.

Install Hyper-V Role using PowerShell commands

Installing Hyper-V role using PowerShell command in Windows Server 2019 is no different from previous versions and is very straight forward.

For the GUI version, Run PowerShell as Administrator and run the next command.

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools

The above command installs the Hyper-V Role and also install the Hyper-V Management Tools.

You can add –Restart to reboot your server after Hyper-V is installed automatically.

Configure Hyper-V in Windows Server 2019

In the above picture, you can notice that we have also run the command: Get-WindowsFeature -Name Hyper-V

This command shows us if Hyper-V is available to install in this server.

If Hyper-V is installed you can now manually restart your server if you did not add the option to restart automatically after the install.

Note: Installing Hyper-V Role with PowerShell is the same for Windows Server 2019 GUI or Windows Server 2019 Core. Both use the existing PowerShell in the OS, and the command is the same for both.

In Windows Server Core there is no Powershell shell icon to run, so we need to run the command PowerShell in the console to enter the PowerShell and run the commands.

Configure Hyper-V in Windows Server 2019

In the above example, we used the automatic –Restart

After Hyper-V Role is installed in Windows Server 2019 Core.

Install Windows Server 2019 Core

After installing Windows Server 2019 Core, we need to do some additional configuration to manage and connect to the server remotely.

At first, the system asks to change the password.

Configure Hyper-V in Windows Server 2019

Configure Hyper-V in Windows Server 2019

Configure Hyper-V in Windows Server 2019

Configure Hyper-V in Windows Server 2019

Next, log in to Windows Server Core and do the remaining changes.

For the next change, we will use a Window Server Core tool called sconfig. With this small tool, we can do many changes in our system:

  • Domain/Workgroup
  • Computer Name
  • Add Local Administrator
  • Configure Remote Management
  • Windows Update Settings
  • Download and Install Updates
  • Remote Desktop
  • Network Settings
  • Date and Time
  • Telemetry settings
  • Windows Activation
  • Log Off User
  • Restart Server
  • Shut Down Server

For this example, we will only do the next changes.

  1. Change Computer Name
  2. Added Computer to the domain
  3. Change Network Settings
  4. Enable Remote Desktop connections

In the Core-shell console run “sconfig”.

Configure Hyper-V in Windows Server 2019

1 – Change Computer Name – Select option 2 and write the new hostname.

Configure Hyper-V in Windows Server 2019

2 – Change Network Settings

Next, change the IP address from DHCP to Static and add DNS Gateway etc.

Select option 8 “Network Settings” and select the Network Adapter that you want to change.

In this case, there is only one, so select option 1.

Configure Hyper-V in Windows Server 2019

Next, we can change the settings for the IP Address and DNS.

Configure Hyper-V in Windows Server 2019

3 – Enable Remote Desktop connections

Next, enable Remote Desktop so that we can connect to this Windows Server Core.

Select option 7 “Remote Desktop”, and then type “E” and for better security, the option 1 “Allow only Clients running Remote Desktop with Network Level Authentication”.

Configure Hyper-V in Windows Server 2019

Finish the change in the sconfig, and with all settings done, now connect to the Windows Server 2019 Core using Remote Desktop.

To start using Hyper-V and to be able to connect to this server, we will connect remotely to this Hyper-V using a third server using Hyper-V Manager or Admin Center.

Connect remotely to Hyper-V using Hyper-V Manager

Using another Windows Server, or a Windows 10/8.1 where Hyper-V is installed, select “Connect to a server”.

Next, add your Windows Server Core name and click “OK”.

Configure Hyper-V in Windows Server 2019

Next Windows Server 2019 Core shows up in the server list, and now we can manage our Hyper-V installed in a Windows Server 2019 Core.

Configure Hyper-V in Windows Server 2019

Note: Is also possible to install the new tool Admin Center in Windows Server 2019 Core.

It’s a local install and then from a browser we enter the IP address from the Windows Server 2019 Core, and we can manage the server with the Admin Center.

More information about Windows Server 2019 Core version can be found the Windows Server Core page.

Final thoughts

Windows Server 2019 and Hyper-V 2019 can be installed with the versions Desktop Experience and Core.

In both options, it is possible to Install the Hyper-V role using PowerShell commands and still use the same management tools to connect and manage Hyper-V (local or remotely).

What is the type of Windows Server 2019 that you should use?

It depends on what is the purpose of your Server, and also depends on how you plan to manage the same Windows Server and Hyper-V.

If you like more graphical environments, then GUI is the best option if you are more a Linux type of administrator and like shell console and a more lightweight server, then Core is the best option. Of course, security is also something to bear in mind when deciding which version to install.

Both options have pros and cons. Install the option that fits your environment.

Follow our Twitter and Facebook feeds for new releases, updates, insightful posts and more.

Like what you read? Rate us
Install and Configure Hyper-V in Windows Server 2019
Rate this post