question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: WSL not detected after upgrading from Windows 10

See original GitHub issue

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.<ParseArgumentsAsync>b__0() в FilesFullTrust.Win32API.<>c__DisplayClass0_0`1.<StartSTATask>b__0()

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
vabkacommented, Dec 20, 2021

@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)

0reactions
yaira2commented, Oct 13, 2022

Is this still an issue in the preview build? https://files.community/download/preview

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Windows Subsystem for Linux
The simplest way to resolve this is by going to Windows Settings and clicking 'Check for Updates' to install the latest updates on...
Read more >
WSL2 on Win10 will not start after recent windows update
Update Windows 10. Attempt to start WSL2. WSL2 has been working as expected for quite a while now. Today I applied the following...
Read more >
[Solved] WSL Not Working After Upgrading to Windows 11
This article talks about the WSL not working in Windows 11. If you run into this error, you can find solutions in this...
Read more >
WSL does not work after Windows 10 Update
I have joined the Windows 10 Insider Preview. Today the system updated to version 2004 build 19555.1001, and now I cannot open WSL....
Read more >
Fix WSL Element not found after installing KB4571756 in ...
To fix WSL Element not found after installing KB4571756 in Windows 10, · Open Settings. · Click on the Update & Security icon....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found