Skip to content

Bug: WSL not detected after upgrading from Windows 10 #6952

@vabka

Description

@vabka

Description

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

  1. Setup WSL on Windows 10
  2. Open Files and verify WSL is working
  3. Update to Windows 11
  4. 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.b__0()
в FilesFullTrust.Win32API.<>c__DisplayClass0_0`1.b__0()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions