Within my home network, the network drives [SMB shares] set up on a Surface 4 Pro [Windows 10 Home v2004, b19041.985], connected via ethernet, suddenly stopped working, and since the same are readily available on another Windows 10 machine, it doesn't seem to be an issue with the servers [Ubuntu server and QNAP NAS].
- The server is visible from the Surface 4 Pro, as pinging the server works, both using its hostname [
servername] and IP address [192.168.1.3], with roundtrip times of <1ms and no lost packets, however:net use X: \\servername\sharenamereturnserror 59net use X: \\192.168.1.3\sharenamereturnserror 67
- I have, to no avail:
- enabled File and Printer Sharing, Network Discovery and File Sharing
- restarted several times
- tried disabling Windows Defender firewall (nothing changed)
Any suggestions?
101 Answer
I solved it by trying a simple net use without any parameters to see what I would get and received error 1222, leading me to investigate whether the work station service [lanmansworkstation] was running and it was not; I started it, but it returned a dependency could not be found.
In Registry Editor:
I changed the value ofHKLM\SYSTEM\CurrentControlSet\Services\lanmanworkstationREG_MULTI_SZ:DependOnServicefrommrxsmb10to:
(as far as I can see,mrxsmb10is related to SMB 1.0, which I am not using)
Note:bowser mrxsmb20 nsibowsermust be spelled this way
I changed the value ofHKLM\SYSTEM\CurrentControlSet\Services\mrxsmb20DWORD:Startto2[Start Automatically]
ServiceHKLM\SYSTEM\CurrentControlSet\Services\mrxsmbmrxsmb20is dependent on servicemrxsmb, so I also changed the value ofDWORD:Startto2- I rebooted and the workstation service was still not running, so I went into
services.mscand started it manually; et voilá, network shares work again