Last active
April 12, 2021 06:25
-
-
Save n-mam/3d8a999693c4b91496630d36d9e83652 to your computer and use it in GitHub Desktop.
Enable Hyper-V on Windows 10 Home
This file contains hidden or 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
REM By default client Hyper-V is available only on Windows-pro SKU. The below bat script enables Hyper-V on Windows Home | |
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment