Ados

a fullstack game worker

0%

Win10家庭版开启Hyper-v的脚本

参考

Windows 10家庭版如何添加Hyper-V虚拟机?

1
2
3
4
5
6
7
8
9
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

但是开发用的VMWare Workstation与Device/Credential Guard不兼容,导致打不开VMWare。

问题

VMware Workstation 与 Device/Credential Guard 不兼容?

以管理员身份打开命令行工具,输入:

1
bcdedit /set hypervisorlaunchtype off

重启,解决。