WSL Error: WSLRegistraterDistribution failed with error: 0x8007019e

This error was prompted when launching WSL Ubuntu 18.04 LTS from the Microsoft store. As stated below, this error was because the Windows Subsystem for Linux optional component was not installed.

Solution: There are various ways to go about this.
– Via PowerShell and
– Via the Control Panel or Windows Settings.

Via the Control or Windows Settings: For how this is done via the contraol panel, see

Windows Settings: Launch Windows Control Panel or Windows Settings
– Click on Apps

Click on optional features as shown below

Next, Click on More Windows Features and this will on a window to Turn Windows Feature On or Off as shown below.

Click on Okay and this feature will be installed. Note: You will have to restart your device and this is required in order to ensure that WSL can initiate a trusted execution environment.

On how WSL can be installed via the control panel, see

Via PowerShell: Before you can run Linux distros on Windows, you must enable the “Windows Subsystem for Linux” optional feature and reboot.

Step 1: Open PowerShell as Administrator and run the syntax (commands) below.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

If you have any questions, kindly leave a comment below.

Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x