Windows – W10 – Can’t open any file on the network “directory name is invalid”

networkingsmbsynologywindows-10-v1709

Hope you're well.

Detail Issue:
I'm accessing my network files hosted on a Synology via windows explorer (unc path &/or mapped drive) and since a few days I'm unable to open any file via explorer or any application; I'm getting the following messages:
Open a picture: "it looks like you don't have permission to view this file. Check the permissions and try again.
Open any other file : "The directory name is invalid."
Open with other program than Windows one also mention permission issue.

Tentatives Issue:
Diskcleanup, SFC /Scannow (clean), chkdsk /f /r (clean), Delete all network drives & windows credential for this network, killing all tasks, safe boot, disabling WinDefender, Firewall, checking if new ethernet drivers, ccleaner…

Background Issue1:
I'm using b16251 of W10x64 and had this problem twice with older versions of W10. Only solution I found at the time was to format and reinstall windows as I'm completely handicaped in this situation.
Please note I can access properly all files of that network from other computers using W10 & W7 so it's definitely linked to this setup.
Not sure if it's related to insider preview as I had this problem on Creator Update 1703 and upgraded to preview thinking it will solve the problem…

Can you please help me trace and fix this issue please ? Thanks a lot!

Best Answer

  • Some solutions that work with some NAS are :

    • Access the NAS by its IP address rather than by name, as sometimes the name is badly published.
    • Enable SMB 1.0, as this old protocol is well-defined, if your computer uses a more advanced SMB protocol than is supported by the NAS. In Windows this is done in
      Control Panel > Programs & Features > Turn Windows features on or off.