How to disable SMBv1One of the advices to defend itself against WannaCry and other malware that could exploit the same vulnerabilities is to disable SMBv1, the old version of the Server Message Block Version 1 protocol used to share files from Windows machines.

How to disable SMBv1 on Windows Server 2012 R2 and Windows Server 2016


  1. Open the Server Manger, select Management at the top right
  2. Open Remove roles and features
  3. Select the server and navigate to the Features tab
  4. Deselect SMB 1.0 / CIFS File Sharing Support
  5. Press forward and restart the server.

Come disabilitare SMBv1BY POWERSHELL

  1. Open PowerShell PowerShell Icon(you can also find it with Start -> Run -> powershell )
  2. TypeRemove-WindowsFeature FS-SMB1and press Enter.

How to disable SMBv1 on Windows 8.1 and Windows 10


Open Programs and Features by typing in the Start Control Panel menu
In the left links, press Activate or deactivate Windows features and press OK on the User Account Control window
Look for and remove SMB 1.0 / CIFS file sharing support , press OK and restart the system.

How to disable SMBv1 on Windows 8.1 and Windows 10BY POWERSHELL

  1. Open PowerShell with Administrator Rights PowerShell Iconby typing powershell in the Start menu -> right click -> Run as Administrator
  2. TypeDisable-WindowsOptionalFeature -Online -FeatureName smb1protocoland press Enter

How to disable SMBv1 on Windows 7How to disable SMBv1 on Windows 7

  1. Open Command Prompts with Administrator Rights (Start -> Type cmd -> Right Click -> Run as Administrator
  2. Type the following commands and press Enter: sc.exe config lanmanworkstation depend= bowser/mrxsmb20/nsi
    sc.exe config mrxsmb10 start= disabled

How to disable SMBv1 on Windows 7