Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pushd "%~dp0"
- dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt
- for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
- del hv.txt
- Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
- pause
Add Comment
Please, Sign In to add comment