How to install Hyper-V on Windows Server 2019

Windows Articles

How to finish a task and force to close a program in Windows 10

Hello! We use numerous applications in Windows 10 on a daily basis. However, these programs can fail and crash. That is, it...

How to install Android on a USB key

Hi! Android is a very versatile mobile operating system because it is based on Linux kernel and other open-source software, it can...

Microsoft releases emergency update.

Security is one of the fundamental issues for Microsoft in Windows 10. In fact, since it was launched, the company has changed...

How to remove Windows 10 network credentials

Hi! Every time you access a website using Windows 10, a lot happens. In fact, the system will store the credentials to...

Top free apps for Windows 10

Hello! It is well known that Windows 10 is the most used operating system in the world. Indeed, there are many reasons...

Virtualization is a widely used technology today. Indeed, it is possible to test operating systems and applications without mounting them in a productive environment. In this way, any error or failure does not harm the host system. Well, Windows Server has its own virtualization manager. This service is known as Hyper V. As a result, this role allows multiple machines to run on one. Therefore, it is possible to evaluate operating systems and applications without additional costs. So in this post we will see how to install Hyper-V on Windows Server 2019.

How to install Hyper-V Windows Server 2019 from Server Manager.

Hyper-V is developed as a virtualization technology which is based on hypervisor. Consequently, it uses the Windows hypervisor, which in turn requires a physical processor. It is essential that this processor has the virtualization technology. To activate and install it, from the Server Manager click on Add Roles and Features.

Adding Roles and Features
Adding Roles and Features

Press Next to continue.

On the next screen, select the Role-based or feature-bases installation:

Now it is time to select the server where the role will be installed:

Select the server
Select the server

Then select Hyper-V:

Select Hyper V
Select Hyper V

Then, a confirmation window is shown below with the features that will be added.

Adding the features related to Hyper V
Adding the features related to Hyper V

Press Next to continue:

Please press Next to continue
Please press Next to continue

The following window is about installation based on features. Consequently, press Next to continue.

The wizard then displays a brief overview of Hyper-V. Additionally, it is necessary to know the network device that will be used as a virtual switch.

It is then possible to select the network adapter as a network switch. Therefore, it is necessary to mark one to guarantee the connectivity of the virtual machine.

Creating a virtual network switch
Creating a virtual network switch

In the following screen it is possible to configure Hyper-V to support live migration of virtual machines. That is, without having to shut down the server.

Now it’s time to set the default Hyper-V routes. It is also possible to modify them according to the administrator’s taste.

Selecting locations for Hyper-V

Now the wizard shows a summary of the role that will be installed. Press Install to begin the task:

Brief summary of Hyper-V installation
Brief summary of Hyper-V installation

The installation process will begin immediately:

Hyper-V Installation Process
Hyper-V Installation Process

Finally, it is necessary to restart the server to save the changes.

Please restart t set the changes

After restarting the server, you will see the Hyper-V manager available from the start menu.

Hyper-V Manager available from the start menu
Hyper-V Manager available from the start menu

Clicking on it will display the administration console:

Hyper-V Manager
Hyper-V Manager

How to install Hyper-V in Windows Server 2019 from PowerShell

On the other hand, it is possible to install this role on the server using PowerShell. With this intention, open a PowerShell with administrator privileges and run the following command:

Install-WindowsFeature -Name Hyper-V -IncludeManagementTools
Installing Hyper-V with PowerShell
Installing Hyper-V with PowerShell

Installing Hyper-V using DISM

Deployment Image Servicing and Management is a tool integrated into the server with which we manage the system images. It also allows, to install Hyper-V. To use this method, you need to open a PowerShell as an administrator and run the following command:

dism /Online /Enable-Feature /FeatureName:Microsoft-Hyper-V /All
Installing Hyper-V using DISM
Installing Hyper-V using DISM

In any case, you have to restart the server to see the established changes. Ultimately we have seen how to install Hyper-V on Windows Server. In addition, we studied the graphic mode and through PowerShell. All right, that’s it for now. Bye!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to finish a task and force to close a program in Windows 10

Hello! We use numerous applications in Windows 10 on a daily basis. However, these programs can fail and crash. That is, it...

How to install Android on a USB key

Hi! Android is a very versatile mobile operating system because it is based on Linux kernel and other open-source software, it can...

Microsoft releases emergency update.

Security is one of the fundamental issues for Microsoft in Windows 10. In fact, since it was launched, the company has changed...

How to remove Windows 10 network credentials

Hi! Every time you access a website using Windows 10, a lot happens. In fact, the system will store the credentials to...

Top free apps for Windows 10

Hello! It is well known that Windows 10 is the most used operating system in the world. Indeed, there are many reasons...
x