WSL: when installing with wsl --install, linux icon in windows explorer is missing
Windows Version
Microsoft Windows (Version 10.0.22631.2715)
WSL Version
2.0.12.0
Are you using WSL 1 or WSL 2?
- WSL 2
- WSL 1
Kernel Version
5.15.133.1-1
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
Install Windows Subsystem for Linux using wsl --install (fresh install). Linux icon does not show up in Windows Explorer. Not even after reboot. Wsl itself working well.
To work around this, go to add windows feature from Settings and check the Windows Subsystem for Linux checkbox, reboot and then it showed up.
Expected Behavior
Linux icon should show up in Windows Explorer side bar after running wsl --install.
Actual Behavior
No linux icon.
Diagnostic Logs
No response
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 6
- Comments: 28
This problem is happening again in WSL2 + Windows 11,
wsl -voutput:WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5620 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26100.2605
Guide to get the icon in windows 11, but the process should be somewhat similar to windows 10 as well.
Hi I’m an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
Closed similar issues:
Same issue after Windows Update. I have solved it with:
Fixed in 2.2.1
I also got the same problem when update WSL through Microsoft Store recently too.
I installed WSL2 via the Windows Store and I just coincidentally noticed that the “Linux” item was missing from the Explorer sidebar. I could’ve sworn it was there before, for the last year or so I only ever installed WSL2 via the Windows Store.
However, I can confirm that the item is displayed after installing the Windows Subsystem for Linux Windows Feature.
Also, it doesn’t seem to affect the ability to do stuff like open an Explorer window in a WSL filesystem (i.e.
\\wsl.localhost\Alpine_Linux\rootpaths), it truly appears to only be about the clickable entry in the sidebar.This might be the same issue as https://github.com/microsoft/WSL/issues/11026
See my comment on this issue: https://github.com/microsoft/WSL/issues/11026#issuecomment-1956749485
@uishon @fitrarhm @WinkelCode @trolledbypro As a workaround, you can try installing version 2.1.1 from here: https://github.com/microsoft/WSL/releases/tag/2.1.1 (simply download
wsl.2.1.1.0.x64.msiand install it) If it works for you, a short feedback comment may help solving this issue in future releases 😃Happening to me also on this machine:
WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5620 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26100.2894
Not happening to me on this machine:
WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5620 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26120.2992
Same, my Linux icon was disappeared
WSL version: 2.3.26.0 Kernel version: 5.15.167.4-1 WSLg version: 1.0.65 MSRDC version: 1.2.5620 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.26100.2894