How to enable and disable SMB1/SMB2 in Windows 10

Windows Articles

How to install Screaming Frog SEO Spider on Ubuntu 20.04 / 18.04?

If you are working with blogs and content creation then you should know about SEO. Or in the best case, you have...

How to Configure a Firewall in Ubuntu 20.04 / Debian 10?

There is nothing safe from hackers on the Internet, however, we can implement security measures to be more protected against an attack. With this...

Gnome 3.38 available

Gnome OS is a Linux-based operating system, which has a huge domain in the Linux forums. On September 16, 2020, developers announced...

NVIDIA acquires ARM for $40 billion

Various rumors of an agreement between NVIDIA and SoftBank to acquire Arm. Where NVIDIA announces that they reached an agreement to buy...

How to install CodoForum on Ubuntu 20.04 / Debian 10?

Hi, folks. In this post, I will show you how to install CodoForum in Ubuntu 20.04 /Debian 10. This program is quite useful to...

Hello! Windows 10 is an operating system that integrates various protocols to ensure its use with internal and external processes. Indeed, one of these protocols is Server Message Block, better known as SMB. This is a mechanism that allows network file sharing. In addition, it is integrated by a set of message packages that allow us to define which version of the protocol is to be used. Therefore, it is possible to share files, printers, and data on a local network. SMB is available in versions SMB1 or SMB2. And each one has its own characteristics. Similarly, in Windows 10 Home and Windows 10 Professional editions, SMBv1 is already disabled. Consequently, only in these versions, only SMB2 is offered. So it’s important to know how to enable and disable SMB1/SMB2 in Windows 10.

Main advantages of SMB

This protocol also allows communication between Windows and Linux operating systems. On the other hand, it also has the following advantages:

  • Printing on a local network
  • Extended file attribute management
  • Unicode support
  • File, directory and shared access authentication

Benefits of SMB2

In addition to the features present in its predecessor, this protocol incorporates new functions:

  • Improvements in the use of the network
  • More complete readings and writings
  • MTU Support
  • Oplock customer lease model
  • Soporta versiones anteriores de SMB

How to turn SMB1 on or off in Windows 10 using PowerShell.

First, check if SMB1 is active. With this intention, it opens a PowerShell with administrator privileges. To do this, press the Win+x combination and select the app from the list.

Runs a PowerShell with administrative privileges

Then run this command:

Get-WindowsOptionalFeature –Online –FeatureName SMB1Protocol

To disable SMB1 please run the following:

Disable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

To enable it, just execute the following command. Also, press Y to restart the computer and confirm the changes.

Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol

How to turn SMB2 on or off in Windows 10 using PowerShell.

As with SMB1, this time we will also use PowerShell with administrator privileges. First, check the service status with the following command:

Get-SmbServerConfiguration | Select EnableSMB2Protocol

To disable SMB2 please run:

Set-SmbServerConfiguration -EnableSMB2Protocol $false

Please note that you must confirm the operation:

To activate the protocol, please run it:

Set-SmbServerConfiguration -EnableSMB2Protocol $true

Once again, you must confirm the action:

Ultimately we’ve seen how to enable and disable SMB1/SMB2 in Windows 10. As you can see, it’s a simple process that involves easy handling of PowerShell. In addition, you can manage both protocols independently. Well, that’s it for now. Before I say goodbye, take a look at our ReactOS post. See you soon!

More articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest article

How to install Screaming Frog SEO Spider on Ubuntu 20.04 / 18.04?

If you are working with blogs and content creation then you should know about SEO. Or in the best case, you have...

How to Configure a Firewall in Ubuntu 20.04 / Debian 10?

There is nothing safe from hackers on the Internet, however, we can implement security measures to be more protected against an attack. With this...

Gnome 3.38 available

Gnome OS is a Linux-based operating system, which has a huge domain in the Linux forums. On September 16, 2020, developers announced...

NVIDIA acquires ARM for $40 billion

Various rumors of an agreement between NVIDIA and SoftBank to acquire Arm. Where NVIDIA announces that they reached an agreement to buy...

How to install CodoForum on Ubuntu 20.04 / Debian 10?

Hi, folks. In this post, I will show you how to install CodoForum in Ubuntu 20.04 /Debian 10. This program is quite useful to...
x