Fix: Windows Subsystem For Linux has no Installed Distributions Error

RECOMMENDED: Click here to fix Windows errors and optimize system performance

Bash is a Unix shell and a form of command language first introduced in 1989. It has been widely used as a standard connection shell for Linux and MacOS. Although it is mainly seen under Linux and Marcos, there is a version that can be installed under Windows 10. However, many complaints have been received from users who cannot use Bash on Windows 10, and an error “Windows subsystem for Linux has no distributions installed” is displayed when you try to do so.

Manual installation of the distribution system

If some distributions cannot be downloaded and installed automatically, we can try to install them manually from the command line. Therefore, in this step, we will execute a command to install the large distributions. For that:

  • At the same time, press the “Windows” + “R” keys to open the Run command prompt.
  • Type “cmd” and press “Shift” + “Ctrl” + “Enter” to assign administrator rights.
  • Type the following command and press Enter.

lxrun /install

  • This will trigger the download from the Microsoft Store, press “Y” to start the download at the prompt.
  • Check if the problem persists.

Note: This command can also be executed from the Power Shell.

February 2021 Update:

We now recommend using this tool for your error. Additionally, this tool fixes common computer errors, protects you against file loss, malware, hardware failures and optimizes your PC for maximum performance. You can fix your PC problems quickly and prevent others from happening with this software:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.


It may take a few minutes to install…

He can wait silently for you to press a key once it is ready, so you can press the Backspace key every 15 seconds to check if it is ready.

Update your Linux software

This is a good time to update the software. Follow the instructions below to update your software with the apt command.

Like Ubuntu, WSL uses APT (Advanced Packaging Tool) to manage the software packages. You can use the apt command to find, download and install software from the command line. It automatically manages your software dependencies for you so that when one program depends on a particular version of another program, both are installed and updated.

All apt commands that make changes to your system must be executed as root. If you are logged in as a normal user (as you should normally be), you can run a program as root by prefixing it with the sudo command (“superuser do”). It asks you to enter your password, and your program will run as root.

sudo apt update

The password of hope:

Updates are downloaded, but nothing is installed or updated yet. To update all available packages, run:

sudo apt upgrade

WSL installation

Adding a Linux environment is quite easy on Windows 10. Activate the function in the Control Panel, restart the computer and retrieve the desired distribution from the Microsoft Store.

If the WSL function is not available, you are probably using a 32-bit version of the operating system instead of the required 64-bit version.

This procedure does not work for Windows 10 LTSC and Windows Server because the Store application is missing. Therefore, you must download and install the Appx package yourself.

There is no web browser available under Server Core, and you can only enable this feature from the command line. Therefore, you will use a pure PowerShell solution in this case, which of course works everywhere else.

To add the subsystem to a PowerShell session with administrative privileges, type this command :
Enable WindowsOptionnel -Online functionality -FunctionalityNameMicrosoft Windows Linux subsystem

Enable WindowsOptionnel -Online functionality -FunctionalityNameMicrosoft Windows Subsystem Linux

Under Windows Server 2019, the following cmdlet also works:
Windows installation Functionality – Microsoft Windows name Linux subsystem

Windows installation Functionality – Microsoft Windows name Linux subsystem

RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance