Skip to main content




RECOMMENDED: Click here to fix Windows errors and get the most out of your system performance

WSL or Windows Subsystem for Linux for Windows 10 is a great tool for developers. But every once in a while it triggers an error code 0x8007019e or 0x8000000d when launching the command line. Even though the error seems to have a problem with the WSL installation, it could be a false positive. Some users have installed WSL but still facing the issue. The error code is:

wslregisterdistribution-failed-with-error-0x8000000d-error-for-wsl-e1559766716385-7658325

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 because Windows 10 features are not supported. The bug doesn't even allow you to use the WSL command line. In this post, we will see how to fix this error in Windows 10.

Make sure Windows Subsystem for Linux (WSL) is enabled.

make-sure-windows-subsystem-for-linux-is-checked-8410097

  1. Open Control Panel
  2. Programs and functions
  3. Turn Windows feature on and off
  4. Windows Subsystem Check for Linux

Use the PowerShell cmdlet

powershell-3556156

Your Windows Subsystem for Linux (WSL) is not enabled. To enable PowerShell as administrator, open PowerShell and run the following command:

  1. Enable WindowsOptionnel -Functionality Online -FunctionalityNameMicrosoft Windows Subsystem Linux
  2. Restart your computer when prompted.

CMD Bypass Solution

run-cmd-as-administrator-with-su-supershell-8438404

  • Go to the Start menu and find the message.
  • Or press CTRL + R and type cmd.
  • Enter or copy each line individually:

wslconfig.exe /setdefault kali-rolling
He tried
CD

  • From now on, you can (as a workaround) start Kali Linux from the command line. This is decidedly not desirable, but it can be a temporary solution.
  • The error message "WslRegister distribution failed" is no longer displayed.

https://github.com/Microsoft/WSL/issues/2982

RECOMMENDED: Click here to fix Windows errors and get the most out of your system performance

R Marketing Digital