0

This is the error I got when I tried to open Ubuntu.

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

How do I fix this?

karel
  • 110,292
  • 102
  • 269
  • 299
  • 1
    If you're trying to install Ubuntu on a nested virtual machine that explains the error message because there is no BIOS in a virtual machine. – karel May 01 '23 at 16:31
  • 1
    ok, that explains everything, thanks a lot. – LittleTeemo May 01 '23 at 16:36
  • Did you follow the instructions in the error url to enable nested virtualization? Set-VMProcessor -VMName -ExposeVirtualizationExtensions $true – ubfan1 May 02 '23 at 04:39
  • @ubfan1 Yes, this is the error i got. 'Set-VMProcessor : Hyper-V was unable to find a virtual machine with name "windows11".' – LittleTeemo May 02 '23 at 06:17

2 Answers2

1

If you're trying to install Ubuntu on a nested virtual machine that explains the error message because there is no BIOS in a virtual machine.

karel
  • 110,292
  • 102
  • 269
  • 299
0

Looks like You are trying to open Ubuntu on WSL Check Your virtualization option if it is enabled.