adapted from
https://learn.microsoft.com/zh-tw/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3?tabs=server
以下均在powersheel下操作
SMBv1
detect
Get-SmbServerConfiguration | Select EnableSMB1Protocol
禁用
Set-SmbServerConfiguration -EnableSMB1Protocol $false
active
Set-SmbServerConfiguration -EnableSMB1Protocol $true
SMB v2/v3
detect
Get-SmbServerConfiguration | Select EnableSMB2Protocol
禁用
Set-SmbServerConfiguration -EnableSMB2Protocol $false
active
Set-SmbServerConfiguration -EnableSMB2Protocol $true
沒有留言:
張貼留言