Open WIndows10 unauthenticated guest access policies and SMB1

Open Notepad to edit saved .vbs

Run as administrator.

Set obj = createobject("wscript.shell")
obj.run ("reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters /v AllowInsecureGuestAuth /t REG_DWORD /d 1 /f")
obj.run "PowerShell -Command ""Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol"" "

Guess you like

Origin www.cnblogs.com/lcxtc0324/p/12184598.html