windows11家庭版打开hyper-v虚拟机(自用留存)
将以下命令复制,到记事本中,另存为cmd格式的文件,右键该文件,选择以管理员运行,等待完成后,会提示重启系统,启来后就可以正常使用hyper-V.
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
除特别注明外,本站所有文章均为奇妙伞原创,转载请注明出处来自https://qm3.com.cn/post/322.html