How to fix "Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS."

Anonymous
2024-11-26T23:02:23+00:00

While attempting to install Ubuntu on Terminal, I encountered the following error:

Installing, this may take a few minutes...

WslRegisterDistribution failed with error: 0x80370102

Please enable the Virtual Machine Platform Windows feature and ensure virtualization is enabled in the BIOS. For information please visit https://aka.ms/enablevirtualization Press any key to continue...

I have already enabled virtualisation (svm) in bios

I have already active Hyper V and Virtual Machine Platform in Turn Windows feature on or off

yet I cannot install, I get the above error.

I have seen a similar post that says to uninstall and install Hyper-V, yet I only installed it today.

I did try to uninstall and install again, however that did not help.

Why is this windows feature so hard to install?

***Move from Windows / Windows 10 / Settings***

Windows Windows Client for IT Pros High availability Virtualization and Hyper-V

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    2024-11-29T00:11:54+00:00

    Hi wcndave2,

    Open Command Prompt as an administrator and run the following command to enable the VirtualMachinePlatform feature

    dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
    

    Ensure the hypervisor is enabled by running

    bcdedit.exe /set hypervisorlaunchtype auto 
    

    Restart your computer to take effect.

    Then install the WSL feature.

    dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
    
    0 comments No comments

0 additional answers

Sort by: Most helpful