Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save HimDek/6edde284203a620745fad3f762be603b to your computer and use it in GitHub Desktop.
Save HimDek/6edde284203a620745fad3f762be603b to your computer and use it in GitHub Desktop.
Hyper-V is supported in Pro, Enterprise and Education Edition of Windows 10 and Windows 11. This guide will show you how to enable Hyper-V in Home Editions of Windows 10 and Windows 11.

Hyper-V in Windows 10 and Windows 11 Home Edition

Hyper-V in Windows 10 and Windows 11 allows running Virtual Machine. It is supported only in Pro, Enterprise and Education Edition of Windows 10 and Windows 11 by default. But this guide will show you how to enable it in Home Editions of Windows 10 and Windows 11.

Check if virtualization is enabled:

  • Search for Command Prompt in Windows Start Menu and open it.
  • Type systeminfo and press Enter. Wait for the process to finish
  • Once the results appear, search for the Hyper-V Requirements section which is usually the last one. 11
    • If it says A hypervisor has been detected. Features required for Hyper-V will not be displayed. that means Hyper-V is already enabled and there is no reason following this guide anymore.
    • Otherwise, check for Virtualization Enabled in Firmware:.

Enable virtualization

The process of enabling virtualization can vary a lot depending on the motherboard manufacturer, but it can be summarized in a few steps:

  • Completely Shutdown you Computer.
  • Turn on the computer and while it is booting up, keep pressing the key to open the BIOS (usually it is Del, F1, F2, F4, F11, or F12). This key depends on the Motherboard manufacturer. You can easily google it out.
  • Once you get into the BIOS, it may look very scary or intimidating, but don't worry, you will get it right. Mouse may not work in BIOS so you might have to use the Directional or Arrow keys and the Enter key of the Keyboard to navigate.
    • Search for the CPU configuration section, it can be called CPU configuration, processor, Northbridge or Chipset and may be under an advanced or advanced mode tab or menu.
    • Now you need to look for the virtualization option and enable it, it can have different names such as Hyper-V, Vanderpool, SVM, AMD-V, Intel Virtualization Technology or VT-X.
  • Once its enabled, save and reboot your pc. If this part did not help you, you can specifically go the Website of the Mother Board Manufacturer of your Computer and ask for help there.

Enable Hyper-V

  • Open File Explorer on windows and Navigate to a folder.
  • Right click anywhere in a blank space inside the folder. Select New and then Click Text Document.
  • Open the file in Notepad and copy and paste the following text into it.
    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
    
  • Click File from the Menu bar in the top of Notepad, then click Save as.... In the Save as Window that appears, Change the File name to "Hyper-V.bat" and click save.
  • Now Double click Hyper-V.bat to run it. This will take some time but will install all features required for Hyper-V. A Restart might be required after it is done.
  • After Restarting Windows, search for Turn Windows features on or off in the Start Menu search bar and open it. 10
  • In the Window, lookout for Hyper-V, Virtual Machine Platform and Windows Hypervisor Platform. Then check the check boxes before them and click OK. This will also take some time and then a Restart is necessary.

Thats it Hyper-V is enabled.

@verdysh
Copy link

verdysh commented May 8, 2022

Thanks man!

@fatalbar
Copy link

thank you

@talhabw
Copy link

talhabw commented Jun 17, 2022

Hi,

Do you know a way to disable it? It says A hypervisor has been detected. Features required for Hyper-V will not be displayed. to me. I need to disable it for Intel HAXM.

Thanks in advance.

@Ducdinhvan
Copy link

Note: Need "Run as administrator" for Hyper-V.bat

@bluepanda280
Copy link

It WORKS! :) now i have a virtual machine to distory windows with side smerk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment