-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WLS2] Network share not accessible after boot/resume from standby #5021
Comments
This is still an issue with build 19041.264 |
Bump, I get this issue on restart as well. |
In my case, when I'm working in the wsl2 (ubuntu 20.04.2 from the MS Store) and then my machine goes to sleep (ie: during coffee break), when the machine wakes up, my wls2 distro is no longer listed as "running" and I have to manually start it again so the tools that were connected to the wsl2 pre-sleep (ie: VsCode for example) can reconnect to the wsl2 after the wake up. Quite annoying. My build is 19042.804 |
Bump. Any update on this issue? Nothing seems to help. |
Sadly not, they've also been super silent about it when asked on Twitter. I assume it's just a Windows issue and not actually WSL but it's really really really annoying. |
I get this after restarting Windows. The mapped drive is inaccessible. I either have to restart again or from cmd do a |
@craigloewen-msft any chance this could get fixed in Windows 11? Windows 10 would be nice but I understand most dev has been moved to 11 already? |
The main challenge that we've had here is reproing it. I've been using this setup on my machine and tried to repro it over the past few days but haven't had any success. I'm on Windows 10 build 22000. Any other tips on reproing this problem? |
Sadly not really. That's all there is to it for me, seems to be a recurring issue on Windows though, not even WSL specific:
I have not tried this one yet: https://www.partitionwizard.com/partitionmagic/could-not-reconnect-all-network-drives.html#:~:text=Disconnect%20network%20drive.-,Solution%202.%20Force%20Windows%20%E2%80%9CAlways%20wait%20for%20the%20network%20at%20computer%20startup%20and%20logon%E2%80%9D,-When%20you%20start Did you try to repro with standby or reboot? |
Sometimes when I launch WSL, I get error messages about the file system being read-only. I see those because my .bashrc sets various things up which complain. Not sure if it's related. I can't recall if that happens at the same time the mapped drive is inaccessible. Again the "fix" is to shutdown WSL and start it again. |
I am also experiencing this issue. Build 19044.1266 |
I have to say, it has not happened to me again after applying the group policy linked above, can you try it as well and see if it works for you? |
Damn, issue is now back, even with that GP enabled, on Windows 11 22000.282 |
If I attempt to delete a folder stored in WSL of many files from Windows, nine times out of ten Windows Explorer will hang and the entire OS grinds to a halt. I need to logout or reboot, and nearly every time WSL then fails to start until I issue a wsl --shutdown first. The platform just seems really unstable. |
This happens to me as well. To get it to work I can simply open a terminal and start wsl back up and immediately everything works. Windows 11 Home build 22000 |
This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request. Thank you! |
Please use the following bug reporting template to help produce issues which are actionable and reproducible, including all command-line steps necessary to induce the failure condition. Please fill out all the fields! Issues with missing or incomplete issue templates will be closed.
If this is a console issue (a problem with layout, rendering, colors, etc.), please post to the console issue tracker.
Important: Do not open GitHub issues for Windows crashes (BSODs) or security issues. Please direct all Windows crashes and security issues to secure@microsoft.com. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".\
See our contributing instructions for assistance.
Please fill out the below information:
Your Windows build number: Microsoft Windows [Version 10.0.19041.172]
What you're doing and what's happening:
Windows should restore those explorer folders on login, instead if errors with "could not reconnect all network drives and closes your explorer windows.
Strace of the failing command, if applicable: (If
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).For WSL launch issues, please collect detailed logs.
The text was updated successfully, but these errors were encountered: