How to check the SMB version

I have NAS in my home network. It provides some shared folders. I mapped the drive with this kind of shared folders.

It depends on the SMB service to connecting them.

Wikipedia has a page for SMB or Server Message Block.

The SMB protocol was designed to allow computers to read and write files to a remote host over a local area network (LAN). The directories on the remote hosts made available via SMB are called “shares.”

It is simple. Most of the computers are Windows 10 at my house. Except the NAS is Debian based. And other servers are Ubuntu-based.

SMB has three main versions, SMB1, SMB2, and SMB3.  Both the server and client PC share the same version of the SMB. Then they will decide which one to use.

SMB3 will be used only when server and PC are both support it.

Here I just to to make the note of how to check the SMB version in the share connection.

Run Windows 10 PowerShell with Administrator account. Enter the command Get-SmbConnection

The dialect is the version I received. It said the connection is SMB3.0.

 

Make sure it is SMB3.0. It is much faster than SMB1 or SMB2. And also it is more secure.