Install and Configure Hyper-V on Windows Server 2022

Posted on 120 views

Virtualization is the reigning king. The smooth, soft talking, low lying beast is carrying all of the load with grace, with elegance and with amazing longevity. It reigns in the cloud, in the on premise purring hardware and everywhere you can imagine. So let us look at Hyper-V, one of the virtualization technologies that sparks the hearts of many technological hearts and how it can be installed in the new Windows server 2022.

Hyper-V is a Microsoft Product that is used to accomplish hardware virtualization. Virtualization as you know basically allows you to run several virtual machines (software computer) on the same hardware. These virtual machines behave exactly like a native/normal computer allowing you to install applications on top of an operating system.

Microsoft asserts that Hyper-V runs each virtual machine in its own isolated space, which means you can run more than one virtual machine on the same hardware at the same time.

We shall now get into the business of installing Hyper-V and get to see how it works. Let us go step by step together.

Step 1: Start Server Manager

Hit your Windows keyboard key and search for “Server Manager” and fire it up.

1-hyper-v-type-server-manager

Step 2: Add Roles and Features

The moment your Server Manager is kicking in the pool, click on “Add Roles and Features”

2-hyper-v-add-roles-and-features

and then click on “Next” on the first Window/Wizard that shows up as illustrated.

2.1-hyper-v-add-roles-and-features

Step 3: Role-based or feature-based installation

On the next Window for “Select installation type”, choose Role-based or feature-based installation radio button and gladly hit “Next”.

3-hyper-v-role-based-or-feature-based-installation

Step 4: Choose the Destination Server

Choose the server you would wish to install Hyper-V in on this window and hit “Next” after that.

4-hyper-v-select-destination-server

Step 5: Select Hyper-V Server Role

The window that follows after Step 4 gives you a list of many roles you can add to your server. Since we are in need of Hyper-V, go ahead and choose “Hyper-V” box. Click “Next” after you are done.

5-hyper-v-select-hyper-v-server-role

Step 6: Add Features

Clicking on Next on Step 5 will pull up a small pop-up window. On it, simply click on “Add Features”tab

6-hyper-v-add-features

and then click “Next” when it is all ready.

6-hyper-v-add-features-hit-next

Step 7: Hit “Next” on the next two consecutive windows

There is nothing much to add on the next two windows that will ensue, so simply slide through by clicking on “Next”.

7-hyper-v-hit-next

Hit “Next” again

7.2-hit-hext-again

Step 8: Create Virtual Switches

Virtual Switches make it possible for Virtual Machines to talk to each other. We are going to create one in this step and Link it with a physical network. Choose one or more of the Physical Networks available on your Physical Host Server.

8-hyper-v-create-virtual-switches

Step 9: Virtual Machine Migration

The configuration of this step depends on whether you have a cluster or not. We are going to leave the defaults in this step since it is a standalone host and just hit “Next”. If you have a cluster and you like this feature, simply click select it by clicking on the radio button illustrated by the red arrow.

9-hyper-v-virtual-machine-migration

Step 10: Default Stores

In this step, we are going to specify where Hyper-V stores virtual hard disk files and virtual machine configuration files. You can specify the locations or partitions that you prefer here. Once you are done, the “Next” button will be waiting for you to click on.

10-hyper-v-default-stores

Step 11: Confirm your installation selections

Confirm if everything you would wish to be installed appears on the list that appears on this window. If all is okay, click on “Install”.

11-confirm-installation-selections

You should see the installation progress as shared below.

11-hyper-v-installation-progress

Step 12: Reboot the server once done installing

The installation progress will process and once it is complete, click on “Close” and then reboot/restart your server. And we should be successfully done!

12-hyper-v-installation-complete

Completion Note

We now have Hyper-V installed and running. You are free to start up Windows and Linux virtual machines to start running your applications on them. That said, we hope the guide was easy to follow and you enjoyed it as we intended it to be. Thank you for your heart warming support always.

Check out related guides below for your enjoyment.

Install and Configure Hyper-V on Windows Server 2019

coffee

Gravatar Image
A systems engineer with excellent skills in systems administration, cloud computing, systems deployment, virtualization, containers, and a certified ethical hacker.