首页 电脑 电脑学堂 查看内容

关闭445端口VBS代码学习

2009-7-20 13:00 778 0

摘要:   Set WshShell=wscript.CreateObject("Wscript.Shell")    WshShell.RegWrite "HKLMSystemCurrentContro...
关键词: WshShell wscript SMBDeviceEnabled CurrentControlSe CreateObject Parameters Set RegWrite Services nothing

  Set WshShell=wscript.CreateObject("Wscript.Shell")    WshShell.RegWrite "HKLM\System\CurrentControlSet\Services\NetBT\Parameters\SMBDeviceEnabled",_  "0","REG_DWORD"    wscript.echo "操作成功"  set WshShell=nothing
声明:文章版权归原作者所有 部分文章转自互联网 如有侵权请联系 [邮箱地址] 删除

路过

雷人

握手

鲜花

鸡蛋

最新评论

返回顶部