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

Mapping network drive to \\wsl$\path does not work #3996

Closed
jonitis opened this issue Apr 24, 2019 · 8 comments
Closed

Mapping network drive to \\wsl$\path does not work #3996

jonitis opened this issue Apr 24, 2019 · 8 comments

Comments

@jonitis
Copy link

jonitis commented Apr 24, 2019

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    10.0.18362.53

  • In Windows explorer write address "\wsl$", select the displayed "Ubuntu" icon and select "Map network drive...". Try to map preselected path "Ubuntu" (grayed out, not editable) to driver letter W:. It will fail with "Windows cannot access Ubuntu" window.

Alternatively in command path try:

net use w: \\wsl$\Ubuntu\
System error 67 has occurred.

The network name cannot be found.
  • What's wrong / what should be happening instead:
    Would be nice to be able to map drive letter to \wsl$\distro_path. If this is not yet possible then Explorer should not display "Map network drive..." menu entry if it is known to fail
@Biswa96
Copy link

Biswa96 commented Apr 24, 2019

Fixed in 18860 (Skip Ahead). See issue #3854

@kapitanluffy
Copy link

I tried mapping a directory from WSL and it does not work

image

@Biswa96
Copy link

Biswa96 commented Apr 29, 2019

See the previous linked issue.

@drillyme
Copy link

I tried mapping a directory from WSL and it does not work

image

hi there,

build 22000
same issue, thou just adding \wsl$ works fine

@cavo789
Copy link

cavo789 commented Nov 24, 2021

Hello

I had the same problem today: impossible to map the distribution; here is the solution: https://www.reddit.com/r/bashonubuntuonwindows/comments/hos80y/comment/fxleabf

TLDR: we first need to open the distribution (Ubuntu in my case), to do this, from you Windows start menu, click on the Ubuntu icon. Then the map network drive will work from File Explorer.

@jfritz
Copy link

jfritz commented Jan 20, 2022

Hello. Same problem encountered here just today as @drillyme 's error message.

I am trying to map to a network drive because JetBrains' PyCharm debugger has difficulty showing current line-of-execution while debugging these files in a virtual wsl drive.

I imagine other programs have compatibility problems with operating on files in the wsl virtual drive as well.

Windows build: Microsoft Windows [Version 10.0.19043.1466]

@Grarie
Copy link

Grarie commented Mar 17, 2022

@cavo789 This is not the problem. The distribution is opened.
I can add \wsl$\debian or \wsl.localhost\debian but cannot add \wsl$\ssh-debian\home\username
So no path can be added. Strange.

Windows 11 build: 10.0.22572.0 (22572.1.amd64fre.ni_release.220304-1536)

@cavo789
Copy link

cavo789 commented Mar 17, 2022

Hello

@cavo789 This is not the problem.

For my need, yes, this is the solution. Using what I've typed, I can map my folder.

Something else in your case. Hope you'll find.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants