打開記事本編輯保存至.vbs 以管理員身份運行 Set obj = createobject("wscript.shell") obj.run ("reg add HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters ...
打開記事本編輯保存至.vbs
以管理員身份運行
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"" "