Windows 8.1 和 Windows 10: Powershell 方法
SMB v1 通訊協定
SMB v2/v3 通訊協定
| 偵測: | Get-SmbServerConfiguration | 選取 EnableSMB2Protocol |
| 停用: | Set-SmbServerConfiguration –EnableSMB2Protocol $false |
| 啟用: | Set-SmbServerConfiguration –EnableSMB2Protocol $true |
| 偵測: | Get-SmbServerConfiguration | 選取 EnableSMB2Protocol |
| 停用: | Set-SmbServerConfiguration –EnableSMB2Protocol $false |
| 啟用: | Set-SmbServerConfiguration –EnableSMB2Protocol $true |