Skip to content

Instantly share code, notes, and snippets.

@ZilchBloke
Last active March 21, 2023 01:54
Show Gist options
  • Save ZilchBloke/7c2b6bfdca66c02745e49b8b61fac082 to your computer and use it in GitHub Desktop.
Save ZilchBloke/7c2b6bfdca66c02745e49b8b61fac082 to your computer and use it in GitHub Desktop.
Enable Hyper-v on windows 10 Home edition
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

Enable Hyper-v on windows 10 Home edition

1. Follow Windows 10 Hyper-V System Requirements in microsoft website:

https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/hyper-v-requirements

Microsoft mentions that windows 10 home cannot have hyper v enabled even though all the other requirements are fullfilled. This didnot hold true for me. I followed the following steps.

2. Run powershell or command prompt as administrator. input: systeminfo

3. Scroll to the bottom and check if hyper-v requirements is all confirmed as YES. If it is YES go ahead with next step.

image

4. Create a new file and name it whatever with .bat extension (i choose hyperv.bat) and copy the code above and save it anywhere (i choose desktop).

5. Now run this file (.bat script) as an administrator. Follow the prompts and after a restart, hyper v should be enabled now and you can access hyper-v manager from strat menu.

Enjoy ! :)

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