+5 votes
479 views
Install Hyper-V Windows Server 2022 | Menu and PowerShell

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

1 Answer

+3 votes
Best answer

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

One of the technologies that has a positive impact on the lives of Windows Server administrators and users is undoubtedly virtualization . This gives us a series of benefits that range from savings in money by avoiding buying hardware equipment, to improvements in security since we can know and implement different systems without affecting the productive environments of the organization. There are different platforms for this but Microsoft integrates its own virtualization platform and it is the already known Hyper-V in which we find different functions and characteristics to manage each virtual machine in the correct way..

 

Hyper-V systems
Hyper-V is an integrated platform (although disabled by default) in Microsoft operating systems Giving the option to create and manage virtual machines of multiple operating systems not only Windows , for example, we can create and manage machines of systems such as:

 

  • CentOS
  • RedHat
  • SUSE Linux
  • Windows 7, 8 and 10
  • Windows Server 2016/2019
  • Windows Server 2012 R2
  • Fedora
  • Ubuntu
  • FreeBSD
  • Debian

 

 

 

Hyper-V features
Some of the features of Hyper-V are:
  • Use of SR-IOV networks
  • Hyper-V replica creation
  • Shared VHDX option
  • Mounting virtual fiber channels
  • Integration of the .VMCX format of virtual machines where the configuration options are greater
  • Allows you to run a live migration of virtual machines between computers
  • It allows creating QoS (Storage Quality of Service- Quality of Service)
  • We can integrate network and memory adapters to the virtual machine in a simple way
  • Supports Windows Containers for website and application support over HTTPS

 

 

Windows Server 2022 is the new operating system that will be launched by Microsoft and which we can know thanks to the Insider program, there we can download this version in beta and what better way to use Hyper-V to explore its different news and improvements.

 

Hyper-V is logically available in Windows Server 2022 and we will see how to install it there..

 

 

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

 

 


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

 

Step 1

We open the Server Manager and click on "Add roles and characteristics":

 

image

 

Step 2

The following wizard will be displayed:

 

image

 

 

Step 3

Click Next and activate the box "Installation based on characteristics or roles":

 

image

 

 

Step 4

After this, we select the server:

 

image

 

Step 5

Click on Next and now we are going to locate the role "Hyper-V":

 

image

 

 

Step 6

By clicking on it we must add the characteristics:

 

image

 

Step 7

We can see the selected role:

 

image

 

 

Step 8

Click Next to go to the Features section:

 

image

 

 

Step 9

There we do not modify anything, in the next window we will see this:

 

image

 

 

Step 10

This is a brief summary of the role of Hyper-V, click Next and in the next window we can select the physical network adapter that will act as virtual switch in the virtual machine:

 

image

 

 

Step 11

After this we click on Next to see the following:

 

image

 

 

Step 12

There we can enable Windows Server 2022 to act on the functions to send and receive migrations from live machines, this is optional, we click Next and we will see the default routes to host virtual hard drives:

 

image

 

 

Step 13

Click Next to see a summary of the role to install on Windows Server 2022:

 

image

 

 

Step 14

We proceed with the installation by clicking on "Install":

 

image

 

Step 15

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

 

image

 

 

Step 16

As we can see we must restart the computer:

 

image

 

Step 17

Access Hyper-V once logged in:

 

image

 

 

Step 18

This will be the Hyper-V console:

 

image

 

 


2 . Install Hyper-V Windows Server 2022 from PowerShell

 

Step 1

For this process, we open PowerShell as administrator:

 

image

 

 

Step 2

In the PowerShell console run:
 Install-WindowsFeature -Name Hyper-V -IncludeManagementTools 
image

 

 

Step 3

Upon completion of this process we will see the following:

 

image

 

 

Step 4

As we can see, a restart is required, then we access Hyper-V:

 

image

 

 


3. Install Hyper-V Windows Server 2022 from DISM

 

Step 1

Another option to install Hyper-V on Windows Server 2022 is using DISM, for this method we open PowerShell as administrator:

 

image

 

 

Step 2

In the console run:
 dism / Online / Enable-Feature / FeatureName: Microsoft-Hyper-V / All 
image

 

 

Step 3

There we enter the letter Y to confirm the restart of Windows Server 2022:

 

image

 

 

Step 4

After logging in we can open Hyper-V:

 

 

image

 

 

Some of these methods are functional to enable Hyper-V in Windows Server 2022 and have a powerful platform for working in ambient

 


by (3.5m points)

Related questions

+3 votes
1 answer
+5 votes
1 answer
asked Sep 2, 2020 in Virtualization by backtothefuture (552k points) | 327 views
+3 votes
1 answer
+3 votes
1 answer
asked Jun 5, 2020 in Virtualization by backtothefuture (552k points) | 1.2k 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