赞
踩
window11家庭中文版,则会找不到Hyper-Vr,这时则需要自己创建,讲下述代码复制在txt文本里,并重命名为Hyper.cmd,右键以管理员方式运行,最后输入“Y”重启电脑后即可
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
重启电脑后又出现下图报错
管理员模式运行powershll
wsl --update
参考文档:
https://zhuanlan.zhihu.com/p/663821762
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。