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

can not map \\wsl$\xxx\xxx path to a network drive #4657

Open
ijesonchen opened this issue Nov 7, 2019 · 5 comments
Open

can not map \\wsl$\xxx\xxx path to a network drive #4657

ijesonchen opened this issue Nov 7, 2019 · 5 comments
Labels

Comments

@ijesonchen
Copy link

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 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".\

See our contributing instructions for assistance.

Please fill out the below information:

  • Your Windows build number: (Type ver at a Windows Command Prompt)
    10.0.19013.1
    wsl2 with ubuntu 18.04

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

  1. in explorer, mapping a network driver with path \wsl$\Ubuntu-18.04 succeeded,
  2. in console, "dir \wsl$\Ubuntu-18.04\home" can display directory correctly.
  3. in explorer mapping a network driver with path \wsl$\Ubuntu-18.04\home failed, with error windows can not access \wsl$\Ubuntu-18.04\home
  • What's wrong / what should be happening instead:
    mapping \wsl$\Ubuntu-18.04\home a network driver should succeed

  • Strace of the failing command, if applicable: (If some_command is failing, then run strace -o some_command.strace -f some_command some_args, and link the contents of some_command.strace in a gist here).

  • For WSL launch issues, please collect detailed logs.

@therealkenc
Copy link
Collaborator

Ref #3854. Could you please rephrase this as a step of Powershell CLI steps to be clear what you are doing.

@dustyjewett
Copy link

Not the author, but I was able to reproduce this. The general idea is that you can map to the root folder of a WSL, but not any deeper. The author is able to map \\wsl$\Ubuntu to a drive, but if you add the \home, the mapping fails.

I don't believe there's any way to map drives through powershell.

@therealkenc
Copy link
Collaborator

Alright.... for lack...

image

@Tulitomaatti
Copy link

I'm experiencing the same limitation on 10.0.19030.1 & wsl2 with Ubuntu 18.04.

@therealkenc therealkenc changed the title can not map \\wsl$\xxx\xxx path to a network driver can not map \\wsl$\xxx\xxx path to a network drive Aug 26, 2020
@Vaelek
Copy link

Vaelek commented Oct 6, 2020

Any progress on this? A year later and it still persists.

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

No branches or pull requests

5 participants