microsoft / WSL

Issues found on WSL
https://docs.microsoft.com/windows/wsl
MIT License
17.38k stars 820 forks source link

Linux Icon not appearing in Navigation Pane (Duplicate of Prematurely Closed #11026) #11376

Open ghost opened 7 months ago

ghost commented 7 months ago

Windows Version

10.0.22631.3296

WSL Version

2.2.1

Are you using WSL 1 or WSL 2?

Kernel Version

Ubuntu Version 2

Distro Version

Ubuntu 22.04

Other Software

No response

Repro Steps

I had installed and re-installed WSL many times, but to this date, the Linux Icon does not appear in my navigation pane. WSL in Optional Features were enabled as well.

I am able to reach my Ubuntu distro throughScreenshot 2024-03-26 135938but the icon remains non-existent.

Expected Behavior

I expected the Linux icon to appear in my navigation pane for ease of access.

Actual Behavior

Linux icon does not appear in navigation pane. Screenshot 2024-03-26 135739

Diagnostic Logs

This is my registry keys:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}] @="Linux" "SortOrderIndex"=dword:00000077 "System.IsPinnedToNameSpaceTree"=dword:00000001

[HKEY_CLASSES_ROOT\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\DefaultIcon] @="C:\WINDOWS\System32\wsl.exe,-1"

[HKEY_CLASSES_ROOT\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\InProcServer32] @="C:\WINDOWS\System32\windows.storage.dll"

[HKEY_CLASSES_ROOT\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\Instance] "CLSID"="{4FE04BFD-85B9-49DD-B914-F4C9556B9DA6}"

[HKEY_CLASSES_ROOT\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\Instance\InitPropertyBag] "DisplayType"=dword:00000002 "EnumObjectsTelemetryValue"="WSL" "Provider"="Plan 9 Network Provider" "ResName"="\\wsl.localhost"

[HKEY_CLASSES_ROOT\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}\ShellFolder] "Attributes"=dword:a080004d "FolderValueFlags"=dword:00000028

-x-x-x [HKEY_CURRENT_USER\Software\Classes\CLSID{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}] @="Linux" "System.IsPinnedToNameSpaceTree"=dword:00000001

github-actions[bot] commented 7 months ago

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs Download and execute [collect-wsl-logs.ps1](https://github.com/Microsoft/WSL/blob/master/diagnostics/collect-wsl-logs.ps1) in an **administrative powershell prompt**: ``` Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1 Set-ExecutionPolicy Bypass -Scope Process -Force .\collect-wsl-logs.ps1 ``` The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. [Click here for more info on logging](https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#8-collect-wsl-logs-recommended-method) If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

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!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

ghost commented 7 months ago

WslLogs-2024-03-26_14-11-11.zip

github-actions[bot] commented 7 months ago
Diagnostic information ``` Detected appx version: 2.2.1.0 ```
OneBlue commented 6 months ago

Thank you @dorea-l. Could you post exports of the following registry keys:

ghost commented 6 months ago

NameSpace: Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace] "MonitorRegistry"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders{F5FB2C77-0E2F-4A16-A381-3E560C68BC83}] @="Removable Drives"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{031E4825-7B94-4dc3-B131-E946B44C8DD5}] @="UsersLibraries" "Removal Message"="@shell32.dll,-9047"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{04731B67-D933-450a-90E6-4ACD2E9408FE}] @="CLSID_SearchFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{0875DCB6-C686-4243-9432-ADCCF0B9F2D7}] @="Microsoft OneNote Namespace Extension for Windows Desktop Search"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{11016101-E366-4D22-BC06-4ADA335C892B}] @="IE History and Feeds Shell Data Source for Windows Search"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{138508bc-1e03-49ea-9c8f-ea9e1d05d65d}] @="MAPI Shell Folder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{26EE0668-A00A-44D7-9371-BEB064C98683}] @="ControlPanelHome"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{2F6CE85C-F9EE-43CA-90C7-8A9BD53A2467}] @="File History Data Source"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{4336a54d-038b-4685-ab02-99bb52d3fb8b}] @="Public folder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{450D8FBA-AD25-11D0-98A8-0800361B1103}] @="Documents" "Removal Message"="@mydocs.dll,-900"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}] @="ControlPanelStartupPage"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{59031a47-3f72-44a7-89c5-5595fe6b30ee}] @="UsersFiles"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{5b934b42-522b-4c34-bbfe-37a3ef7b9c90}] @="This Device Folder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{645FF040-5081-101B-9F08-00AA002F954E}] @="Recycle Bin"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{64693913-1c21-4f30-a98f-4e52906d3b56}] @="AppInstanceFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{89D83576-6BD1-4c86-9454-BEB04E94C819}] @="MAPI Folder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{8FD8B88D-30E1-4F25-AC2B-553D3D65F0EA}] @="DXP"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{9343812e-1c37-4a49-a12e-4b2d810d956b}] @="Search Home"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{98F275B4-4FFF-11E0-89E2-7B86DFD72085}] @="CLSID_StartMenuLauncherProviderFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{a00ee528-ebd9-48b8-944a-8942113d46ac}] @="CLSID_StartMenuCommandingProviderFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}] @="Linux"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{BD7A2E7B-21CB-41b2-A086-B309680C6B7E}] @="CSC Folder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{daf95313-e44d-46af-be1b-cbacea2c3065}] @="CLSID_StartMenuProviderFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{e345f35f-9397-435c-8f95-4e922c26259e}] @="CLSID_StartMenuPathCompleteProviderFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{EDC978D6-4D53-4b2f-A265-5805674BE568}] @="StreamBackedFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}] @="Computers and Devices"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace{f8278c54-a712-415b-b593-b77a2be0dda9}] @="This Device Folder"

Translation Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\IdListAliasTranslations]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\IdListAliasTranslations\WSL] "Target"="::{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}" "Source"="\\wsl.localhost"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\IdListAliasTranslations\WSLLegacy] "Target"="::{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}" "Source"="\\wsl$"

NewStartPanel Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] "{031E4825-7B94-4dc3-B131-E946B44C8DD5}"=dword:00000001 "{208D2C60-3AEA-1069-A2D7-08002B30309D}"=dword:00000001 "{20D04FE0-3AEA-1069-A2D8-08002B30309D}"=dword:00000001 "{5399E694-6CE5-4D6C-8FCE-1D8870FDCBA0}"=dword:00000001 "{59031a47-3f72-44a7-89c5-5595fe6b30ee}"=dword:00000001 "{871C5380-42A0-1069-A2EA-08002B30309D}"=dword:00000001 "{9343812e-1c37-4a49-a12e-4b2d810d956b}"=dword:00000001 "{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}"=dword:00000001 "{1CF1260C-4DD0-4ebb-811F-33C572699FDE}"=dword:00000001 "{374DE290-123F-4565-9164-39C4925E467B}"=dword:00000001 "{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}"=dword:00000001 "{A0953C92-50DC-43bf-BE83-3742FED03C9C}"=dword:00000001 "{A8CDFF1C-4878-43be-B5FD-F8091C1C60D0}"=dword:00000001 "{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"=dword:00000001 "{f874310e-b6b7-47dc-bc84-b9e6b38f5903}"=dword:00000001 "{e88865ea-0e1c-4e20-9aa6-edcd0212c87c}"=dword:00000001 "{B2B4A4D1-2754-4140-A2EB-9A76D9D7CDC6}"=dword:00000001

OneBlue commented 6 months ago

Thank you @dorea-l.

This all looks correct so I wonder if ICloud might be conflicting with WSL here. Does temporarily removing ICloud and rebooting solve the issue ?

ghost commented 6 months ago

Uninstalling iCloud and rebooting doesn't solve the issue.

dorea-lee commented 1 month ago

Prompting this issue in hopes of feedback. Deleted previous account which started the thread, recreated a new one.