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 |
||
(2 intermediate revisions by the same user not shown) | |||
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 | |||
pause | pause | ||
References: https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/915 |
Latest revision as of 18:18, 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
References: https://github.com/MicrosoftDocs/Virtualization-Documentation/issues/915