+5 votes
327 views
Install Hyper-V Windows Server 2019

in Virtualization by (552k points)
reopened | 327 views

1 Answer

+3 votes
Best answer

1. Install Hyper-V Windows Server 2019 from Server Manager
2. Install Hyper-V Windows Server 2019 from PowerShell
3. Install Hyper-V Windows Server 2019 using DISM

Virtualization is the technology that has taken a very important boom today since it allows us to know and test operating systems and applications without having to mount them in a productive environment where errors can be present causing massive failures or errors in the execution of services and processes. That is why virtualization with Hyper-V Windows Server 2019 is key to knowing the real behavior of a system..

 

Hyper-V role
If you are a Windows Server 2019 user, you should not look for third-party applications since we can enable the Hyper-V role on the server, with this it will be possible:
  • Run multiple machines on a single computer without incurring additional expenses.
  • Prevent administrative expenses when implementing new resources.
  • Evaluate operating systems and applications.
  • Centrally manage hardware resources.

 

 

 

Hyper-V Features
Some of the features of Hyper-V are:
  • It allows us to move virtual machines between different nodes.
  • High scalability.
  • Allows you to add or remove hot storage with this system, it is not necessary to turn off the server.
  • Improve business continuity by having different alternatives.
  • You can create a backup and access disaster data recovery.
  • Offers remote connectivity.
  • Security improvements.

 

 

Hyper-V was developed as a virtualization technology which is based on hypervisor, therefore it makes use of the Windows hypervisor which in turn requires a physical processor whose functions allow the use of Windows Server virtualization since the hypervisor is the one in charge of managing the actions between the hardware and the virtual machines created.

 

'Hyper-V elements'
Hyper-V in Windows Server is made up of the following elements:
  • Hyper-V Manager
  • Hyper-V module for Windows PowerShell
  • Virtual Machine Connection (VMConnect)
  • Windows PowerShell Direct

 

 

TechnoWikis will explain different ways to install Hyper-V on Windows Server 2019..

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 


1. Install Hyper-V Windows Server 2019 from Server Manager

 

Step 1

This is the guided and graphical way to carry out the process, for this we access the Server Administrator and click on "Add roles and characteristics":

 

image

 

Step 2

The following wizard will be displayed:

 

image

 

 

Step 3

We click on Next and now we activate the box "Installation based on characteristics or roles":

 

image

 

 

Step 4

We click Next and now we select the server where the role will be installed:

 

image

 

 

Step 5

Now, in the next window we locate "Hyper-V":

 

 

image

 

 

Step 6

By clicking on it to activate it, the following pop-up window will be displayed:

 

image

 

 

Step 7

We click on "Add features" and we will see that the "Hyper-V" box has been activated:

 

 

image

 

Step 8

In the next window we do not modify anything and then we access the Hyper-V assistant:

 

image

 

 

Step 9

We click Next and here it will be possible to select the physical network adapter which will act as a virtual switch to allow the virtual machine to connect to the Internet:

 

image

 

 

Step 10

We click Next and it will be possible to allow Hyper-V in Windows Server 2019 to support live migrations of virtual machines, that is, without having to turn off the server:

 

image

 

 

Step 11

This is an option that we can enable or not, in the next window we find the Hyper-V default routes:

 

image

 

 

Step 12

In the next window we will find a summary of the role that we are going to install:

 

image

 

Step 13

To start the Hyper-V installation process in Windows Server 2019, click on "Install":

 

image

 

 

Step 14

At the end of this process we will see the following:

 

image

 

 

Step 15

As we can see, a restart is required to successfully complete the installation, we restart Windows Server 2019 to see that the changes are applied:

 

image

 

 

Step 16

After this we log in and find the Hyper-V Manager from the Start menu:

 

 

image

 

 

Step 17

We access it and this will be your console:

 

image

 


2. Install Hyper-V Windows Server 2019 from PowerShell


The PowerShell console is another functional alternative for installing Hyper-V on the server.

 

Step 1

For this we access as administrators and in the console we execute the following:
 Install-WindowsFeature -Name Hyper-V -IncludeManagementTools 
image

 

 

Step 2

Once the process is finished we will see the following:

 

image

 

 

Step 3

There we must restart the computer to complete the process as we have seen.

 

Note
To restart the computer automatically we will execute the following:
 Install-WindowsFeature -Name Hyper-V -IncludeManagementTools -Restart 

 

Step 4

After logging in we will access the Hyper-V console:

 

image

 


3. Install Hyper-V Windows Server 2019 using DISM


DISM (Deployment Image Servicing and Management.) Is a tool integrated in the server with which we manage the system images and it allows us to install Hyper-V.

 

Step 1

For this method we access PowerShell as administrators and there we execute:
 dism / Online / Enable-Feature / FeatureName: Microsoft-Hyper-V / All 
image

 

Step 2

At the end of the process it will ask if we want to restart, we enter the letter Y to complete the process and be able to access Hyper-V:

 

image

 

 

Some of the methods that TechnoWikis has explained to you are functional to install Hyper-V in Windows Server 2019 and thus have this utility to mount virtual machines and work with them as necessary.

 


by (3.5m points)

Related questions

+3 votes
1 answer
+4 votes
1 answer
+5 votes
1 answer
+4 votes
1 answer
asked Sep 28, 2019 in Virtualization by backtothefuture (552k points) | 938 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users