VMware Workstation 与 Hyper-V 不兼容问题

 

 

 新建文本文档,复制下面这段代码,重命名为Hyper-V.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

 

posted @ 2023-02-17 13:49  XA科研  阅读(138)  评论(0编辑  收藏  举报