Hyper-V on Windows Home: Difference between revisions
From Lucca's Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
dir /b "%SystemRoot%\servicing\Packages\*Hyper-V*.mum" > hyper-v.txt | 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" | |||
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 | |||
del hyper-v.txt | pause | ||
pause |
Revision as of 18:17, 3 June 2024
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