Windows Subsystem for Linux is a compatibility layer that allows Windows 10, Windows 11, or Windows Server 2019 to run Linux binary executables natively. WSL 2 was announced in May 2019, introducing changes such as a real Linux kernel, implemented through a subset of Hyper-V features. Apart from this, here’s how you can loop a YouTube video. Now, let’s see how we can solve the following issue: wslregisterdistribution failed with error: 0x80370102.
Hyper-V is an essential feature if you want to run WSL and if it has been turned off, you need to turn it back on. Follow these steps to enable Hyper-V.
- Open the Taskbar search box.
- Type Turn Windows Features On or Off.
- Find Hyper-V and tick the checkbox.
- Click the OK button.
- Wait till the installation finishes.
- Restart your PC.
This should allow you to run WSL on Windows successfully.
Enable Hardware Virtualization
You need to turn on the hardware virtualization if you want to use the Hyper-V powered WSL. If hardware virtualisation was unknowingly disabled after the installation of WSL, you must go to the BIOS and enable this feature. Also, go to the Performance tab in the Task Manager and enable Virtualisation.
Enable Nested Virtualization
WSL required you to turn on nested virtualization. The steps to this might differ from machine to machine but most popular virtual machines have similar options to enable nested virtualization.
VMware: To enable virtualized HV, select VM->Settings and navigate to the processor settings screen. Check the box next to “Virtualize Intel VT-x/EPT or AMD-V/RVI.
VirtualBox: Open VirtualBox manager either from Dash or Menu. Click on the VM in which you wanted to enable the nested feature and then select “Settings”. Go to “System -> Processor” and click the “Enable Nested VT-x/AMD-V” check box.
Turn on the Virtual Machine Platform
In order to fix the Error 0x80370102, you need to enable Virtual Machine Platform as it is another very important feature. To enable the Virtual Machine Platform, do the following:
- Search for Turn Windows Features On or Off in the Taskbar search box.
- Find out the Virtual Machine Platform option and Tick the corresponding checkbox.
- Click the OK button.
- Wait for the installation to be completed.
- Restart your computer.
We hope this article was helpful in solving the wslregisterdistribution failed with error: 0x80370102. We have more tech content on Retrology that you should definitely check out.