You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
(WSL2) Cannot map network drive to Linux filesystem #4143
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 code 0x80070043.
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.
Reacted by nynsen, Oleg, Tibor Djurica Potpara, Eli Acherkan, Edilson Cichon, Dave James Miller, Teemu Suvanto and Jakub Kuczys
@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
Reacted by Ilya Hoffman, oudinia, Jeff Shantz, Jean Simeoni, Justin Caldicott, nynsen, Oleg, Kewin Remy, Anton, Pratyush Tewari and 7 more
Patryk Piluś (@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.
Reacted by oudinia, nynsen, Pratyush Tewari, jcherrabi, Leonardo Mosquera and Archit Sangal
I can map drives, if I map to root \\wsl$\Ubuntu but 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$\Ubuntu still works fine even after hibernating. Detaching and reattaching the drive works too.
Reacted by Justin Caldicott, Chopin Ngo and nirtamir2
Just encountered this after a restart - Win 10 Pro 21H1 build 19043.1110. Exact same error code as OP - 0x80070043. Can't remap drive but can access \\WSL$\Ubuntu\ directly in windows explorer fine.
I have the same issue no linux drive mapped in windows explorer side nav, I can map the network drive manually and can get to Ubuntu file system by using \WSL$\Ubuntu in windows explorer address bar
OS Name Microsoft Windows 10 Pro
Version 10.0.19042 Build 19042
OS Name: Microsoft Windows 10 Enterprise
OS Version: 10.0.19042 N/A Build 19042
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: User
Registered Organization: Organization
Product ID: 00329-00000-00003-AA476
Original Install Date: 12-04-2021, 10:55:05 AM
System Boot Time: 09-10-2021, 08:47:37 AM
System Manufacturer: HP
System Model: HP EliteBook 840 G5
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 142 Stepping 10 GenuineIntel ~1696 Mhz
BIOS Version: HP Q78 Ver. 01.04.00, 12-09-2018
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.
Activity
patpilus commentedon Jun 15, 2019
@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 flawlesslyBusterNeece commentedon Jun 15, 2019
Patryk Piluś (@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.onomatopellan commentedon Jun 15, 2019
You can also pin a wsl folder on Quick Access . I just tried and it even opens the folder without having WSL open.
erikhakansson commentedon Jul 2, 2019
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.asolopovas commentedon Jun 3, 2020
+1
Gaibhne commentedon Aug 13, 2020
+1
lyhu commentedon Sep 14, 2020
+1
MohitKAgnihotri commentedon Sep 15, 2020
+1
CComparon commentedon Nov 16, 2020
+1
Darkvater commentedon Dec 5, 2020
+1; still an issue. Windows 20270.fe_relesaae.201124-1440
salmanmarvasti commentedon Apr 21, 2021
still an issue
tommyb82 commentedon Jul 29, 2021
Just encountered this after a restart - Win 10 Pro 21H1 build 19043.1110. Exact same error code as OP -
0x80070043. Can't remap drive but can access\\WSL$\Ubuntu\directly in windows explorer fine.psgrove commentedon Sep 24, 2021
I have the same issue no linux drive mapped in windows explorer side nav, I can map the network drive manually and can get to Ubuntu file system by using \WSL$\Ubuntu in windows explorer address bar
OS Name Microsoft Windows 10 Pro
Version 10.0.19042 Build 19042
jacarrico commentedon Sep 30, 2021
I am also having the same issue. Can't map the drive or open in explorer.
Trying to map or open to
\\wsl$\Ubuntu-18.04. Which is the distro I haveAlso in WSL can't open the folder in windows with
explorer.exe .commandWin10 Version 20H2 (OS Build 19042.1165)
brunopulis commentedon Oct 1, 2021
Same here 😢
OliverKohl commentedon Oct 2, 2021
Hi guys,
the same issue can be found on a Windows 11 system (Windows 11 Pro Insider Preview, Build 22463.rs_prerelease.210917-1503).
Beside that I wanted to say thanks for WSL2. A great system!
👍😎
Thanks
Oliver
vanarajan2496 commentedon Oct 9, 2021
+1
dorathoto commentedon Oct 13, 2021
On Windows 11Enterprise 21H2 ( 22000.258)
same problem, workaround, map distribution and then use quick access folder
Aunlarce commentedon Oct 17, 2021
hi there,
build 22000
same issue, thou just adding \wsl$<distro-name> works fine
microsoft-github-policy-service commentedon Feb 1, 2024
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!