Hardware assisted virtualization and data execution protection must be enabled in the BIOS
May 07, 2017 by Anuraj
Docker Hyper V
This post is about fixing the error, Hardware assisted virtualization and data execution protection must be enabled in the BIOS which displayed by Docker while running Windows 10. Today while running Docker, it throws an error like this.
After few searches, I found the solution for this problem.
Enable Hyper V - You can do this by running the following command as administrator. -
dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
Enable Hypervisor with following command -
bcdedit /set hypervisorlaunchtype auto
.
You should run either one of the above commands. And you need to restart the system to apply the changes.
If the problem persist probably Hyper-V on your system is corrupted, so
Open in Control Panel > [Programs] > [Windows Features] and completely uncheck all Hyper-V related components. Restart the system. Enable Hyper-V again. Restart.
Happy Programming :)
Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub