Skip to content

Instantly share code, notes, and snippets.

@grpnpraveen
Last active July 31, 2023 11:10
Show Gist options
  • Save grpnpraveen/27aff83b2c7a1411aef6fd877cc368b5 to your computer and use it in GitHub Desktop.
Save grpnpraveen/27aff83b2c7a1411aef6fd877cc368b5 to your computer and use it in GitHub Desktop.
Hyper V in Windows 11 Home Single Language
pushd "%~dp0"
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment