WslRegisterDistribution failed with error 0x8007019e and 0x8000000d – WSL

WSL or Windows Subsystem for Linux for Windows 10 is an excellent tool for the developers. But sometimes on the command line’s startup, it throws an error code 0x8007019e or 0x8000000d. While the error seems like it is having a problem with the installation of WSL, but it could be a false positive. Some users had WSL installed but still faced the problem. The error code reads:

Installing, this may take a few minutes…
WslRegisterDistribution failed with error: 0x8007019e/0x8000000d
Error: 0x8007019e/0x8000000d The parameter is incorrect.
Press any key to continue.

This error occurs due to the absence of supporting Windows 10 features. The error does not even let one use the WSL based command line. In this article, we will be checking out how to fix this error on Windows 10.

WslRegisterDistribution failed with error 0x8000000d error for WSL

WslRegisterDistribution failed with error: 0x8007019e & 0x8000000d

The user will have to enable the Windows Subsystem for Linux feature to troubleshoot this issue. There are two methods to do so:

  1. Enable WSL using Turn Windows features on or off.
  2. Using Windows PowerShell.

1] Enable WSL using Turn Windows features on or off

To enable the Windows Subsystem for Linux feature using the Turn Windows features on or off dialog box, you need to search for Turn Windows Features on or off in the Windows search box.

Reinstall WSL for Linux in Windows

From the populated list, check the option for Windows Subsystem for Linux. Select OK.

It will search and install some required system files and ask you to reboot your computer. After restarting your computer, your Linux distro would be working without any issues.

2] Using Windows PowerShell

Open Windows PowerShell with Administrator level rights. Execute the following command to enable the Windows Subsystem for Linux feature:

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

It will start searching for and installing some required system files.

When prompted, you need to type to reboot your computer.

It will install all the required system files, and your Linux distro would usually be working now.

I hope that this guide helped you.

Posted by on , in Category Windows with Tags
Ayush has been a Windows enthusiast since the day he got his first PC with Windows 98SE. He is an active Windows Insider since Day 1 and is now a Windows Insider MVP. He has been testing pre-release services on his Windows 10 PC, Lumia, and Android devices.