How to enable and disable SMB1/SMB2 in Windows 10

Windows Articles

How to install PHP 8 on CentOS 8?

Hello, friends. This post will help you install PHP 8 on CentOS 8. The procedure is quite simple. PHP 8 has seen the light and...

PHP 8.0 available

PHP is one of the easiest open source programming languages to learn. Similarly, PHP is very popular and suitable for website development and can...

How to install PHP 8 on Ubuntu 20.04 / Debian 10?

Hello, friends. In this post, you will learn how to install PHP 8 on Ubuntu 20.04 / Debian 10. This way, you will be...

Learn how to control the volume of Windows using the mouse wheel.

Hi! Windows recently celebrated its 35th anniversary. Therefore, it is one of the longest lasting and most used systems currently. On the other hand,...

Install Nim programming language on Ubuntu 20.04 / Debian 10

Nowadays, almost everything is done with the help of a computer and a program. And the programs are made through a programming language. That...

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 PHP 8 on CentOS 8?

Hello, friends. This post will help you install PHP 8 on CentOS 8. The procedure is quite simple. PHP 8 has seen the light and...

PHP 8.0 available

PHP is one of the easiest open source programming languages to learn. Similarly, PHP is very popular and suitable for website development and can...

How to install PHP 8 on Ubuntu 20.04 / Debian 10?

Hello, friends. In this post, you will learn how to install PHP 8 on Ubuntu 20.04 / Debian 10. This way, you will be...

Learn how to control the volume of Windows using the mouse wheel.

Hi! Windows recently celebrated its 35th anniversary. Therefore, it is one of the longest lasting and most used systems currently. On the other hand,...

Install Nim programming language on Ubuntu 20.04 / Debian 10

Nowadays, almost everything is done with the help of a computer and a program. And the programs are made through a programming language. That...
x