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

WSL share is not accessible #9529

Closed
1 of 2 tasks
sbkpilot1 opened this issue Jan 24, 2023 · 1 comment
Closed
1 of 2 tasks

WSL share is not accessible #9529

sbkpilot1 opened this issue Jan 24, 2023 · 1 comment

Comments

@sbkpilot1
Copy link

Version

Microsoft Windows [Version 10.0.22000.1455]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.15.79.1-microsoft-standard-WSL2

Distro Version

Debian 11

Other Software

No response

Repro Steps

map \wsl$ to a network drive, used to work but no longer works. I get an error message wsl.localhost is not accessible. \wsl$ redirects to \wsl.localhost which is not accessible.

using explorer I can browse to Linux to get the distro list but when I double-click on Debian I get an error message "Attempt to access invalid address"

This is after a recent update to WSL2

Expected Behavior

WSL2 share should work like it used to and should be able to be mapped to a network drive

Actual Behavior

wsl.localhost is inaccessible, attempt to access an invalid address.. no further info provided
wsl_error
explorer_wsl

Diagnostic Logs

No response

@sbkpilot1
Copy link
Author

Update: I was able to fix this, but it is still a BUG with the product.

For anyone else running into this issue:

in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order and HwOrder the P9NP value should be the 1st one in the comma separated list.

After the change you need to restart the computer.

Thanks to the original poster of this tip here:
#4027 (comment)

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

No branches or pull requests

1 participant