"Error: 0x80080005 Server execution failed" while installing Ubuntu on Windows

33,580

Solution 1

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.

Solution 2

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.

Solution 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.
Share:
33,580

Related videos on Youtube

Pallav
Author by

Pallav

Updated on September 18, 2022

Comments

  • Pallav
    Pallav over 1 year

    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?

    • Biswapriyo
      Biswapriyo almost 5 years
      Upgrade Windows 10 version. It is fixed in newer versions.
  • Hey
    Hey over 3 years
    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.