-
Notifications
You must be signed in to change notification settings - Fork 822
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
Cannot access Dev Drive files from WSL2 after Windows Update #12156
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The script will output the path of the log file once done. If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease 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! Open similar issues:
Closed similar issues:
|
Diagnostic information
|
I am also experiencing the same sudden loss of drive access. I've even created a new DevDrive to no avail. When I do a directory listing in
|
Idem... |
Same issue there |
Exact same behaviour. Dev drive is accessible only as root, permissions are completely messed up. Other NTFS drives are working correctly. Also the junction created under NTFS does not work under WSL.
|
/emailed-logs |
Hi folks, thank you for the logs and feedback! We have investigated this error and believe we have found an initial fix for it. We're looking at when and how we can service this out, and I will keep this thread up to date with any news once it's available. Thank you! |
For me it's KB5044400. Got the same issue, but works again after I uninstalled the update. Pausing windows update for now. |
To provide an update on this issue: A recent bug was discovered that prevents access to Dev Drives from within WSL. The issue impacts the following updates: • Windows 11 WIP Release Preview update KB5044384 (build 26100.2152) For users that have recently updated to the retail release of Window 11 24H2 (10.0.26100), we recommend you turn OFF “Get the latest updates as soon as they’re available. If your system is impacted by this bug, your data will not accessible from within WSL. The dev drives and data are accessible from Windows. The workaround is to uninstall the update, and turn off Updates until this is fixed. A fix has been identified will be released in an upcoming servicing update. |
I had exactly the same problem. |
For now the only solution for me is to place the data folder in my C drive till issue is fixed. |
there is no easy way to uninstall KB5044384. The uninstallation process always unsuccessful. Any better way to uninstall that update at all? |
Exact same for me. |
Same issue and I don't have the KB5044384 installed. So, no way for me to "fix" the issue. |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
1 similar comment
+1 |
Omg, seriously guy, can we stop the +1 ? It is not helping. Tap on the emoji or the subscribe button will do! |
+1 |
happening on 2.3.13.0 . here's
here's
|
stumbled into this myself today DevDrive not accessible through WSL2, nor docker desktop "Access Denied" |
using .NET SDK containers helped me get past this, not sure what voodoo it does that gets around the WSL devdrive inaccessibility, but forward is good enough for me |
FYI - for folks on the Windows Insiders Dev Channel - the fix is in the latest flight 10.0.26120.2213. |
I reported this same issue on ticket 12220 which was closed as duplicate to this ticket. My logs are on that ticket, if you need it. |
Do you know if there is any way to get that patch without going through the Windows Insiders? |
@AdamBraden is there any target date for the servicing update? |
@PhotoAtomic Looks like it's today! |
As @MatthewSteeples and @johnnykang mentioned, this is fixed in the latest update to 24H2 - KB5046617 (OS Build 26100.2314) |
Upgraded and fixed |
Windows Version
Microsoft Windows [Version 10.0.26100.2152]
WSL Version
2.3.24.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.153.1-2
Distro Version
Ubuntu 24.04
Other Software
WSL version: 2.3.24.0
Kernel version: 5.15.153.1-2
WSLg version: 1.0.65
MSRDC version: 1.2.5620
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.26100.2152
Repro Steps
For months I've been running WSL2/Ubuntu, and accessing folders on my Win11 Dev Drive through VS Code Remote.
My Win11 laptop rebooted last night, and then today I can't access anything on that Dev Drive through VS Code/WSL2 Remote.
I've tried uninstalling the distro and reinstalling; tried remounting the drive... nothing works.
I see some older bugs similar to this, but they have been closed with no solution.
Expected Behavior
Same access to Dev Drive files using VS Code/WSL2.
Actual Behavior
My d: drive (Dev Drive) is no longer accessible through VS Code/WSL2.
Looking at the mounts, the d: drive is obviously messed up.
Here's my wsl.conf:
Diagnostic Logs
VS Code logs:
The text was updated successfully, but these errors were encountered: