Skip to content

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

Closed

Description

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

Activity

  1. patpilus commented on Jun 15, 2019

    @patpilus

    @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

  2. BusterNeece commented on Jun 15, 2019

    @BusterNeece
    Author

    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.

  3. onomatopellan commented on Jun 15, 2019

    @onomatopellan

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

  4. added
    wsl2
    on Jun 16, 2019
  5. erikhakansson commented on Jul 2, 2019

    @erikhakansson

    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.

  6. asolopovas commented on Jun 3, 2020

    @asolopovas

    +1

  7. Gaibhne commented on Aug 13, 2020

    @Gaibhne

    +1

  8. lyhu commented on Sep 14, 2020

    @lyhu

    +1

  9. MohitKAgnihotri commented on Sep 15, 2020

    @MohitKAgnihotri

    +1

  10. CComparon commented on Nov 16, 2020

    @CComparon

    +1

  11. Darkvater commented on Dec 5, 2020

    @Darkvater

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

  12. salmanmarvasti commented on Apr 21, 2021

    @salmanmarvasti

    still an issue

  13. tommyb82 commented on Jul 29, 2021

    @tommyb82

    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.

  14. psgrove commented on Sep 24, 2021

    @psgrove

    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

  15. jacarrico commented on Sep 30, 2021

    @jacarrico

    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)

  16. brunopulis commented on Oct 1, 2021

    @brunopulis

    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 😢

  17. OliverKohl commented on Oct 2, 2021

    @OliverKohl

    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

  18. vanarajan2496 commented on Oct 9, 2021

    @vanarajan2496

    +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
    
  19. dorathoto commented on Oct 13, 2021

    @dorathoto

    On Windows 11Enterprise 21H2 ( 22000.258)

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

  20. Aunlarce commented on Oct 17, 2021

    @Aunlarce

    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

  21. microsoft-github-policy-service commented on Feb 1, 2024

    @microsoft-github-policy-service
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    wsl2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions