Connect to Samba shares without authentication
Connect to Samba shares without authentication
More recent versions of #Windows try to enforce security in some kindof dumb ways, and one is that if you're attempting to access a Samba fileshare that doesn't require credentials, you might get something like
To solve, you need to allow "insecure guest logins" for remote shares . You can do this via either:
- gpedit.msc → → → → →
- In cmd.exe, reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t reg_dword /d 00000001 /f
- In powershell, Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" -Name "AllowInsecureGuestAuth" -Type DWord -Value 1
- Last Author
- keithzg
- Last Edited
- Mar 11 2021, 4:54 PM