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 in W11 File Explorer #7499

Closed
gglaze opened this issue Oct 6, 2021 · 14 comments
Closed

WSL2 in W11 File Explorer #7499

gglaze opened this issue Oct 6, 2021 · 14 comments

Comments

@gglaze
Copy link

gglaze commented Oct 6, 2021

Selecting "Linux" or "wsl.localhost" in W11 File Explorer fails with error message "\wsl.localhost is not accessible...." See attached images.

Thanks

Linux
wslLocalHost

@Whayx
Copy link

Whayx commented Oct 6, 2021

Hi, to access your file you can try to go directly to \\wsl$ in the search bar.

@benhillis
Copy link
Member

Please fill out issue template.

@infinitepower18
Copy link

I'm having the same problem

@Whayx
Copy link

Whayx commented Oct 6, 2021

See this error : #4027 (comment)
And this one (this contain quick fix) : https://www.reddit.com/r/bashonubuntuonwindows/comments/og727b/accessing_wsllocalhost_through_windows_11_file/

I quote : : "had to prepend "P9NP" to these two registry entries: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order and HwOrder"

Go to reg editor in windows and search for these to reg entries and apply changes !

Even after following these two, I still add a problem, so juste go in tese 2 reg entries and make sure you don't have nothing more than : P9NP,RDPNP,LanmanWorkstation,webclient

The problem should be fix.

@gglaze
Copy link
Author

gglaze commented Oct 7, 2021 via email

@ghost ghost removed the needs-author-feedback label Oct 7, 2021
@yngwi
Copy link

yngwi commented Oct 7, 2021

Hi, I have the same issue. The keys are already set in my registry:

image

@Whayx
Copy link

Whayx commented Oct 7, 2021

P9NP need to be the first one in the comma-separated list.
Also remove cbfsconnect2017. You just need to have these ones in the list : P9NP,RDPNP,LanmanWorkstation,webclient.
Then restart you computer !

@yngwi
Copy link

yngwi commented Oct 7, 2021

thank you

@gglaze
Copy link
Author

gglaze commented Oct 7, 2021

Great! That did it. Removed cbfsconnect2017 from the two ProviderOrder entries. Also returned Order and HwOrder to (value not set). No reboot required. Thanks for the assist.

@gglaze gglaze closed this as completed Oct 7, 2021
@gglaze
Copy link
Author

gglaze commented Oct 7, 2021

One more thing. File Manager declines to remove wsl.localhost from the Quick access section. Selecting wsl.localhost works as it should. Invoking "Unpin from Quick access" from the context menu does nothing. Selecting "Properties" returns the error message "The properties for this item are not available." Suggestions? Thanks.

@gglaze gglaze reopened this Oct 7, 2021
@gglaze
Copy link
Author

gglaze commented Oct 8, 2021

found solution. All is well. Thanks

@gglaze gglaze closed this as completed Oct 8, 2021
@Jeremy-Bolella
Copy link

Just leaving a comment so it might help some future peeps. I kept losing the linux icon access after any sleep/restart cycle. In the third folder providerOrder also delete the cbfs key. That should make the change permanent.

@TroutZhang
Copy link

Remove all 3 occurrences of "cbfsconnect2017" from under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider works for me.

No restart is required.

And \\wsl$ always works.

@z505985755
Copy link

I added P9NP to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order and HwOrder, but it will automatically reset to its original state after a while. It seems to be caused by a system update. How to solve it?

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

8 participants