30

Please let me know if there is a more appropriate site to post this error. I have a brand new Dell i-7 Skylake laptop, brand new Samsung Pro 960 SSD, New Windows 10 build 16299 (Fall Creators Update released yesterday) just upgraded from build 15063. I downloaded Ubuntu from Windows Store and get this 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...

I googled the recommended site and passed the hex error code with no luck.

Rebooting didn't help.

Any ideas?

0

2 Answers 2

45

Your Windows Subsystem for Linux (WSL) is not turned on. To turn on open PowerShell as Administrator and run the following command:

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

Source: https://docs.microsoft.com/en-us/windows/wsl/install-win10

1
  • work to me after 'reset' Ubuntu WSL
    – rmsys
    Jun 17, 2020 at 21:26
6

I guess we are spoiled in the Linux world with sudo apt install that goes out to find dependencies and install them for us. As it turns out Ubuntu for Windows requires you to go into "Windows Features" and turn on "Windows Subsystem for Linux" as detailed in this bug report.

After rebooting and launching Ubuntu again; I got the following messages:

"Installing, this may take a few minutes..." [healthy coffee break; YMMV]
Installation successful!
Please create a default UNIX user...

and completed the second phase to install/initialize Ubuntu in WSL (Windows Subsystem for Linux).

1
  • 1
    ye this answer is IMPORTANT!
    – silentsudo
    Aug 9, 2019 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.