Enable Guest Access in SMB2 for Windows 10

If you want to enable insecure guest access, you can configure the following Group Policy settings:  

Computer configuration\administrative templates\network\Lanman Workstation “Enable insecure guest logons”  

Note By enabling insecure guest logons, this setting reduces the security of Windows clients. 

Extracted from MS Support