Menu Close
How Can We Help?
You are here:
Print

Windows Explorer how to access to Public Samba Network Share without password

Saving this here because I spent a lot of time making my new machine to see my local NAS and I always forget this steps.
Is not necessary to apply all this solutions here, the best way is to just apply one solution at time and go to Windows Explorer to test, if the network share show up and is accessible then you can stop applying other solutions.

Enable Guest Access in SMB:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
Add new DWORD Key : 
Name  : AllowInsecureGuestAuth 
Value : 1

(from https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/guest-access-in-smb2-is-disabled-by-default )

Enable SMBv1:

via PowerShell:
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

via Add or Remove Programs:
To disable SMBv1 for the mentioned operating systems:
In Control Panel, select Programs and Features.
Under Control Panel Home, select Turn Windows features on or off to open the Windows Features box.
In the Windows Features box, scroll down the list, clear the check box for SMB 1.0/CIFS File Sharing Support and select OK.
After Windows applies the change, on the confirmation page, select Restart now.

(from https://learn.microsoft.com/en-us/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3 )

Disable Network Digitally Sign:

via Local Group Policy Editor:
Open the Local Group Policy Editor (gpedit.msc) on your Windows device.
In the console tree, select Computer Configuration > Windows Settings > Security Settings> Local Policies > Security Options.
Double-click Microsoft network client: Digitally sign communications (always).
Select Disabled > OK.
 
via PowerShell:
Open an administrator-elevated PowerShell console.
Run
Set-SmbClientConfiguration -RequireSecuritySignature $false

(from https://techcommunity.microsoft.com/t5/storage-at-microsoft/smb-signing-and-guest-authentication/ba-p/3846679 )

Comments are welcome.