Windows Server 2012 Windows Server 2012 R2, Windows Server 2016, Windows Server 2019: Server Manager method The computer will restart after you run the PowerShell commands to disable or enable SMBv1.ĭetect: Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocolĭisable: Disable-WindowsOptionalFeature -Online -FeatureName SMB1ProtocolĮnable: Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol Here are the steps to detect, disable and enable SMBv1 client and server by using PowerShell commands.
Here's how to remove SMBv1 in Windows 10, Windows 8.1, Windows Server 2019, Windows Server 2016, and Windows 2012 R2. For more information about SMBv2 and SMBv3 capabilities, see the following articles:
The SMBv2 protocol was introduced in Windows Vista and Windows Server 2008, while the SMBv3 protocol was introduced in Windows 8 and Windows Server 2012.
Disabling SMBv2 or SMBv3 for troubleshooting While disabling or removing SMBv1 might cause some compatibility issues with old computers or software, SMBv1 has significant security vulnerabilities and we strongly encourage you not to use it.
This article describes how to enable and disable Server Message Block (SMB) version 1 (SMBv1), SMB version 2 (SMBv2), and SMB version 3 (SMBv3) on the SMB client and server components. Applies to: Windows Server 2022, Windows 10, Windows 8.1, Windows 8, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012