Modern technology gives us many things.

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 will need to enable it first.

In this article, we show you the three ways how 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 allows you to run multiple operating systems on their own virtual machines.

With Hyper-V, you don’t have to rely on third-party hypervisor solutions such as VirtualBox and VMware WorkStation. It limits yours guest OS choice to Windows, Linux, and FreeBSD.

Some Hyper-V virtual machine use cases include:

  • Run and test software for an older version of Windows or Non-Windows OS
  • 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 Windows edition.

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 non-compatible systems.

MAKEUSEOF VIDEO OF THE DAY

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

In addition, you need to enable Hardware Virtualization in BIOS. It is an essential feature to run virtual machines on your Windows system but often disabled by default.

How to Enable Hardware Virtualization in the BIOS

On compatible systems, you can enable Hardware Virtualization in BIOS. The below steps are for an HP computer. If you are using a custom-made PC or laptop from another manufacturer, refer to the user manual for detailed instruction. If not, refer to our general guide to enter the BIOS on Windows.

To enable Hardware Virtualization in BIOS:

  1. Shut down your PC if it is powered on.
  2. Press the Power button to power on the system and start pressing the Esc key to view the Startup Menu.
  3. In the Startup Menu, press F10 to enter the BIOS setup.
    Startup menu hp laptop
  4. In the BIOS Setup Utility, use the arrow key and open the Configuration tab.
  5. Next, use the down arrow key to highlight the Virtualization Technology option.
    enable hardware virtualization bios hp laptop
  6. Hit Enter and then select Enabled from the options.
  7. Press F10 to save the changes and exit BIOS.
  8. Your PC will restart and apply the changes. This may take a while, so wait till your system is fully restarted.

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

1. Turn On 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 the Control Panel. Here’s how to do it.

  1. Press the Win + R to open Run.
  2. Type control and click OK to open the Control Panel.
  3. In the Control Panel, go to Programs > Programs and Features.
  4. In the left pane, click on Turn Windows features on or off.
  5. In the Windows Features dialog, select Hyper-V. If you expand Hyper-V, you will see Hyper-V Management Tools and Hyper-V Platforms.
  6. Make sure both the options are selected and click OK. Since these are optional features, Windows will begin to install and enable them on your PC. This process may take some time to complete.
  7. Once completed, click on Restart Now to restart, and apply the changes.

After the restart, search for Hyper-V and click on 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

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 optional Windows features via Command Prompt.

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

  1. Press the Win key, and type cmd. Then, right-click on Command Prompt and select Run as Administrator.
  2. In the Command Prompt window, type the following command and hit Enter to execute:
    DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
  3. The Deployment Image Servicing and Management tool will start enabling the Hyper-V feature and show the progress on the Command Prompt.
  4. Once the operating is completed successfully, you will need to restart your PC. So, press Y on your keyboard to confirm the action.

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

3. Enable Hyper-V Using PowerShell

enable hyper v windows 11 powershell

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


However, unlike 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 Win key, and type powershell. Then, right-click on PowerShell and select Run as Administrator.
  2. In the PowerShell window, type the following shell command and hit Enter:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
  3. PowerShell will run the cmdlet and initiate the Hyper-V enabling process. If successful, you will be asked to restart your PC.
  4. Type Y to confirm, and your PC will restart to apply the changes and enable a new feature.

Many Ways to Enable Hyper-V in Windows 11

Hyper-V is a type 1 hypervisor, which means it runs directly on a computer’s hardware. It comes pre-installed, free to use without restriction, and offers linear performance on a consumer-grade system.

That said, dedicated virtual machines such as the VMWare WorkStation Pro is available on multiple platforms, can be used on older systems, and is more suitable for enterprise solutions. Check out our comparison comparing the three popular hypervisors to find the one that works for you.


best-virtual-machine
VirtualBox vs. VMWare vs. Hyper-V: What’s the Best Virtual Machine?

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

Read Next


About The Author



Source link

Leave A Reply

Your email address will not be published.