Page MenuHomePhorge

Connect to Samba shares without authentication
Updated 1,284 Days AgoPublic

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

Screenshot_20191120_164733.png (137×406 px, 4 KB)

To solve, you need to allow "insecure guest logins" for remote shares . You can do this via either:

  • gpedit.mscComputer ConfigurationAdministrative TemplatesNetworkLanman WorkstationEnable insecure guest logons
  • 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
Tags
  • Restricted Project
Referenced Files
F2515: Screenshot_20191120_164733.png
Nov 20 2019, 4:51 PM
Subscribers
None
Last Author
keithzg
Last Edited
Mar 11 2021, 4:54 PM

Event Timeline

keithzg changed the title from Connect To Samba Shares Without Authentication to Connect to Samba shares without authentication.Nov 20 2019, 4:59 PM
keithzg edited the content of this document. (Show Details)