Hyper-V is a free native hypervisor, aka a hardware virtualization software, developed by Microsoft for Windows Server (and other versions of Windows). If you want to install a virtual machine on your Windows computer, you may need to install Hyper-V. However, not all systems support this feature. This tutorial shows how to get Hyper-V running on your Windows system.
Tip: missing Internet Explorer in Windows 11? Learn how to get it back.
Why Use Hyper-V?
Virtualization is creating and running complete virtual operating systems on a single PC. While most users are probably used to running one virtual machine at a time, Hyper-V can run multiple virtual machines in their respective isolated spaces. This has many benefits, such as allowing different users access to different systems on each virtual machine and preventing a crashing virtual machine from affecting others. Hyper-V also includes features like efficient, optimized use of hardware, backup and disaster recovery, remote connectivity, secure booting, live migration, and storage migration.
Hyper-V can have many applications. For example, it can be incredibly useful if you’re a developer and need to test how software will behave in different environments. Many IT services also use Hyper-V to create private cloud environments or virtual desktop infrastructures.
Hyper-V Requirements
There are some hardware and software requirements for running Hyper-V that you need to be aware of:
- CPU supporting VM Monitor Mode Extension (VT-c for Intel processors), with NX bit, 64-bit architecture, Second Level Address Translation (SLAT)
- Minimum memory: 4GB
- OS: Windows 10 Pro, Enterprise, or Education | Windows 11 Pro | Windows Server 2008, 2008 R2, 2012, 2012 R2, 2016, 2019, or 2022 | Windows 8 or 8.1
Note: you can’t officially run Hyper-V on the Home edition of Windows 10 or 11. However, there is a way to do it by running a batch script, as it will be shown below.
Before trying to run Hyper-V, ensure that Hardware Virtualization is enabled on your computer.
- Right-click on the Start menu and select “Task Manager.”
- Click on the “Performance” tab and check whether “Enabled” is shown next to “Virtualization” at the bottom right of the window.
Tip: which firmware interface should you choose for your PC? Check out the differences between UEFI and BIOS.
How to Enable Hardware Virtualization in BIOS
If hardware virtualization is disabled on your PC, you must enable it in BIOS before attempting to run Hyper-V, as explained below.
- Right-click on the Start menu and select “Settings” or press the Windows + I keys.
- Scroll down in the System section and click on “Recovery.”
- Click on “Restart Now” next to “Advanced Startup.”
- Click on “Restart Now” to confirm.
- Upon restarting, you will be shown the following page. Click “Troubleshoot.”
- Click “Advanced options.”
- Click “UEFI Firmware Settings.”
- Click “Restart.”
- Upon restarting, you’ll be in the BIOS menu. Go to the “Advanced” tab using the right arrow key. (If there’s no “Advanced” tab, look for the “Configuration” tab.)
- Find the “Intel Virtualization Technology” option (or “Virtualization Technology,” “Intel Virtual Technology” or “SVM Mode”) and enable it.
- Press F10 on your keyboard to “Save and Reset.”
- When your PC restarts, hardware virtualization should be enabled. Check for this in the Task Manager as explained above.
Good to know: Windows 11 has also added a tool, Efficiency mode, meant to improve system responsiveness.
How to Enable Hyper-V on Windows 11
There are three ways to enable Hyper-V on your PC in Windows 11.
1. Use PowerShell
- Right-click on the Start Menu icon and select “Terminal (Admin)” from the list.
- Paste the following command line and press Enter:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
- Wait for the installation to complete, then reboot.
- To remove Hyper-V, paste the following command:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
2. Use Command Prompt
Another command-based method to enable Hyper-V is Command Prompt.
- Click on the Start menu, type in “Command Prompt,” then click “Run as administrator” on the right.
- Paste the following line and press Enter to run it:
DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V
- After waiting for the installation to complete, reboot your PC.
- To remove Hyper-V using CMD, paste the following line:
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
- If you would like to only disable Hyper-V and not uninstall it completely, use the BCDEdit Tool in CMD by pasting the following command:
bcdedit /set hypervisorlaunchtype off
- If you wish to enable it again, use:
bcdedit /set hypervisorlaunchtype auto
- Always remember to reboot your PC for the changes to be recognized.
3. Through Control Panel
If you’re not comfortable using command lines and Windows Terminal, try enabling Hyper-V through Control Panel.
- Click on the Start menu icon and search for “Control Panel.” Select the best match.
- Click “Programs.”
- Click “Programs and Features.”
- Click “Turn Windows features on or off” from the menu on the left.
- Find “Hyper-V” in the Windows Features list and double-click on it to expand the options.
- Click the boxes next to “Hyper-V Management Tools” and “Hyper-V Platform” to check them, then click “OK.”
- After installation, click “Restart Now” to reboot and finalize.
- To disable Hyper-V via Control Panel, uncheck “Hyper-V Management Tools” and “Hyper-V Platforms” as shown in step #6.
Tip: still using Windows 10? Consider the top reasons to upgrade to Windows 11.
How to Enable Hyper-V on Windows 11 Home
Microsoft has not designed Hyper-V to run on the Home edition of Windows 11, but you can enable it by using a batch script – at your own risk. Make a system backup before attempting this, then follow these steps:
- Type “Notepad” in the search bar next to the Start menu icon and click the best match.
- Paste the following script into a Notepad file:
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
- Click on “File -> Save As.”
- Name the file “hyperv.bat” (or a name of your choice with the .BAT extension) and select the “All Files” format next to “Save as type.”
- Go to the directory where you saved your file, right-click on it, and select “Run as administrator.”
- After the script runs in a CMD window, type “Y” and press Enter to restart your PC and finalize.
- You should be able to run Hyper-V after restarting. If not, try enabling it using the third method mentioned in the previous section (via Control Panel).
How to Install Hyper-V on Windows 10
Installing Hyper-V on Windows 10 can be done using the methods we described for Windows 11. You get the same options (going through PowerShell, Command Prompt and Control Panel).
Tip: ever wonder what the difference is between Command Prompt and PowerShell? This guide explains it all.
Frequently Asked Questions
What can I do if I don’t meet the hardware requirements to run Hyper-V?
You simply can’t use Hyper-V without the right hardware. The only way is to upgrade your hardware to the minimum requirements, such as upgrading your RAM or switching to a compatible CPU.
How can I verify my hardware compatibility with Hyper-V?
An easy way would be to use Command Prompt or PowerShell. Run a CMD or PowerShell window as instructed above and execute the systeminfo
command. Scroll down and check for the Hyper-V requirements.
Is there a standalone version of Hyper-V?
There is no need for a standalone version of Hyper-V, as it’s a built-in feature for Windows by Microsoft. However, you can download Microsoft Hyper-V Server as a standalone ISO.
Is it safe to install Hyper-V on unsupported versions of Windows?
This isn’t really recommended, as Microsoft provides no support for it, so there are no guaranteed fixes for potential bugs and glitches.
Consider installing Windows 11 Pro for a more comfortable experience, but you can also use this guide to use Hyper-V if you have the Home edition.
Image credit: Pexels. All screenshots by Farhad Pashaei.
Our latest tutorials delivered straight to your inbox