How to Disable SMBv1 and Protect Your Windows PC From Attack

Last Updated: Mar 3, 2024 by

In today’s digital age, cyber attacks are becoming increasingly common and sophisticated. One of the most common methods used by hackers is through exploiting vulnerabilities in the SMBv1 protocol. SMBv1, or Server Message Block version 1, is a network file sharing protocol used by Windows operating systems. However, this protocol has been found to have serious security risks, making it important for users to disable it and protect their Windows PC from attack.

What are the security risks of SMBv1?

SMBv1 has been found to have several security vulnerabilities that can be exploited by hackers. One of the most notable is the WannaCry ransomware attack in 2017, which affected over 200,000 computers in 150 countries. This attack used a vulnerability in SMBv1 to spread and encrypt files, demanding a ransom for their release. Other security risks of SMBv1 include remote code execution, denial of service attacks, and man-in-the-middle attacks.

How to disable SMBv1 on Windows

Disabling SMBv1 on your Windows PC is a simple process that can greatly improve your security. Here’s how to do it:

  1. Open the Control Panel and go to “Programs and Features.”
  2. Click on “Turn Windows features on or off” on the left side of the window.
  3. Scroll down and uncheck the box next to “SMB 1.0/CIFS File Sharing Support.”
  4. Click “OK” and restart your computer.

Alternative method for disabling SMBv1

If you are using Windows 10, you can also disable SMBv1 through the PowerShell command line. Here’s how:

  1. Open the PowerShell as an administrator.
  2. Type in the following command: “Set-SmbServerConfiguration -EnableSMB1Protocol $false”
  3. Press Enter and restart your computer.

How to check if SMBv1 is disabled

To ensure that SMBv1 is disabled on your Windows PC, you can use the following steps:

  1. Open the Control Panel and go to “Programs and Features.”
  2. Click on “Turn Windows features on or off” on the left side of the window.
  3. Scroll down and make sure the box next to “SMB 1.0/CIFS File Sharing Support” is unchecked.
  4. If it is still checked, repeat the steps to disable it.

Benefits of disabling SMBv1

Disabling SMBv1 not only protects your Windows PC from potential attacks, but it also has other benefits. It can improve network performance, as newer versions of SMB are faster and more efficient. It also reduces the risk of file corruption and improves compatibility with other devices and operating systems.


In conclusion, disabling SMBv1 is a crucial step in protecting your Windows PC from potential cyber attacks. By following the simple steps outlined in this article, you can greatly improve your security and reduce the risk of falling victim to a ransomware attack or other malicious activities. Stay safe and keep your Windows PC up to date by disabling SMBv1 today.

Have you disabled SMBv1 on your Windows PC? Let us know in the comments.

Gulrukh Ch

About the Author: Gulrukh Ch

Gulrukh Chaudhary, an accomplished digital marketer and technology writer with a passion for exploring the frontiers of innovation. Armed with a Master's degree in Information Technology, Gulrukh seamlessly blends her technical prowess with her creative flair, resulting in captivating insights into the world of emerging technologies. Discover more about her on her LinkedIn profile.