Disable SMBv1 on Windows using these quick methods

By: Daniel Segun
3 minute read
disable-smbv1-windows

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Recently, the cyber world was hit by Petya and WannaCry ransomware which has generated a lot of security concerns for Windows users. Unfortunately, the vulnerabilities of the Windows Server Message Block (SMB) service helps ransomware to propagate. Due to security reasons, Microsoft recommends that you disable SMBv1 so as not to fall victim of ransomware attacks.

Server Message Block is a network file sharing protocol meant for sharing information, files, printers and other computing resources between computers. There are three versions of the Server Message Block (SMB) which are SMB version 1 (SMBv1), SMB version 2 (SMBv2), and SMB version 3 (SMBv3).

Disable SMBv1 on Windows

SMBv1 is the oldest version of the Server Message Block protocol. Microsoft released official documentation on how to disable SMBv1 as a preventive measure against the WannaCry ransomware. As a result of this, all Windows users are required to install the latest patches released by Microsoft. We will show some ways to disable SMBv1.

Disable SMBv1 using PowerShell

First of all is PowerShell a Windows shell and scripting tool. You can disable SMBv1 on your Windows using PowerShell.

Step 1: Go to the Start menu and type “Windows PowerShell”

disable-smbv1-windows

Step 2: Also, Launch PowerShell window in the administrator mode

disable-smbv1-windows

Step 3: In addition, Type the following command

Set-ItemProperty -Path "HKLM:SYSTEMCurrentControlSetServicesLanmanServerParameters" SMB1 -Type DWORD -Value 0 –Force

disable-smbv1-windows

Step 4: Finally, Hit the “Enter” key to disable SMB1

Disable SMBv1 using Windows features (Windows 7, 8 & 10)

Also, you can disable SMBv1 by turning it off using Windows features.

Step 1: First of all, Search for “Control Panel” in the Start menu and open it.

disable-smbv1-windows

Step 2: Also, In the Control Panel window click on the option “Programs and Features.”

disable-smbv1-windows

Step 3: Also, Click on the link “Turn Windows Features On or Off” that appears on the left panel.

disable-smbv1-windows

Step 4: In the Windows Features window; Scroll down, find the “SMB 1.0/CIFS File Sharing Support” option, uncheck it and click on the “OK” button to save the changes.

disable-smbv1-windows

Step 5: Windows will perform necessary changes and prompts you to restart your system.

disable-smbv1-windows

Step 6: Finally, Click on the “Restart Now” button to effect the changes.

disable-smbv1-windows


For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Disable SMBv1 using Windows registry (Windows 7)

Furthermore, disabling SMBv1 using Windows registry requires editing the Windows registry.

Step 1: Press the Windows button and type “regedit”

Step 2: Also, Press Enter to open Registry Editor and give it permission to make changes to your PC

disable-smbv1-windows

Step 3: In the Registry Editor, use the left sidebar to navigate to the following key:

disable-smbv1-windows

Step 4: In addition, Create a new value inside the Parameters subkey. Right-click the Parameters key and choose New > DWORD (32-bit) Value.

disable-smbv1-windows

Step 5: Also, Name the new value SMB1. The DWORD will be created with a value of “0”, and that’s perfect. “0” means SMBv1 is disabled. You don’t have to edit the value after creating it.

disable-smbv1-windows

Step 6: Hence, You can now close the registry editor. You will also need to restart your PC before the changes take effect. If you ever want to undo your change, return here and delete the SMB1 value.

Disable SMBv1 using Windows registry (Windows 10)

How to disable SMBv1 using Windows registry on Windows 10.

Step 1: In the Start menu, search for regedit and open it.

Step 2: Navigate to the highlighted path.

disable-smbv1-windows

Step 3: In the right panel, right-click and select the option “New” and then “DWORD (32-bit) Value.”

disable-smbv1-windows

Step 4: Name the new value “SMB1” and press Enter.

disable-smbv1-windows

Step 5: Double-click on SMB1, enter “0” in the Value Data field and click on the “Ok” button.

disable-smbv1-windows

Step 6: Restart your system to disable SMBv1.

Note: If you ever want to enable SMBv1 again, change the value data to “1” instead of “0”.

These methods are only applicable to disable SMBv1 on a single PC but not a web server or an entire network. For more information concerning disabling SMBv1 across an entire network or a web server, consult Microsoft official documentation on disabling SMB.

RELATED STORIES TO CHECK OUT:

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on TrustPilot.com.
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).

Discussions

Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809

iamsovy@gmail.com' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading