Here is how to enable the Hyper-V feature on Windows 11 PC/laptop from Control Panel, Command Prompt, and Windows PowerShell to run a virtual Operating System on your PC/Laptop.
Hyper-V is a feature in Windows 11 that lets you create virtual machines on the system without any additional hardware or software support. You can create multiple virtual machines, each with its own OS.
Most people are not aware of this feature due to the complexity surrounding it. Therefore, we will try and explain it in the simplest terms to help you get to know the concept.
Why Do We Need to Enable Hyper-V?
There are some situations where Hyper-V can be your choice. Here are some of them.
If your job requires you to operate multiple OS, Hyper-V will help create virtual machines and install different OS on each one.
You can run most of the software that is not running on the current OS, by installing the appropriate one.
If you design software, you can test all of them on the same computer by installing different OS.
Now that you understand the concept of Hyper-V and its various benefits, let us see how to enable it in Windows 11.
Check If Hardware Visualization Is Enabled in BIOS
Before we continue, try to check if Hardware Visualization is enabled in BIOS. If disabled, the option to enable ‘Hyper-V‘ or the component will be grayed out.
Here is how to check and enable Hardware Visualization in BIOS.
Notes: The steps below for HP laptops and the interface, terms, and keyboard input may differ for other manufacturers, although the concept remains the same. We suggest that you search manually or through the web to find out the procedure for your computer.
Turn off the PC and then turn it on. Now, press the ESC key as soon as the screen lights up to launch the Startup Menu. Next, press F10 to enter ‘BIOS Setup’.
- In BIOS Setup, navigate to the Advanced tab at the top.
- Next, under Device Settings, click the Device Configurations option.
Now, scroll down, find the Visualization Technology (VTx) option, and check the box next to it to enable Hardware Visualization.
- Now, click Save at the bottom to save the changes.
- Click Yes to confirm the changes.
- After you save changes, exit BIOS setup.
Now, wait for the changes to take effect. It may take a few minutes to complete, but once it’s done, Windows will boot normally.
You can now enable Hyper-V from both Control Panel, Command Prompt, and Windows PowerShell. Here I discuss them separately for easy understanding by you.
- How to Enable Hyper-V from Control Panel
- How to Enable Hyper-V with Command Prompt
- How to Enable Hyper-V with Windows PowerShell
1. How to Enable Hyper-V from Control Panel
To enable Hyper-V from Control Panel, search for Turn Windows features on or off in the Start Menu and click on the relevant search result to open it.
In the Windows Features window, look for options Hyper-V and click the plus icon in front of it or double click on the option to expand it and see the various options below it.
Now, check box for both options that appear under Hyper-V. Once you have selected both, click on OK at the bottom to save changes.
- Windows will now apply the changes and the same progress will be shown on the screen. The process may take a few minutes.
Once Windows makes the required changes, you will be prompted to reboot the PC. Click Restart now at the bottom to restart your PC.
When it is restarted, the Hyper-V feature will be activated and you can access it easily.
2. How to Enable Hyper-V with Command Prompt
Many users prefer Command Prompt over the conventional GUI (Graphic User Interface) approach, due to its hassle-free execution and fast results.
To enable Hyper-V with Command Prompt, search for Windows Terminal in the Start Menu, right-click on the relevant search result and select Run as administrator. Click Yes in the confirmation box that appears next.
By default, it is Windows PowerShell which opens when you launch the Windows Terminal application. However, you can open Command Prompt inside Terminal app or set Command Prompt as default profile in settings, so that it opens as command prompt whenever you launch Terminal app.
To open Command Prompt in Terminal, click the downward-facing arrow at the top where the tabs are listed, and select Command Prompt from the menu.
- In the Command Prompt, type or copy the following command and press ENTER to run it.
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
- Once the command is executed, it will start enabling the Hyper-V feature and the same status will be displayed on the Command Prompt screen.
Once the command is successfully completed, you will be asked to restart Windows. Press Y to immediately restart Windows.
Once the PC restarts, you will find that Hyper-V has been enabled and can be accessed.
How to Enable Hyper-V with Windows PowerShell
Like Command Prompt, you can run various tasks using shell commands in Windows PowerShell.
To enable Hyper-V with Windows PowerShell, launch the PowerShell tab in Windows Terminal as discussed earlier. Once PowerShell is open, type or paste the following shell command and press ENTER.
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
- Windows will now start the process of enabling the Hyper-V feature and a blue box will appear indicating the progress.
Once the Hyper-V feature is enabled, you will be prompted to restart the computer. Press Y to immediately restart the PC.
The restart process will take longer than usual, as Windows will install the necessary files and applications.
Once you enable Hyper-V in Windows 11, Hyper-V Manager will be installed on the system. Access to make necessary changes and improve your Windows experience.
That’s the tutorial on how to activate the Hyper-V feature on Windows 11 PC/laptop from Control Panel, Command Prompt, and Windows PowerShell. Hopefully this article is useful for those of you who need it. Thank you for visiting and don’t forget to share it with your friends too.