WSL icon indicating copy to clipboard operation
WSL copied to clipboard

Unable to install Windows Subsystem for Linux (wsl)

Open githubian018 opened this issue 6 years ago • 9 comments

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

githubian018 avatar May 07 '20 15:05 githubian018

Did you enable the optional component and reboot?

benhillis avatar May 08 '20 15:05 benhillis

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

githubian018 avatar May 09 '20 08:05 githubian018

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

DimDroll avatar May 11 '20 08:05 DimDroll

Still the same issue

githubian018 avatar May 11 '20 12:05 githubian018

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

PJCAfonso avatar May 15 '20 19:05 PJCAfonso

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

simonmatt avatar May 28 '20 14:05 simonmatt

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 ?????

niusealeo avatar Aug 05 '20 01:08 niusealeo

It makes me carzy! Have you get any solution?

SeaAsters avatar Sep 22 '22 10:09 SeaAsters

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!