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
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.
Toggle the radio button to Enabled and then click OK.
That’s it. You should now be able to access your network share.
p.s. I increased my AdSense revenue by 68% using AI 🤖. Read my Ezoic review to find out how.