[Hyper-V] Hardware assisted virtualization and data execution protection must be enabled in the BIOS 之解决

BACKGROUND: Run Docker Desktop, which start instance fails Hyper-V

错误:Hardware assisted virtualization and data execution protection must be enabled in the BIOS

solve:

The problem could lie disable the Hyper-V or not running Hypervisor agent .

Solution A (if Hyper-V is completely disabled or not installed)

Administrator, open PowerShell, Hyper-V enabled

dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All

Solution B (if Hyper-V is enabled but does not work)

Administrator, open PowerShell, enable Hypervisor

bcdedit /set hypervisorlaunchtype auto

Reboot the system, test OK.

 

Reference material

https://www.cnblogs.com/qaing123/p/11142563.html

Guess you like

Origin www.cnblogs.com/jinzesudawei/p/12501403.html
Recommended