Skip to content

Instantly share code, notes, and snippets.

@maokwen
Created April 20, 2023 15:07
Show Gist options
  • Select an option

  • Save maokwen/3c8ec97335bf015fcaecf082c36b1c4e to your computer and use it in GitHub Desktop.

Select an option

Save maokwen/3c8ec97335bf015fcaecf082c36b1c4e to your computer and use it in GitHub Desktop.
Enable WSA on Windows home edition
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment