Last active
March 19, 2023 10:40
-
-
Save Vaiz/549ad27fe45558412973358ef6fe09e3 to your computer and use it in GitHub Desktop.
Install hyper-v on Win11 home
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
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 |
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
dir /b %SystemRoot%\servicing\Packages\*Containers*.mum > containers.txt | |
for /f %%i in ('findstr /i . containers.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" | |
del containers.txt | |
dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment