1.如上图设置“启动或关闭windows功能”,没有Hyper-V的创建一个笔记本将下面的代码放入,更改笔记本名字为Hyper-V.bat。
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
2.更新虚拟机的版本到16.1(16.0以上应该都可以)。