On a bright day, Windows 10 suddenly:
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:
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.