Windows cannot access hostname 0x80070035 the network path was not found

Windows 10 and Linux Samba Problem: “Windows cannot access \\hostname”

Last updated on

I was having an issue connecting to a shared, public folder on my Ubuntu 20.04 server. I could access it fine on two other Windows 10 PCs but not on another.

Samba Shares Inaccessible

When trying to open a network Samba share, I kept getting this error:

Network Error: Windows cannot access \\hostname. Check the spelling of the name. Otherwise there might be a problem with your network. To try and identity and resolve network problems, click Diagnose.

0x80070035 the network path was not found

Running net use in Windows Command Prompt brought up another error.

c:\net use \\hostname

System error 1272 has occurred.
You can’t access this shared folder because your organization’s security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network.

This error is due to Windows Local Group Policy restrictions not allowing access to “insecure guest logins”. It seems Microsoft decided to disable access by default in new Windows Updates.

According to a post from Microsoft, they say:

Guest access in SMB2 disabled by default in Windows
A malicious computer that impersonates a legitimate file server could allow users to connect as guests without their knowledge. Microsoft recommends that you do not change this default setting. If a remote device is configured to use guest credentials, an administrator should disable guest access to that remote device and configure correct authentication and authorization.

If you are aware of the security implications and have to have guest access to your Samba shares, you can re-enable it in Group Policy.

Edit Group Policy

Open the Windows 10 Start Menu and type gpedit.msc, then press Enter.

In the left-hand tree, expand Computer Configuration > Administrative Templates > Network > Lanman Workstation.

Double-click Enable insecure guest logons.

Windows 10 Enable insecure guest logins policy

Toggle the radio button to Enabled and then click OK.

That’s it. You should now be able to access your network share.

Let me know in the comments if this helped. Follow me on Twitter, Facebook and YouTube.

p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.

1 Star2 Stars3 Stars4 Stars5 Stars 5.00 (1 votes)

Leave a Reply

Your email address will not be published. Required fields are marked *

We use Markdown to style comments, like on Github and Reddit.
To do a line break, type two spaces after the sentence.
You can add inline code by wrapping it in backticks: `code here`

    To do an entire block of code  
    type four spaces before the line
    and it will appear in a block like this.
    <-- four empty spaces