小樱 发表于 2022/8/13 03:23

Windows11家庭版强制开启hyper虚拟机的命令

Windows11家庭版强制开启hyper虚拟机的命令

仅针对家庭版,专业版自带hyper,保存文件名为 openhyper.bat 执行即可
pushd "%~dp0"
dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hv.txt
for /f %%i in ('findstr /i . hv.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
del hv.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
pause

页: [1]
查看完整版本: Windows11家庭版强制开启hyper虚拟机的命令