WSL: No such interface supported Error code: Wsl/0x80004002
Version
Microsoft Windows [Version 10.0.22621.521]
WSL Version
- WSL 2
- WSL 1
Kernel Version
5.10.102.1
Distro Version
No response
Other Software
No response
Repro Steps
Update WSL with wsl --update --web-download
Run WSL after upgrade wsl --status
Expected Behavior
I expect that wsl should work after being updated.
Actual Behavior
PS C:\WINDOWS\system32> wsl --update --web-download
Downloading: Windows Subsystem for Linux
Installing: Windows Subsystem for Linux
Windows Subsystem for Linux has been installed.
PS C:\WINDOWS\system32> wsl --status
No such interface supported
Error code: Wsl/0x80004002
Diagnostic Logs
Not sure where to put additional information so I’ll add it here
I have a “native” version of wsl installed which I am using without any actual problems, I would just like to upgrade to the latest version. “wsl --update --web-download” installs the preview version which I cannot use as described above. If I uninstall it I can still fall back on the “native” version.
I get the same problem with all these options:
- Install wsl from Windows store
- wsl --update
- wsl --update --web-download
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 22 (3 by maintainers)
What worked for me was the following:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-LinuxI got around this by ensuring both Hyper-V and WSL are enabled through: Apps & Features -> Programs and Features -> Turn Windows Features on or off -> check both “Hyper-V” and “Windows Subsystem for Linux” checkboxes -> restart computer