How to Enable Hyper-V in Windows 11

0

Hyper-V is Microsoft’s in-house virtualization solution for Windows 11. It lets you create virtual machines and run them on virtual hardware. That said, if you want to use Hyper-V on your computer, you’ll need to enable it first.

In this article, we show you the three ways to enable Hyper-V in Windows 11 and create virtual machines without third-party tools.

What are the use cases for Hyper-V?

Hyper-V is a native virtualization tool that lets you run multiple operating systems on their own virtual machines.

With Hyper-V, you don’t have to rely on third-party hypervisor solutions like VirtualBox and VMware WorkStation. It limits your choice of guest operating system to Windows, Linux, and FreeBSD.

Some Hyper-V virtual machine use cases include:

  • Run and test software for an older version of Windows or a non-Windows operating system
  • Test software on multiple operating systems using multiple virtual machines on a single host system.

Related: Practical Reasons to Start Using a Virtual Machine

Prerequisites to enable Hyper-V on Windows 11


check windows 11 edition

Hyper-V is available as an optional feature on Windows 11 Pro, Enterprise, and Education. To check your edition of Windows, go to Settings > System > About. Then check the Windows specifications section to find your edition of Windows.

If you have the Home edition, here’s how to install Hyper-V on Windows 11 Home. All you have to do is run a bat script to install Hyper-V on unsupported systems.

USE VIDEO OF THE DAY

Depending on the number of virtual machines and the types of applications you intend to run, you may need more resources to run the virtual machines smoothly.

Additionally, you need to enable hardware virtualization in the BIOS. This is an essential feature for running virtual machines on your Windows system but often disabled by default.

How to Enable Hardware Virtualization in BIOS

On compatible systems, you can enable hardware virtualization in the BIOS. The steps below are for an HP computer. If you are using a custom-built PC or laptop from another manufacturer, refer to the user manual for detailed instructions. Otherwise, refer to our general guide to entering the BIOS in Windows.

To enable hardware virtualization in BIOS:

  1. Shut down your PC if it is on.
  2. press the To be able to button to turn on the system and start pressing the Esc button to display the Boot menu.
  3. In the Start menu, hurry F10 to enter the BIOS setup.
    hp laptop boot menu
  4. In the BIOS Setup Utility, use the arrow key and open the Configuration tongue.
  5. Then use the down arrow key to highlight the virtual technology option.
    enable bios hardware virtualization laptop hp
  6. To hit Enter then select Enabled among the options.
  7. hurry F10 to save changes and exit BIOS.
  8. Your PC will restart and apply the changes. This may take a while, so wait until your system is completely restarted.

After restarting, you can enable Hyper-V on Windows 11. Here’s how to do it.

1. Enable Hyper-V in Windows 11 via Control Panel


enable hyper v windows features control panel

You can enable Hyper-V using the Windows Features dialog. You can access Windows Features to add or remove optional features in Windows 11 from Control Panel. Here’s how.

  1. press the Win + R to open To run.
  2. Type control and click Okay to open the Control Panel.
  3. In the control panel, go to Programs > Programs and Features.
  4. In the left pane, click Enable or disable Windows features.
  5. In the Windows Features dialog box, select Hyper-V. If you develop Hyper-V, you will see Hyper-V management tools and Hyper-V platforms.
  6. Make sure both options are selected and click Okay. Since these are optional features, Windows will start installing and activating them on your PC. This process may take some time.
  7. When finished, click Restart now to restart and apply the changes.

After restarting, search for Hyper-V and click Hyper-V Manager to create virtual machines in Windows 11.

2. Add Hyper-V to Windows 11 using Command Prompt


enable hyper v command prompt

The command prompt offers a fast and efficient way to perform repetitive tasks. You can use the DISM (Deployment Image Servicing and Management) command-line tool to access and install Windows optional features through the command prompt.

Follow these steps to enable Hyper-V on Windows 11 using Command Prompt:

  1. press the To earn touch and type ordered. Then right click on Command Prompt and select Execute as administrator.
  2. In the Command Prompt window, type the following command and press Enter to run:
    DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
  3. The Deployment Image Management and Servicing Tool will begin to enable Hyper-V functionality and show the progress on the command prompt.
  4. Once the operation is completed successfully, you will need to restart your PC. So press Yes on your keyboard to confirm the action.

After your PC restarts, you can open and use Hyper-V Manager to create virtual machines.

3. Enable Hyper-V using PowerShell


activate hyper v windows 11 powershell

If you prefer Windows PowerShell over the command prompt, you can also enable Hyper-V using the shell application.


However, unlike the command prompt, PowerShell uses the enable-WindowsOptional features cmdlet to enable optional features in a Windows image.

To enable Hyper-V with PowerShell:

  1. press the To earn touch and type powershell. Then right click on PowerShell and select Execute as administrator.
  2. In the PowerShell window, type the following shell command and press Enter:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
  3. PowerShell will run the cmdlet and start the Hyper-V activation process. If successful, you will be asked to restart your PC.
  4. Type Yes to confirm, and your PC will restart to apply the changes and activate a new feature.

Multiple Ways to Enable Hyper-V in Windows 11

Hyper-V is a Type 1 hypervisor, meaning it runs directly on a computer’s hardware. It comes pre-installed, can be used for free without restrictions, and provides linear performance on a mainstream system.

That said, dedicated virtual machines like VMWare WorkStation Pro are available on multiple platforms, can be used on older systems, and are better suited for enterprise solutions. Check out our comparison comparing the three popular hypervisors to find the right one for you.


best virtual machine
VirtualBox vs VMWare vs Hyper-V: Which is the best virtual machine?

VirtualBox, VMware and Hyper-V dominate the market. Which virtual machine software is the best?

Read more


About the Author

Share.

Comments are closed.