Disabling-Hyper-V
Certain advanced Windows 10 features, such as Device Guard (in particular, Hypervisor-protected code integrity or HVCI) and Credential Guard, can prevent Hyper-V from being completely disabled. In other words, when any of these features are enabled, so is Hyper-V, even though Windows may report otherwise.
The Device Guard and Credential Guard hardware readiness tool released by Microsoft can disable the said Windows 10 features along with Hyper-V:
- Download the latest version of the tool from here dgreadiness-tool. The following steps assume version 3.6.
- Unzip.
- Open an elevated (i.e. Run as administrator) Command Prompt.
@powershell -ExecutionPolicy RemoteSigned -Command "X:\path\to\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1 -Disable"
- Reboot.
如上所述,由于 Device Guard 和 Credential Guard hardware readiness tool 功能,Hyper-V 无法被彻底关闭。使用微软提供的此脚本:here 可以将这些功能彻底关闭,从而彻底关闭 Hyper-V。