Are you wanting to disable the outdated SMBv1 protocol on a server or a client machine? Here is the fastest way to do so.
How To Disable SMBv1 On A SMB Server
Windows 8 and Windows Server 2012
To disable SMBv1 on the SMB server, run the following cmdlet in PowerShell:
Windows 7, Windows Server 2008 R2, Windows Vista, and Windows Server 2008
To disable SMBv1 on the SMB server, run the following cmdlet in PowerShell 2.0 or later:
Restart the computer.
Windows 8.1, Windows 10, Windows 2012 R2, and Windows Server 2016
To disable SMBv1 on the SMB server, run the following cmdlet in PowerShell:
Remove-WindowsFeature FS-SMB1
Restart the computer.
How To Disable SMBv1 On A SMB Client
Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, and Windows Server 2012
To disable SMBv1 on the SMB client, run the following commands in PowerShell:
sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
sc.exe config mrxsmb10 start= disabled
Restart the computer.
Windows 8.1, Windows 10, Windows 2012 R2, and Windows Server 2016
To disable SMBv1 on the SMB client, run the following cmdlet in PowerShell:
Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol
Restart the computer.
Did this work for you? Please let us know in the comments.