1、新建txt文档,并重命名为Hyper-V.cmd,然后将如下脚本内容添加进文档中 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"...
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL 重命名这个文件为Hyper-V.cmd 右键选择以管理员身份运行 跳出的窗口执行好以后问是或否 输入Y,电脑重启更新 再次打开发现已经有了