Skip to content

Instantly share code, notes, and snippets.

@tecandrew
Created January 18, 2023 02:01
Show Gist options
  • Save tecandrew/a30ec1db454728ac2ec9fa16c59e5b46 to your computer and use it in GitHub Desktop.
Save tecandrew/a30ec1db454728ac2ec9fa16c59e5b46 to your computer and use it in GitHub Desktop.
Enable Hyper-V Manager on Windows 11 Home
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv-home.txt
for /f %%i in ('findstr /i . hv-home.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hv-home.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