Raymond Raymond visibility 4,222 comment 0 access_time 3 years ago languageEnglish
more_vert

Resolve: Hardware assisted virtualization and data execution protection must be enabled in the BIOS.

When running Docker Desktop on Windows 10, the following error occurs:

Hardware assisted virtualization and data execution protection must be enabled in the BIOS. 

I got it resolved by following these steps:

  • Go to BIOS settings to ensure Virtualization is enabled. 
  • Go to Turn on Windows features on or off (you can search for it)
  • Turn off Hyper-V if it is on.
  • Restart computer.
  • Go to Turn on Windows features on or off again and turn on Hyper-V feature.
  • Restart computer.
  • If error still shows, run the following command in Command Prompt or PowerShell (via Administrator mode):

bcdedit /set hypervisorlaunchtype auto

  • Restart computer.
  • Docker desktop should run successfully.

You can verify it via Hyper-V manager:

2021091284052-image.png

info Last modified by Raymond 3 years ago
thumb_up 0
comment Comments
No comments yet.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

recommendMore from Kontext