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.

1 Star2 Stars3 Stars4 Stars5 Stars 5.00 (1 votes)

Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.

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

7 replies

avatar
  Subscribe  
newest oldest
Notify of
Tolga Erok
Guest
Tolga Erok
Tolga Erok
4 days ago

Thank christ a super easy solution!

argayuavy
Guest
argayuavy
argayuavy
18 days ago

you’re magic…. success

Damin Mark Sexton
Guest
Damin Mark Sexton
Damin Mark Sexton
1 month ago

OMG!

I have tried so many things off the internet! This one worked straight off the bat!

You are a magician!

Thank you so much!

Joao
Guest
Joao
Joao
2 months ago

Did the trick beautifully, thanks!

maceffi
Guest
maceffi
maceffi
2 months ago

did not work for me