開啓後會有提示讓重啓電腦,重啓就 OKdocker
:: 建立cmd (echo pushd "%~dp0" echo dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt echo for /f %%i in ^('findstr /i . hyper-v.txt 2^^>nul'^) do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i" echo del hyper-v.txt echo Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL) > open-hyper-v.cmd :: 運行 open-hyper-v.cmd
REG ADD "HKEY_LOCAL_MACHINE\software\Microsoft\Windows NT\CurrentVersion" /v EditionId /T REG_EXPAND_SZ /d Professional /F
如今就能夠安裝了bash