楼主:
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