WSL: (WSL2) Cannot map network drive to Linux filesystem
-
Your Windows build number: Microsoft Windows [Version 10.0.18917.1000]
-
What you’re doing and what’s happening: Attempting to map a network drive using Windows Explorer that points to the Linux file system of an Ubuntu 18.04 distribution running inside WSL2.
-
What’s wrong / what should be happening instead: Despite Explorer being able to see the
\\wsl$directory and navigate through it, when attempting to mount it as a network drive, either through the “Easy Access” menu from the directory itself or from “Map Network Drive” at “This PC”, the same error appears:Windows cannot access \\wsl$\Ubuntu-18.04\the\path\specified, specifically error code0x80070043.
I’m aware of the existence of issues #3854 and #3996, which both seem to be referring to a similar issue, but it appears those issues apply to WSL1 and this is a new problem relating to WSL2. The previous issues were reported as fixed several builds prior to 18917 (which appears to be the current “Fast” ring build), but I’m still experiencing this issue as of the newest version with WSL2.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 8
- Comments: 20 (1 by maintainers)
@SlvrEagle23, I’ve got the same issue when trying to map my home directory on WSL2 ubuntu distribution. However, mounting the root path
\\wsl$\<distro-name>works flawlessly@patpilus Interesting, can confirm on my end as well that if you specifically mount
\\wsl$\Ubuntu-18.04, nothing more, nothing less, it works, but that’s the only path I can get to mount properly.I can map drives, if I map to root
\\wsl$\Ubuntubut frequently that mapped drive stops working and I get an “U:\ is unaccessible. The parameter is incorrect”.I get it everytime after hibernating and quite often without that.
Going directly to
\\wsl$\Ubuntustill works fine even after hibernating. Detaching and reattaching the drive works too.+1; still an issue. Windows 20270.fe_relesaae.201124-1440
On Windows 11Enterprise 21H2 ( 22000.258)
same problem, workaround, map distribution and then use quick access folder