Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Windows Subsystem for Linux (wsl) #5182

Closed
githubian018 opened this issue May 7, 2020 · 9 comments
Closed

Unable to install Windows Subsystem for Linux (wsl) #5182

githubian018 opened this issue May 7, 2020 · 9 comments
Labels
install Failure to install

Comments

@githubian018
Copy link

I am running windows 10-18363 build....
Recently I tried to install WSL for windows but at every reboot updating windows reaches 35% and reboot to begain the installation and fail for the 2nd time. On the 3rd reboot it tries to uninstall the update and says {update unsuccessful} .
After opening ubuntu 20.4 it gives the following error
Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x8007019e The Windows Subsystem for Linux optional component is not enabled. Please enable it and try again. See https://aka.ms/wslinstall for details. Press any key to continue...
After checking Windows Features-Windows Subsystem for Linux is not ticked.

THANK YOU

@benhillis
Copy link
Member

Did you enable the optional component and reboot?

@githubian018
Copy link
Author

Yes...that's when it says update unsuccessful

@DimDroll
Copy link

Try to install it using PowerShell or Cmd:
Enable "Windows Subsystem for Linux"
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Enable "Virtual Machine Platform"
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
restart system

@githubian018
Copy link
Author

Still the same issue

@PJCAfonso
Copy link

Still the same issues! since 4 days ago, after workaround don't got any idea more to solved this.

@simonmatt
Copy link

Please try to upgrade your Window 10 OS to build 19041 first, then try to install Windows Subsystem for Linux?

@niusealeo
Copy link

I have this same message but my situation is different.
My WSL2 and Ubuntu distro had already been working fine since I enabled and installed it a few months ago.
I booted my PC a few days ago and it said due to an error the BIOS setting were resetted to the default options, which also deactivated support for virtualisation.
Then Windows 10 booted up and WSL would not work anymore, saying that the windows features were not enabled.
So I first restarted and went into BIOS to reactivate the support for virtualisation.
When Windows 10 was loaded I still could not access WSL with the same error message as OP, however the Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux all appear to be activated according to the Windows Features settings.
I tried to deactivate the Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux in the Windows Features settings but it fails and I continue to receive error message 0x8000ffff.

So WSL is not available even though virtualisation is enabled in the BIOS, and the Virtual Machine Platform, Windows Hypervisor Platform, and Windows Subsystem for Linux all appear to be enabled in the Windows Features settings but I am unable to deactivate then reactivate them.

Does anyone know how to repair this ?????

@adrastogi adrastogi added the install Failure to install label May 6, 2021
@SeaAsters
Copy link

It makes me carzy! Have you get any solution?

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
install Failure to install
Projects
None yet
Development

No branches or pull requests

8 participants