Repository navigation
Description
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 you have a feature request, please post to the UserVoice.
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 [email protected]. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".
Please fill out the below information:
-
Your Windows build number: (Type
verat a Windows Command Prompt)
10.0.18362.86 -
What you're doing and what's happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
Based on the recent WSL blogs, I expect to see WSL as a network drive in Explorer or to be able to open my active WSL directory by typing Explorer.exe .
When I enter the Explorer command from anywhere in the Linux filesystem, it opens my Windows Documents folder in Explorer
When I try to manually navigate to the path suggested by the blog posts, I get a 0x80004005

However, I can navigate to that directory from Powershell.

If it's relevant, here is a snapshop of my network devices. I've got some VPN stuff and Hyper-V V Switches, including for Docker for Windows.
Activity
jonitis commentedon May 14, 2019
Might be similar to #3995
shinji257 commentedon May 22, 2019
I've updated to 1903 18362.30 as of yesterday and I'm noticing this issue as well. What I've noticed is this.
dir //wsl$/Ubuntuworksexplorer.exe .inside a /mnt point works fine. Explorer.exe comes up to the expected path locationexplorer.exe .anywhere in the linux rootfs (outside of /mnt points) ends up at the user Documents folder instead of the expected translation to a point inside the P9 path.//wsl$/Ubuntudirectly inside File ExplorerAll tests done while Ubuntu is running. Did a clean install of the Ubuntu "app".
benhillis commentedon May 22, 2019
Sven Groot (@SvenGroot) - Could you please take a look into this?
bushidocodes commentedon May 24, 2019
After getting the final official 1903 build (I've previously been on 1903 as an insider), I went blew away both of my Pengwin-based environments and fully disabled and re-enabled the WSL feature. This seems to have resolved this issues for me on both of my systems. Since I has having this problem consistently on both machines, this suggests that something might have misfired in applying an update to an existing WSL install.
SvenGroot commentedon May 24, 2019
Anybody who's still in this state, can you please give me the output of the following commands:
That would be very helpful in diagnosing this issue.
For those who are interested, here's the reason why it works in cmd or PowerShell, but not in explorer.exe. \\wsl$ is essentially treated by the system as a network file system (even though it isn't really), which consist of two components: a redirector driver, and a network provider DLL. The former handles actual file system requests, while the latter provides information about connections and paths to the system. This DLL also implements things like "share" enumeration (distribution enumeration in WSL's case), and "map drive" functionality.
The network provider DLL is not used when applications just try to create a file using a \\wsl$\distro path, which is what cmd and PowerShell do. Explorer on the other hand always tries to get information about a UNC path from the network provider DLL, and won't issue a file system call unless that's successful. So in the situation described in this thread, the redirector driver is fine, but the DLL is not working as intended for some reason.
hazzanz commentedon May 24, 2019
Turning off and on WSL worked for me. I didn't need to delete the instance.
shinji257 commentedon May 25, 2019
As requested.
SvenGroot commentedon May 28, 2019
shinji257 Thanks, that's very interesting.
It appears that P9NP is missing from the comma-separated list under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order and HwOrder. It's present in ProviderOrder, but that doesn't do anything by itself if the value is not in the comma-separated list. This will cause Explorer and any other application that uses the network provider DLL to not consider our provider at all.
You should be able to work around this by just adding P9NP as the first entry in the comma-separated list under both keys (in your case, this would be "P9NP,RDPNP,LanmanWorkstation,webclient"). You might need to restart for that change to take effect.
This suggests there's some bug in the upgrade logic for this particular registry key. We'll investigate further and I'll keep you updated.
shinji257 commentedon May 29, 2019
Thank you. I've checked and verified that was indeed all that was needed to workaround for this issue and it updated both Order and HwOrder at the same time when I did that.
EDIT: Restarting the system, relogging, or even reloading explorer.exe was not needed. The effect was immediate.
danluca commentedon Jun 3, 2019
Have a similar issue but on the worse side - just updated to Windows 1903, had the legacy lxrun distro installed (Bash on Windows). Have wiped it out and started fresh, enabled WSL feature and installed Ubuntu distro from MS store.
The distro launches fine, but none of the "\wsl$" integration works for me - neither command prompt, nor explorer.
Looking at the output to the command checks posted by shinji257 - my output looks correct, the P9NP is in the right places:
Any ideas what to look for next?
RoguePointer80 commentedon Jun 17, 2019
Similar issue here.
Microsoft Windows [Version 10.0.18362.175]
So it appears the order is correct. The other two queries are the same as Dan Luca (@danluca) .
With Windows Explorer, going to \wsl$, I can see my distro correctly (Ubuntu-16.04). It is currently running bash.
Trying to access \wsl$\Ubuntu-16.04 in Windows Explorer gives "Attempt to access invalid address".
With cmd:
With Powershell:
Similar to other users, after upgrading to Windows 1903, I deleted my old distros, and installed a fresh one; installed a bunch of tools inside it, then I did an export of it. I remember at that point I was able to access the Linux files because I copied a file in it.
Shutdown my computer, next day install a bunch of Windows updates, reboot computer...
That's when I tried to use my new distro and noticed I could no longer access the Linux files with the 9P integration. I rebooted the computer again, but it did not fix the issue.
Any idea how to diagnose this? I had a look at the Windows Event Logs, but could not see anything related to WSL.
SvenGroot commentedon Jun 17, 2019
Can you post the output of running
dmesgin WSL? If the server encountered any problems when starting, it should be in there.46 remaining items
ohhmm commentedon Nov 12, 2023
Smart scan forbids using wsl or msbuild
mvanbrab commentedon Feb 9, 2024
This great workaround saved my day on a Microsoft Windows 11 Pro system, almost 4 years after your post Sven Groot (@SvenGroot), so you ar my hero!
Edit: Almost 5 years!
mmateo9627 commentedon Feb 22, 2024
i tried all your resolutions, nothing helped
then my buddy told me to try chmod 777 -R on a user that gave me this error
nnigcmacnairb commentedon Mar 13, 2024
Adding P9NP as the first item in the ordered list worked for me. Also, I did not need to reboot.
Yannici commentedon Jul 4, 2024
Anybody have the same problem, that the registry entry gets reset after every reboot?
tpGPT commentedon Jul 7, 2024
This is what worked for me. No reboot required (but still worked after one was performed).
Thank you
tjac06 commentedon Aug 20, 2024
shinji257
how do you update them in the cmd or shell?
arre-ankit commentedon Sep 15, 2024
This way my Issue got resolved!!
Windows 11
Steps:
Open Registry Editor:
Press Win + R to open the Run dialog.
Type regedit and press Enter. This opens the Registry Editor.
Navigate to Network Provider Keys:
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order.
Edit the List:
add P9NP
Updated List : RDPNP,LanmanWorkstation,webclient,P9NP
craigloewen-msft commentedon Nov 5, 2024
Hey folks this issue is really stale, so I'm closing it for our bookkeeping. If you're still seeing this please reopen it as a new issue, and that way we can properly triage it! Thank you! :)
onesource commentedon Oct 19, 2025
Wow, it's been over 5 years now, and Microsoft still hasn't fixed this yet. I was about to give up until I found this workaround from SvenGroot. It still works!
shinji257 commentedon Oct 19, 2025
Last reinstall I did the function worked out of the box.
d4renk commentedon Dec 28, 2025
Why has this bug not been fixed for five years?
crossboxdev commentedon May 8, 2026
7 years, still not fixed
[arre-ankit] workaround above still valid
shinji257 commentedon May 8, 2026
I have not seen this pop up on new installs but I'm sure it still crops up on existing installs.