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


背景:運行 Docker Desktop,啟動其 Hyper-V 實例失敗

錯誤:Hardware assisted virtualization and data execution protection must be enabled in the BIOS

解決:

問題可能在於 禁用了Hyper-V未運行Hypervisor代理

解決方案A(如果Hyper-V完全禁用或未安裝)

以管理員身份打開PowerShell,啟用Hyper-V

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

解決方案B(如果已啟用Hyper-V功能但不起作用)

以管理員身份打開PowerShell,啟用Hypervisor

bcdedit /set hypervisorlaunchtype auto

重啟系統,測試OK。

 

參考資料

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM