Hyper-V on Windows Home

From Lucca's Wiki
Jump to navigationJump to search
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


References: https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/915