Skip to content

Instantly share code, notes, and snippets.

@HimDek
Last active February 24, 2025 17:47
Show Gist options
  • 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.

@kemo-1
Copy link

kemo-1 commented Aug 6, 2024

done im glad there is an option to keep my files when doing a reset👍

@ballgitte
Copy link

thanks! worked for me. i did need to turn on Virtual Machine Platform in Turn Windows features on or off to fully turn hyper-v on. just make sure to restart your pc before doing so (after installing hyper-v from the .bat) in case of above issues

@BrahimDiaz22
Copy link

Hailey's Treasure Adventure is an exciting game where players can explore vibrant worlds and uncover hidden treasures. Enjoy a free download to start your adventure today!

@cristcost
Copy link

Hey all, I'm having BSOD after updating to windows home 24h2 and I suspect the cause is having enabled hyper-v.

@matoka02
Copy link

It works! Thank you for this magic!

@DuraisaravananN
Copy link

But i am getting this error why anyone help me

Deployment Image Servicing and Management tool
Version: 10.0.22621.2792

Image Version: 10.0.22631.4602

Error: 0x800f080c

Feature name Microsoft-Hyper-V is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

@Emmasnow0022
Copy link

Weekez serves as your ultimate guide to navigating lifestyle trends, business strategies, and the ever-evolving world of technology. With engaging content on net worth and entertainment, we ensure you're always informed and inspired.

@safwanskr04
Copy link

You are a life saver bro

@Edithamchil
Copy link

Cara download nya gmna

@jrslyce
Copy link

jrslyce commented Jan 31, 2025

Thank you hero!

@NullExceptionDialog
Copy link

how do i undo it?

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