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: can't access linux file system from Windows Explorer #4812

Closed
abreingan opened this issue Jan 12, 2020 · 5 comments
Closed

WSL2: can't access linux file system from Windows Explorer #4812

abreingan opened this issue Jan 12, 2020 · 5 comments

Comments

@abreingan
Copy link

  • Your Windows build number: Version 10.0.18362.535

  • What you're doing and what's happening:
    Attempt to access WSL distro from Windows Explorer by entering \wsl$\Debian in the address bar or otherwise fails with:-
    "\wsl$\Debian is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
    Attempt to access invalid address."

  • What's wrong / what should be happening instead: Root of Distro should be displayed

However it can be fixed by running a commend prompt with admin privileges and entering the command wsl -t Debian
After that the root is accessible through Window explorer.
However it quickly reverts and the next time i try it will fail again
please note i am also running virtual machines via Hyper-V - could this have an effect?

@abreingan abreingan changed the title WSL2: can't access linux file system from WSL2: can't access linux file system from Windows Explorer Jan 19, 2020
@gottfired
Copy link

By the way, for me wsl -t Ubuntu does not fix it.

@abreingan
Copy link
Author

Works consistently for me - all then seems to be OK for a few hours or a day, and something unknown then makes it go wrong again. The fix needs to be run with admin privileges or it doesn't work.

@rescenic
Copy link

Just set up openssh server in your default distro.
https://github.com/rescenic/autossh
It will maintain connectivity from Linux to Windows (Explorer).

@michael-imbeault
Copy link

Same here with Ubuntu, fix doesn't work

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
Projects
None yet
Development

No branches or pull requests

5 participants