Created
September 13, 2020 13:32
-
-
Save viveknaskar/33585c082b48ab79a3f46f2aa1da29e7 to your computer and use it in GitHub Desktop.
Running Hyper-V in Windows Home Edition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hyper-V enables you to run Docker or Kubernetes in your local Windows system but unfortunately, it cannot be installed in Windows Home Edition.
But you can enable Hyper-V in Windows Home Edition, by following the few steps:
If you see the following output, virtualization is supported on Windows.
Open cmd in administrator mode and create copy the code and save it as vir.bat
Run vir.bat and you would see logs like below: