You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am new to WSL and am trying to follow the installation instructions here.
When I try to install WSL from an administrator PowerShell I get:
PS C:\Windows\system32> wsl --install
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ wsl --install
+ ~~~
+ CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
The prerequisites say:
You must be running Windows 10 version 2004 and higher (Build 19041 and higher) or Windows 11
I have run winver and got this output: 19043.928 so it appears I satisfy the prerequisites.
I have tried following the trouble shooting info here which references my "not recognized" error and says:
Ensure that the Windows Subsystem for Linux Optional Component is installed.
and points to older instructions for installing wsl via dism.exe
I followed those instructions being able to use dism.exe:
then downloaded the wsl_update_x64.msi but when trying to run it got an error popup saying: "The Update only applies to machines with the Windows Subsystem for Linux".
I searched my system for wsl executables and found some related files like under C:\Windows\WinSxS such as:
Hello, I am new to WSL and am trying to follow the installation instructions here.
When I try to install WSL from an administrator PowerShell I get:
The prerequisites say:
I have run
winver
and got this output:19043.928
so it appears I satisfy the prerequisites.I have tried following the trouble shooting info here which references my "not recognized" error and says:
and points to older instructions for installing wsl via dism.exe
I followed those instructions being able to use
dism.exe
:then downloaded the
wsl_update_x64.msi
but when trying to run it got an error popup saying: "The Update only applies to machines with the Windows Subsystem for Linux".I searched my system for wsl executables and found some related files like under
C:\Windows\WinSxS
such as:So perhaps it's installed but the system path is broken?
When I try directly running the wsl.exe mentioned above it just gives a "Class not registered" error.
For background, this is a fresh installation of Windows 10 on a work computer just issued to me by my employer.
It's a Lenovo Thinkpad T490.
The company has an IT team with their own installation/security processes so perhaps that has broken wsl in some way.
The text was updated successfully, but these errors were encountered: