WSL: WSL App (Windows Store) returns "No such interface supported / Error code: Wsl/0x80004002"
I have been using WSL steadily on this system since WSL1 under Windows 10. I have transitioned successfully to WSL2 on Windows 10, and now to WSL2 on Windows 11. However, I have had no luck with the newer app store version of WSL. It consistently returns these “No such interface supported” errors as soon as it is installed.
I have tried removing removing/rebooting/restarting. I have removed the app, disabled native WSL, restarted, and re-installed the app. I have removed the app, purged all of my WSL distribution instances, removed the distributions from my installed apps list, then reinstalled the app. The results are always the same.
Windows version / build number
Microsoft Windows [Version 10.0.22000.1098]
Steps required to reproduce
As soon as I install the Windows Subsystem for Linux app from the Windows store, wsl.exe no longer works. Any attempt to launch it with any parameters returns the same error.
Terminal Output
$ wsl -l
No such interface supported
Error code: Wsl/0x80004002
Expected Behavior
I expected WSL to continue functioning as it did before installing the app store version.
Collect WSL logs
Attached below:
WslLogs-2022-10-13_21-49-41.zip
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 5
- Comments: 35 (2 by maintainers)
See this comment here: https://github.com/microsoft/WSL/issues/9202#issuecomment-1447500031
This did the trick for me.
wsl --updatewill corrupt your wsl command. Remove the Appxpackage that updating installed will get your wsl back. RunGet-AppxPackage |? { $_.Name -like "*WindowsSubsystemforLinux*" }in powershell to get the package fullname, and remove it usingRemove-AppxPackage -Package "<packag-full-name>"I get this exact issue after upgrading to the WSL Store version. I had to remove the WSL store version, and reinstall the core manually using: https://learn.microsoft.com/en-us/windows/wsl/install-manual#step-4---download-the-linux-kernel-update-package
i got the exact same issue. had wsl installed, then installed kb5020030 (win10 19044.2311 (21H2)), started wsl and got notification to run wsl --update. the update ran fine, then when i start wsl i get
No such interface supported Error code: Wsl/0x80004002
wsl.exe command fails all the time with above error even “wsl /?” or “wsl --help” result in above error Ideas how to fix it?
Open powershell as admin run this
I resolved this by toggling the WSL off and then back on in Control Panel -> Programs -> Turn Windows Features on or off.
WSL package can be installed from release page with
Add-AppxPackagecommand in Powershell.I had this same problem the other day too. It was a fresh install of Windows 10 Pro with 22H2, so there was almost nothing on it.
First, I installed WSL from the Windows Store. After that, I installed Ubuntu 22.04.1 LTS and got the same error message when trying to start Ubuntu:
Then I tried different iterations of installing/re-installing Ubuntu 20.04.5 and 22.04.1 from the Windows Store and through the terminal, downloading and installing/re-installing 1.0.3 and 1.0.0 from the aforementioned release page, downloading and installing/reinstalling WSL from the Windows Store, and no progress. I even tried enabling the “Windows Subsystem for Linux” option in the “Turn Windows features on or off” settings page and still nothing. I finally got Ubuntu 22.04.1 LTS spun up when I switched to WSL1:
wsl --set-default-version 1As soon as I switched to WSL1, Ubuntu fired up immediately without any additional tinkering.
So it’s possible the issue may be with WSL2. This is probably not the ideal fix if you’re hard set on using WSL2, but if you want to just get a system up and running, switching WSL1 may work for you until a solution for WSL2 is found.
worked for me, thanks!
Go to “Turn windows features on or off” Enable “Windows subsystem for linux” Worked like a charm for me
This worked for me. After running this I got a new error:
Which I was able to resolve by enabling the “Virtual Machine Platform” feature in Control Panel > Programs > Turn Windows features on or off.
WSL from appstore appears to be installed so i dont think thats the issue, also i have completely removed wsl by unregistering all dists, removing all wsl stuff from add/remove programs included Settings/apps and the optional windows components and then reinstalled it again via wsl --instal and get exactly the same issue
also side note, because this issue was closed i created a new one related to this https://github.com/microsoft/WSL/issues/9202
Having the same problem, after Upgrading from Win11 21H2 to 22H2 via inplace upgrade. Same result with
wsl.exe --upgradeor starting the install directly from the microsoft store.