-
Notifications
You must be signed in to change notification settings - Fork 821
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
WSL is not installing #5833
Comments
That is going to be too far back for a repro. If you can't get a list of features in "Turn Windows features on or off" then you have more general problems than WSL. Windows Update to latest (currently 2004 aka 20H1) can sometimes solve many ills by virtue of reinstalling all the things. Tangentially similar #3689. |
Are you using x86 OS? only AMD64 or ARM64 supports WSL |
@therealkenc I have a Dell Computer and since my computer is very old it is not updating. According to Dell my computer is not compatible for any version then what I have right now. @licanhua I have a X64 OS. |
For the giggles, try running the following to see if you can install any optional components (nvm WSL). From an elevated Powershell:
If it returns anything (but presumably not I found some lore on the web that might or might not help. It comes with no endorsement. Another popular path forward, assuming your box is disposable, is to disregard Dell, install Windows from an image, and hope for the best. Sometimes it works out. YRMV. |
`PS C:\Windows\system32> Get-WindowsOptionalFeature -Online
` You may be right... I might not be able to use Get-WindowsOptionalFeature. |
Yes, sadly there isn't a WSL actionable here (anymore than there is a |
Ok Thanks for your help |
I downloaded the Ubuntu 20.04 LTS and I ran it. This is the output it gave me.
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...
I looked it up online I found that I have to use the command
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
.But that gives the error
`Deployment Image Servicing and Management tool
Version: 10.0.17134.1
Image Version: 10.0.17134.765
Error: 0x800f0831
Feature name Microsoft-Windows-Subsystem-Linux is unknown.
A Windows feature name was not recognized.
Use the /Get-Features option to find the name of the feature in the image and try the command again.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log`
I also found out that that I can use the GUI on Turn Windows Features on or off. But mine does not seem to load.
I found this article
It says to use the command
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
But that gives the error
`Enable-WindowsOptionalFeature : Feature name Microsoft-Windows-Subsystem-Linux is unknown.
At line:1 char:1
So, in summary, I am trying to run Ubuntu 20.04 LTS but it is telling me to install WSL Components but anything I do to install is not working. Could anyone help me with this?
Thanks!
The text was updated successfully, but these errors were encountered: