+4 votes
80 views
Hyper-V does not appear in Windows 11

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

1 Answer

+5 votes
Best answer

1 How to use Hyper-V in Windows 11
2 How to activate Hyper-V
3 How to install Hyper-V in Windows 11 Home
4 How to use Hyper-V in Windows 11

Virtualization has been and will be one of the most special security mechanisms for the administrator and user who wants to test new operating systems, new applications or understand the behavior of a task in a specific operating system. The advantage of virtualization is that with only one computer we can test various systems that are not compatible with each other (Windows, Linux, macOS, etc.) without the need for extra resources, although naturally good hardware resources are required. (CPU, RAM memory, etc.)..

 

Hyper-V has been developed by Microsoft as a feature of Windows and with this feature, as we mentioned, it will be possible to run virtualized computers on a physical PC. Hyper-V has special software that is known as a hypervisor and whose task is to manage the access that occurs between virtual systems and real or physical hardware resources, this ranges from hardware to items such as folders and files. By using Hyper-V we will be able to migrate systems between physical hosts or restore systems without the real environment being affected at any time.

 

 

Hyper V Features
Some of the advantages and features of using Hyper-V are:

 

  • A NAT switch can be used as the default network.
  • You can do a live transfer of virtual machines from one device to another.
  • Allows you to make a duplicate of Hyper-V.
  • A collection of virtual machines can be quickly generated for proper administration.
  • Enables a virtual fiber channel.
  • Allows existing .VHDX share.

 

 

Hyper V systems
Some of the operating systems that we can use in Hyper-V are:

 

  • Windows 11
  • Windows 10
  • Windows 8 and 8.1
  • Windows 7 with Service Pack 1 (SP 1)
  • Windows Server 2012 / 2022
  • CentOS 6 – 9
  • Ubuntu 17 – 23.04
  • Debian 8 -12
  • FreeBSD

 

 

Hyper V requirements
To use Hyper-V in Windows 11 we must have the following:

 

  • A CPU that supports VM Monitor Mode Extension (VT-c for Intel), with NX bit architecture, 64-bit and must have the Second Level Address Translation (SLAT) function
  • Windows 11 Pro or Enterprise
  • 4 GB RAM recommended 8 GB

 

 

It is possible that when we want to use Hyper-V we do not see the administrator, the cause is that this feature is not enabled by default, but TechnoWikis will teach how to activate the feature and thus enjoy this special function..

 


1 How to use Hyper-V in Windows 11

 

Step 1

The first thing is to validate that we have the prerequisites and one of them is that the CPU has virtualization, to check the status of this we open the Task Manager:

 

image

 

Step 2

In the "Performance" section we go to the CPU and confirm in the "Virtual machine" line that its status is "Yes":

 

 

image

 

Step 3

In case it is necessary to enable it, we are going to:

 

  • Start
  • Setting
  • System
  • Recovery

 

 

 

image

 

Step 4

Now we click on "Restart" now in the "Advanced startup" section:

 

image

 

step 5

We confirm the process:

 

image

 

step 6

It will restart Windows in that mode:

 

image

 

step 7

We will see the following. We click on "Solve problems",

 

image

 

step 8

then we click on "Advanced options":

 

image

 

step 9

We will see the various options to use: We click on "UEFI Firmware Configuration"

 

image

 

step 10

and now we will see the next one. We click on "Restart" to access the UEFI of the PC, window:

 

image

 

step 11

There we go to the CPU section and check that the virtualization technology is enabled:

 

Press the F10 key to save the changes.

 

image

 


2 How to activate Hyper-V

 

Step 1

It is time to activate Hyper-V and for this we have some ways, first, we open the terminal as administrators:

 

image

 

Step 2

We must accept the UAC permissions:

 

image

 

Step 3

Now we execute the following:
 Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All 
image

 

Step 4

We wait for the process to load:

 

image

 

step 5

At the end we will see the following message. We enter the letter Y to restart the system and apply the changes:

 

image

 

step 6

The PC will begin to restart:

 

image

 

step 7

We can see that the features are being added:

 

image

 

step 8

This will have enabled Hyper-V in Windows 11, to disable it in the terminal execute:
 Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All 
image

 

step 9

We wait for the process to come to an end:

 

image

 

step 10

Another way to activate Hyper-V in Windows 11 is using CMD, for this we open the Command Prompt as administrators:

 

image

 

 

step 11

We accept the UAC permission:

 

image

 

step 12

In the console we execute:
 DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V 
image

 

step 13

After the process is finished the system will reboot to complete the Hyper-V activation:

 

image

 

step 14

We see the process in progress:

 

image

 

step 15

In case you only want to disable Hyper-V but not uninstall it, we must execute the following:
 bcdedit /set hypervisorlaunchtype off 
image

 

step 16

To enable it again we execute:

 

image

 

step 17

Another way, perhaps one of the most common, to enable Hyper-V is through the system features, in this case in the Start search engine we enter "features" and click on "Turn Windows features on or off ”:

 

 

image

 

step 18

In the pop-up window we locate the "Hyper-V" line:

 

image

 

step 19

Activate this box and we will see that all the extra functions are enabled:

 

image

 

step 20

We click "OK" to search for the files:

 

image

 

step 21

The changes will be applied:

 

image

 

step 22

At the end we will see this. We click on "Restart now" to restart Windows 11:

 

image

 

Step 23

The changes will be applied:

 

 

image

 

step 24

The characteristics will be applied:

 

image

 


3 How to install Hyper-V in Windows 11 Home

 

Step 1

In case of having the Home version of Windows 11, we must create a .bat file since Hyper-V is not enabled by default, to create this file we open the notepad:

 

 

image

Step 2

There we enter the following:
 pushd "%~dp0" dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv-home.txt for /f %%i in ('findstr /i . hv-home.txt 2^ >nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" del hv-home.txt Dism /online /enable-feature /featurename:Microsoft-Hyper-V - All /LimitAccess /ALL pause 
image

 

Step 3

We go to "File - Save as":

 

image

 

Step 4

We assign the name with the .bat extension and in "Type" we establish "All files":

 

image

 

step 5

We save the file and validate that it has been created:

 

image

 

step 6

We right click on the .bat file and select "Run as administrator":

 

image

 

step 7

We accept the UAC prompt:

 

image

 

step 8

It will automatically start executing in the console:

 

image

 

step 9

We expect each step to be executed:

 

image

 

step 10

At the end we will see this. We enter the letter Y to restart the system:

 

image

 

step 11

The changes will be applied:

 

image

 


4 How to use Hyper-V in Windows 11

 

Step 1

With any of these steps we will have access to the Hyper-V console:

 

image

 

Step 2

We will have access to the console:

 

image

 

Step 3

When accessing the local server we will have all the Hyper-V options:

 

image

 

We are now ready to use Hyper-V in Windows 11 and take advantage of its various options..

 


by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Nov 3, 2022 in Virtualization by backtothefuture (552k points) | 77 views
+3 votes
1 answer
asked Nov 10, 2022 in Virtualization by backtothefuture (552k points) | 77 views
+3 votes
1 answer
+4 votes
0 answers
asked Feb 14, 2023 in Windows11 by backtothefuture (552k points) | 94 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