Ubuntu on Windows showing WSL as not enabled, even though Windows showing WSL as enabled


When I launch Ubuntu, I receive the following error:

The WSL optional component is not enabled. Please enable it and try again.
See https://aka.ms/wslinstall for details.
Error: 0x8007007e
Press any key to continue...

However, when I check features in PowerShell using Get-WindowsOptionalFeature -Online, I see the following:

FeatureName : Microsoft-Windows-Subsystem-Linux
State       : Enabled

Would appreciate any assistance.

asked on Super User Apr 20, 2018 by B.Batiege • edited Apr 8, 2019 by Franck Dernoncourt

1 Answer


After searching through this thread https://github.com/Microsoft/WSL/issues/2316 I decided to try disabling WSL, rebooting, Enabling WSL, rebooting and launching Ubuntu seems to have solved the problem. Seemingly due to a bug with how dependencies are handled when the application is installed from the Windows store.

answered on Super User Apr 20, 2018 by B.Batiege

User contributions licensed under CC BY-SA 3.0