Skip to content
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

(WSL2) Cannot map network drive to Linux filesystem #4143

Closed
BusterNeece opened this issue Jun 15, 2019 · 20 comments
Closed

(WSL2) Cannot map network drive to Linux filesystem #4143

BusterNeece opened this issue Jun 15, 2019 · 20 comments
Labels
wsl2 Issue/feature applies to WSL 2

Comments

@BusterNeece
Copy link

  • 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.

@patpilus
Copy link

patpilus commented 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 flawlessly

@BusterNeece
Copy link
Author

@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
Copy link

You can also pin a wsl folder on Quick Access . I just tried and it even opens the folder without having WSL open.

@benhillis benhillis added the wsl2 Issue/feature applies to WSL 2 label Jun 16, 2019
@erikhakansson
Copy link

erikhakansson commented Jul 2, 2019

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.

@asolopovas
Copy link

+1

4 similar comments
@Gaibhne
Copy link

Gaibhne commented Aug 13, 2020

+1

@lyhu
Copy link

lyhu commented Sep 14, 2020

+1

@MohitKAgnihotri
Copy link

+1

@CComparon
Copy link

+1

@Darkvater
Copy link

Darkvater commented Dec 5, 2020

+1; still an issue. Windows 20270.fe_relesaae.201124-1440

@salmanmarvasti
Copy link

still an issue

@tommyb82
Copy link

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
Copy link

psgrove commented 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
Copy link

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 have

Also in WSL can't open the folder in windows with explorer.exe . command

Win10 Version 20H2 (OS Build 19042.1165)

@brunopulis
Copy link

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 have

Also in WSL can't open the folder in windows with explorer.exe . command

Win10 Version 20H2 (OS Build 19042.1165)

Same here 😢

@OliverKohl
Copy link

Hi guys,

the same issue can be found on a Windows 11 system (Windows 11 Pro Insider Preview, Build 22463.rs_prerelease.210917-1503).

Issue

Beside that I wanted to say thanks for WSL2. A great system!

👍😎

Thanks
Oliver

@vanarajan2496
Copy link

vanarajan2496 commented Oct 9, 2021

+1

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

@dorathoto
Copy link

On Windows 11Enterprise 21H2 ( 22000.258)

same problem, workaround, map distribution and then use quick access folder

@Aunlarce
Copy link

Hi guys,

the same issue can be found on a Windows 11 system (Windows 11 Pro Insider Preview, Build 22463.rs_prerelease.210917-1503).

Issue

Beside that I wanted to say thanks for WSL2. A great system!

👍😎

Thanks Oliver

hi there,

build 22000
same issue, thou just adding \wsl$<distro-name> works fine

Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wsl2 Issue/feature applies to WSL 2
Projects
None yet
Development

No branches or pull requests