How to setup Hyper-V on a Windows server 2019. It’s a very easy process for basic setup, it can be very complicated if you want to do isolation, VLAN, and NIC teaming. This post will start basic, Hyper-V host running Windows server 2019, it can be a standard or datacenter if you want to run many VMs and some advanced features. Let’s get started
Once you have windows server 2019 install and updated, we can install Hyper-V a couple of ways via GUI or PowerShell
Option 1: GUI
Option 2: using Powershell
Install Hyper-V using Server Manager:
open up Server Manager, then click Manage>Add Roles and Feature
Click Next:
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-1.png)
Select Role-based, then click Next
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-2.png)
The select server you want to install Hyper-V, click Next
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-4.png)
Then select the Hyper-V check box.
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image.png)
You will get an option to include management tools, which most likely you want so click add features
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-5.png)
Then click Next
If you only have one Network card then select the box to share with Hyper-V host/VM’s traffic, otherwise leave it unchecked.
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-6.png)
Then you should see confirm installation, if everything is good, click Install, otherwise, click previous to make a change or click Cancel to exit out without making changes.
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-7.png)
Once the installation is complete, the server needs to restart for Hyper-V settings to apply
You will find Hyper-V Manager under Start>Windows Administrative Tools
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-8.png)
Or from the server manager under Tools>Hyper-V Manager
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-9.png)
You should something like this:
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-12.png)
Installing Hyper-V via PowerShell
Open PowerShell with Administrator rights
PS > Install-WindowsFeature -Name Hyper-V -IncludeManagementTools
Success Restart Needed Exit Code Feature Result
——- ————– ——— ————–
True Yes SuccessRest… {Hyper-V Module for Windows PowerShell, Hy…
WARNING: You must restart this server to finish the installation process.
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-10.png)
To verify Hyper-V installed:
Command: Get-WindowsFeature -Name *Hyper-V*
![](https://howtohelpdesk.com/wp-content/uploads/2021/07/image-11.png)
That’s all for Hyper-V installation, next need to setup networking, then start installing VM’s on it.