Hyper-V

Windows 11 includes a hardware virtualization feature called Hyper-V that lets you run Windows and other operating systems in virtual machines (VMs). This technology is useful for a variety of reasons. For example, developers can use Hyper-V to test their applications and other software in other versions of Windows or in other operating systems.
Hyper-V requires that your PC's processor-based virtualization functionality be enabled. And it probably is, but this must be configured in its firmware (BIOS) interface, not in Windows. How you access this interface varies by PC, so check with your PC maker if you're not sure.
Hyper-V can be resource-intensive. If you think you will be using this feature regularly, be sure that your PC is a relatively high-end model with a fast processor, fast SSD storage, and at least 16 GB of RAM.
Install Hyper-V
Hyper-V requires Windows 11 Pro or higher, but it is possible to install it on Windows 11 Home using a workaround.
Install Hyper-V in Windows 11 Pro
To install Hyper-V, use the query features in Search and select "Turn Windows features on or off" from the results list that appears. The Windows Features control panel will open.

You will see an entry for Hyper-V in the list. Select it--and ensure that you've selected all of its sub-components--and then click OK. The features will be installed and then you will be prompted to restart the PC. Do so.
Install Hyper-V in Windows 11 Home
To install Hyper-V, open Notepad and copy and paste the following text into the blank document.
pushd "%~dp0"

dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt

for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

del hyper-v.txt

Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL

pause

Save the file with a .bat (for batch file) file extension. To do so, use a file name like hyperv.bat and change "Save as type" to "All files." Save the file to your Desktop.

Now, right-click the batch file you created, select "Run as administrator" from the context menu that appears, and click "Yes" when prompted by User Account Control. The batch file will execute in a Command Prompt window.

When it completes, you will be prompted to reboot your computer. Do so.
If you later choose to uninstall Hyper-V, you can do so via the Windows Features control panel. (This is true if you installed Hyper-V in Windows 11 Home, too.) Just uncheck "Hyper-V" in the list, click OK, and restart your PC when prompted.
Get to know Hyper-V Manager
You use the Hyper-V Manager application to manage Hyper-V and its virtual machines (VMs), virtual hard disks (VHDs), and virtual floppy disks (VFDs).

By default, Hyper-V Manager connects to local resources, meaning those VMs, VHDs, and VFDs that are stored on your computer. But you can also use this application to connect to rem...

Gain unlimited access to Premium articles.

With technology shaping our everyday lives, how could we not dig deeper?

Thurrott Premium delivers an honest and thorough perspective about the technologies we use and rely on everyday. Discover deeper content as a Premium member.

Tagged with

Share post

Please check our Community Guidelines before commenting

Windows Intelligence In Your Inbox

Sign up for our new free newsletter to get three time-saving tips each Friday

"*" indicates required fields

This field is for validation purposes and should be left unchanged.

Thurrott © 2024 Thurrott LLC