16

While installing Ubuntu app on Windows, I'm encountering this error:

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80080005
Error: 0x80080005 Server execution failed

How do I install Ubuntu app successfully on Windows?

1
  • Upgrade Windows 10 version. It is fixed in newer versions.
    – Biswapriyo
    May 11, 2019 at 13:08

4 Answers 4

10

Try these steps:

  1. Press Windows key+R to open "Run" dialog. type: optionalfeatures.exe and hit Enter

  2. Scroll to the bottom and uncheck "Windows Subsystem for Linux". Click "OK".

  3. Repeat the above steps to re-enable Windows Subsystem for Linux.

Check if it now works.

4

Try restarting the manager for the linux subsystem by opening command prompt as admin (cmd) and running:

sc stop LxssManager
sc start LxssManager

and then query it to make sure the state is 4, RUNNING.

sc query LxssManager

Now try to open the Ubuntu app again, if it gives a different error this time, try uninstalling and reinstalling the app.

1
  • 2
    sc query LxssManager returns nothing, and Ubuntu still can't be run. It seems that the LxssManager is stuck and can't be killed in my case.
    – Hey
    Dec 18, 2020 at 16:38
3

I encountered the same issue once I installed the Windows 10 May v2004 Update and updated to WSL 2

On running

sc query LxssManager

No output was printed and the solution by @Jsilvermist didn't work in my case.

So instead I found this answer on Windows Forum Link to OP. It is recommended that you create a backup of the registry before modifying it.

  • Press ‘Win + R’ keys on the keyboard together to open the Run dialog box and type the following into the Run box: REGEDIT
  • Navigate to the following registry key:
  • HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LxssManager
  • On the right pane, locate Start and set the Value Data to 2.
  • Exit REGEDIT, and reboot the machine to see if it works.
-1

I have also checked on this webpage some solutions as I did not want to do over fixing manipulations. I have checked if there were some Windows 10 updates on going on my computer and that was the case : my pc has downloaded the latest version but did not install it yet. I did the installation and now Ubuntu works.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .