Bug: WSL not detected after upgrading from Windows 10
See original GitHub issueDescription
I have a wsl2 image and i can see it in native explorer.exe But i cant see it in Files on side panel.
There is FileNotFoundException in logs
Steps To Reproduce
- Setup WSL on Windows 10
- Open Files and verify WSL is working
- Update to Windows 11
- Open Files and see if WSL works
Expected behavior
WSL should work even after updating from Windows 10
Windows Version
10.0.22499.1010
Relevant Assets
2021-11-16 23:57:40.7907|INFO|Connection_RequestReceived|Argument: GetIconOverlay 2021-11-16 23:57:40.7942|INFO|StartSTATask|Не удается найти указанный файл. (Исключение из HRESULT: 0x80070002) System.IO.FileNotFoundException: Не удается найти указанный файл. (Исключение из HRESULT: 0x80070002) в Vanara.PInvoke.Shell32.ShellUtil.GetShellItemForPath(String path) в FilesFullTrust.Win32API.GetFileIconAndOverlay(String path, Int32 thumbnailSize, Boolean getOverlay, Boolean onlyGetOverlay) в FilesFullTrust.MessageHandlers.Win32MessageHandler.<>c__DisplayClass3_0.<ParseArgumentsAsync>b__0() в FilesFullTrust.Win32API.<>c__DisplayClass0_0`1.<StartSTATask>b__0()
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (6 by maintainers)
Top GitHub Comments
@yaichenbaum my laptop was upgraded to Windows 11 Insider Preview and WSL was installed in Windows 11. (WSL volume not visible) My PC was upgraded to stable Windows 11 but WSL was installed in Windows 10. (WSL volume visible)
Is this still an issue in the preview build? https://files.community/download/preview