How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

I'm having a Windows VM running Windows 10 Pro and I'm trying to install Docker running with WSL2.

However, the I'm bumping into the error below and I can confirm that Virtual Machine Platform Windows feature is already enabled.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

asked Sep 4, 2020 at 2:20

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

1

I had this same error and followed these steps for VMWare,

  • Go to VM Settings >> Hardware >> Processors
  • In the Virtualization Engine Box, select the checkbox 'virtualize intel vt-x/ept or amd-v/rvi'
  • Restart your VM

answered Sep 25, 2020 at 20:54

siddse7ensiddse7en

912 silver badges8 bronze badges

1

Not the answer you're looking for? Browse other questions tagged docker virtual-machine wsl-2 or ask your own question.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

Docker is an open-source containerization platform that enables developers to package apps into containers and standardized executable components combining application source code with the operating system (OS) libraries and dependencies required to run that code in any environment. You need Docker in order to work with Windows Containers. Docker consists of the Docker Engine (dockerd.exe), and the Docker client (docker.exe). Kindly refer to these related guides: How to create and deploy a local Registry Server with Docker Image, how to Pull your first Nginx Container Image from Docker Hub and deploy it to your local machine, Azure DevOps and GitHub integration for Docker and Kubernetes deployment, how to create a static pod in Kubernetes, and how to install, register and start GitLab Runner on Windows.

The following errors below will be prompted because the prerequisite for installing Docker Desktop on a VM wasn't met. One of the requirements is to enable "BIOS-level hardware virtualization support must be enabled in the BIOS settings". This was omitted and therefore the below error was prompted. Please see the how to install and uninstall Docker Desktop on Windows 10 and Windows Server.
  • How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?
  • How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

Note: Even when you reset the factory default, this has its implications and will not resolve the issue. Restoring to factory defaults reset and destroys all Docker containers and images local to the machine, and restores the application to its original state, as when it was first installed.

Solution: Enable the Virtualization Engine ( VT-x/EPT or V/RVI)

In order to have the same physical CPU prerequisites as you did in the past to run “Nested Virtualization“. We will be enabling the following features below.

  • Intel VT-x or AMD-V is required for running “Nested Virtualization” which supports nested 32-bit VMs
  • Intel EPT or AMD RVI is required for running nested 64-bit VMs.

In order to enable Virtualization on a VM, you will need to shut down the Virtual machine (VM). Right-click on the VM and select “Settings”.
– Alternatively, you can click on the VM and the VM details will be displayed. Just click on Edit virtual machine settings.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

Regardless of the steps chosen above, this will open up the Virtual Machine Settings window as shown below.
– Check (tick) the option to enable VT-x/EPT or V/RVI to have it enabled and
– Click on OK to complete the process.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

You do not need to edit the machines .vmx file after performing the opertions above. This is sufficient!

Please proceed with using your VM by powering it on. Double click on the Docker Desktop to launch it. After a while, the following window below will be displayed.
– Click on Start to continue using Docker Desktop.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

When you click on Start, the following tutorial window will be displayed. For me, I am not interested in cloning a repository, etc. Therefore, I will be skipping the tutorial as shone below.

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

From now henceforth, you should be able to perform any docker-related operation without issues. Here is a guide on how to update Fujitsu server BIOS

How do you enable virtual machine platform Windows feature and ensure virtualization is enabled in the BIOS?

I hope you found this blog post helpful. If you have any questions, please let me know in the comment session.

How do you enable virtualization is enabled in the BIOS?

How to enable Intel Virtualization Technology in BIOS?.
Turn on the computer..
Press F2 while the VAIO Logo appears during boot up..
In the BIOS page, go to Advanced tab by pressing the right arrow key..
In the Advanced Tab, users will be able to see the Intel Virtualization Technology option. ... .
Press Enter..

How do I enable virtualization in Windows features?

Enable the Hyper-V role through Settings.
Right click on the Windows button and select 'Apps and Features'..
Select Programs and Features on the right under related settings..
Select Turn Windows Features on or off..
Select Hyper-V and click OK..

How do I enable virtualization on a virtual machine?

Enabling Hardware Virtualization.
Reboot your Computer and Press the BIOS Key. ... .
Locate the section for CPU configuration. ... .
Find the Settings for Virtualization. ... .
Select the Option for Enabling Virtualization. ... .
Save the Changes You Have Made. ... .
Exit Your BIOS and Reboot Your Computer..

How do I enable virtualization in Windows 10 HP BIOS?

HP PCs - Enable Virtualization Technology in the BIOS.
Turn on the computer, and then immediately press f10 to open BIOS Setup..
Use the arrow keys to select the Configuration tab, and then select Virtualization Technology..
Select Enable..
Press f10 to save the settings and exit BIOS Setup..