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?

  • 2
    Close Voters objection: If Ubuntu in Windows is off topic then we should delete the tag WSL and all Q&A already posted under that tag. – WinEunuuchs2Unix Oct 19 '17 at 3:18
up vote 25 down vote accepted

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

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 doing this and rebooting when I selected Ubuntu again it completed a second phase to install / initialize Ubuntu in WSL (Windows Subsystem for Linux).

begin second phase After rebooting launch Ubuntu again; you should get the following msgs: "Installing, this may take a few minutes..." [healthy coffee break; YMMV] Installation successful! Please create a default UNIX user...

Initially I wanted to delete my question but thought it would be better to leave it in case others fell into the same rabbit hole.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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