Guest User

Untitled

a guest
Jul 21st, 2023
1,652
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | Source Code | 0 0
  1. pushd "%~dp0"
  2. dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt
  3. for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
  4. del hv.txt
  5. Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
  6. pause
Add Comment
Please, Sign In to add comment