作者PhenomII (追爱妻追得好累)
看板AntiVirus
标题[心得] SMB1 Enable/Disable/Check Script
时间Mon May 15 22:42:07 2017
为了方便大家开关SMB1以及Check
下面的Script分享给大家, 指令是照imasa大大提供的方法
程式码贴出来给各位, 有任何问题可以帮忙检查提出一下
SMB_Hotfix_Tools
https://mega.nz/#!t1AAEYyL!aDpcQWsHqDRIBJmAJr00Gpjm1C8_eK5_gxoee_6pqDU
内含以下三个部分
DisableSMB1
Win7靠Windows Registry设SMB1 -Value 0
Win8/8.1/10靠set-SmbServerConfiguration -EnableSMB1Protocol $false
程式码:
http://imgur.com/LTOeW6R
EnableSMB1
Win7靠Windows Registry设SMB1 -Value 1
Win8/8.1/10靠set-SmbServerConfiguration -EnableSMB1Protocol $True
程式码:
http://imgur.com/Ek1HgRj
SMB1_HotfixCheck
同上述位置去Query 值来判断SMB1的状态是Enable or Disable
同时会列出已安装的Hotfix资讯(参考
https://goo.gl/iz7kdA)
程式码:
http://imgur.com/wOuDef6
http://imgur.com/z0tzDEK
http://imgur.com/ZdRAF5s
http://imgur.com/6E1yI3U
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 123.194.126.120
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/AntiVirus/M.1494859335.A.F51.html
1F:推 abramtw: 谢谢分享 05/15 23:10
2F:推 gohome0083: 很棒的整合 05/15 23:43
3F:推 kipi91718: 谢谢分享 05/15 23:54