Hyper-V on Windows Home: Difference between revisions
From Lucca's Wiki
Jump to navigationJump to search
(Created page with "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") |
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 | del hyper-v.txt | ||
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL | Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL | ||
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