WslRegisterDistribution failed with error: 0x80370102

Symptoms

WslRegisterDistribution failed with error: 0x80370102

Error: 0x80370102 The virtual machine could not be started because a required feature is not installed.

Cause

Windows Subsystem for Linux 2 requires Hyper-V and virtualization enabled to be used on a computer.

Resolution

Solution 1:

Switching to WSL version 1

Open PowerShell as administrator and Enter the following command

wsl --set-default-version 1

Solution 2:

If you would like to keep using WSL 2, Hyper-V and virtualization need to be enabled

  1. Enabling Hyper-V
  2. After Hyper-V is enabled. open Windows Features again and enable Virtual Machine Platform

Note: if 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.