注意

以管理员身份运行 CMD 或 PowerShell;

关闭 hyper-v:

禁用服务

1bcdedit /set hypervisorlaunchtype off

禁用功能

image.png

启用 hyper-v:

1bcdedit /set hypervisorlaunchtype auto