打开记事本编辑保存至.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"" "
原文地址:https://www.cnblogs.com/lcxtc0324/p/12184598.html
时间: 2024-10-04 23:07:08