P9 Fileserver for WSL

\\wsl$\[running dist] not working

Problem accessing your WSL - Windows Subsystem for Linux - linux files in Windows 10 1903. Probably a missing P9NP in Order in registry.

If you cant access \\wsl$\Ubuntu it is probably because the updater missed to activate the P9NP component.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order is missing P9NP.

C:\Users\ola>reg query HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider /s

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\HwOrder
    PROVIDERORDER    REG_SZ    RDPNP,LanmanWorkstation,webclient

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
    PROVIDERORDER    REG_SZ    RDPNP,LanmanWorkstation,webclient

Easy fix is to insert P9NP first in the list as in this WSL issue

reg export HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider NetworkProvider.reg

edit the .reg file to have P9NP first the the list of Order and HwOrder

NetworkProvider.reg Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\HwOrder]
"PROVIDERORDER"="P9NP,RDPNP,LanmanWorkstation,webclient"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order]
"PROVIDERORDER"="P9NP,RDPNP,LanmanWorkstation,webclient"

then import it (with local admin right) runas /noprofile /user:enskede\onadmin “reg import NetworkProvider.reg”

After fix

C:\Users\ola>reg query HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider /s

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\HwOrder
    PROVIDERORDER    REG_SZ    P9NP,RDPNP,LanmanWorkstation,webclient

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
    PROVIDERORDER    REG_SZ    P9NP,RDPNP,LanmanWorkstation,webclient

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\ProviderOrder
    LanmanWorkstation    REG_DWORD    0x7d0
    RDPNP    REG_DWORD    0x3e8
    webclient    REG_DWORD    0xbb8
    P9NP    REG_DWORD    0x1f4