SAMBA on Windows 10

ยท
1 min read
notes
#samba #windows #smb

Windows 10 disable anonymous guest.

On a bright day, Windows 10 suddenly:

Terminal window
C:\> net use * \\[SAMBA_IP]\shares /user:user *
Type the password for \\[SAMBA_IP]\shares:
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.

Configure in Regedit.exe:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters]
"AllowInsecureGuestAuth"

from dword(0) to dword(1).

Thus:

Terminal window
C:\> net use * \\[SAMBA_IP]\shares /user:user *
Type the password for \\[SAMBA_IP]\shares:
Drive Z: is now connected to \\[SAMBA_IP]\shares.
The command completed successfully.

Just put random password there.

Source: