[心得] SMB1 Enable/Disable/Check Script

楼主: PhenomII (追爱妻追得好累)   2017-05-15 22:42:07
为了方便大家开关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
作者: abramtw (世界原来是如此耀眼啊)   2017-05-15 23:10:00
谢谢分享
作者: gohome0083 (喵星人)   2017-05-15 23:43:00
很棒的整合
作者: kipi91718 (正港台湾人)   2017-05-15 23:54:00
谢谢分享

Links booklink

Contact Us: admin [ a t ] ucptt.com