How to disable SMBv1 in Windows 10

There has been a lot of publicity over the last few days about the wannacry ransomware which affected, amongst others, the NHS.

Part of the issue was with older operating systems which used something called server message block (SMB) to share files among networked computers.

In March 2017 Microsoft issued an upgrade patch to try and minimise the issue. However SMB is still a feature in modern operating systems like Windows 10.

SMB 1.0/CIFS File Sharing Support – this feature enables the sharing of files and printers with computers running older versions of Windows, ranging from Windows NT 4.0 up to Windows XP and Windows Server 2003 R2. The Server Message Block (SMB) protocol may be used by other operating systems like Linux or OS X to communicate with Windows devices. If you do not have any windows XP, linux or Apple PCs in your network then it is safe to disable this feature.

Two ways to disable SMBv1 in Windows 10?

1)Search for “windows features” and then take the tick out of the box shown below.

Disable SMBv1 in Windows 10

2) Use a power shell command

“ Disable-WindowsOptionalFeature -Online -FeatureName smb1protocol “