How to enable / disable SMB 1.0 on Windows 7?
To prevent ransomware, it’s best to disable SMBv1 (‘WannaCry’ uses a SMBv1 exploit, for instance).
However, if you use older network drives (in my case WD MyBookWorld), they might become unreachable without SMBv1 (which happened to me…)
This applies to: Windows Vista, Windows Server 2008, Windows 7, Windows Server 2008 R2, Windows 8, and Windows Server 2012
Note: When you enable or disable SMBv2 in Windows 8 or in Windows Server 2012, SMBv3 is also enabled or disabled. This behavior occurs because these protocols share the same stack.
To disable SMBv1 on the SMB client, run the following commands (in the elevated command prompt):
sc.exe config lanmanworkstation depend=bowser/mrxsmb20/nsi
sc.exe config mrxsmb10 start=disabled
To enable SMBv1 on the SMB client, run the following commands:
sc.exe config lanmanworkstation depend=bowser/mrxsmb10/mrxsmb20/nsi
sc.exe config mrxsmb10 start=auto
Resource:
https://support.microsoft.com/en-gb/help/2696547/how-to-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and-windows-server