SMB which stands for “Server Message Block”, is a protocol used for file sharing. It provides the Read and Writes operating on network devices. Thus, it is why it is widely used when accessing a server-based in Linux. Its latest version is the SMB2 which follows after SMB1. The SMB2 contains more fixes to vulnerabilities that were found in SMB1. The predecessor was vulnerable since it served as a gateway to various modern ransomware which is why Microsoft disabled it by default starting with Windows 10 v1709.
When you try to share a file, you will get the following error message:
“Microsoft Windows Network: You can’t connect to the file share because it is not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack. Your system requires SMB2 or higher.”
In this post, you will be guided on how to check if the SMB2.0 version can be installed on your Windows 10 computer. To get started, follow the steps below.
Step 1: Tap the Win + X keys to open the Device Manager.
Step 2: After that, click on the Windows PowerShell (Admin) option.
Step 3: In the Windows PowerShell window, type the following command and hit Enter:
Get-SmbServerConfiguration | Select EnableSMB2Protocol
Note: After entering the command, you will see the following content on your screen which means that your Windows 10 computer is now capable of running the SMB2 protocol
Now all that’s left for you to do is to enable the SMB 2 protocol on your Windows computer by enabling the SMB 1 protocol first and then upgrading it to SMB 2 afterward. Refer to the steps below for more details.
Step 1: Tap the Win + I keys to open the Settings app.
Step 2: Then type in “control panel” in the search area and click on Control Panel from the search results.
Step 3: After opening Control Panel, click on Programs. From there, select the “Turn Windows features on or off” option under the larger menu of Programs and Features.
Step 4: After that, Windows Features will appear on your screen. And from there, make sure that you select SMB 1.0/CIFS File Sharing Support and then click on OK.
Step 5: Now let it install all the required files and then restart your computer to apply the changes made successfully. After your computer has restarted, the SMB 2 protocol should now be supported on your Windows 10 computer.
Note: On the other hand, you can also enter the following command in the Windows PowerShell window. Just make sure you have admin rights to enable it.
Set-SmbServerConfiguration –EnableSMB2Protocol $true