The Server Message Protocol (SMB) is the file sharing protocol used by default on Windows-based computers. Although file sharing and network protocols are primarily supported by our Networking team, it is important to understand how SMB works given its importance to network activities. SMB 2.0 was introduced in Windows Vista and Windows Server 2008. SMB 1.0 was designed for early Windows network operating systems such as Microsoft LAN Manager and Windows for Workgroups. SMB 2.0 is designed for the needs of the next generation of file servers. Both Windows Server 2008 and Windows Vista support SMB 1.0 and SMB 2.0.
There are several enhancements in SMB 2.0, including:
The version of SMB used for file sharing is determined during the SMB session negotiation. If both the client and server support SMB 2.0, then SMB 2.0 is selected during the initial negotiation. Otherwise SMB 1.0 preserving backwards compatibility. The table below shows the version of SMB that will be used in different client / server scenarios:
|Windows Server 2008 / Vista||Windows Server 2008 / Vista||SMB 2.0|
|Windows Server 2008 / Vista||Windows 2000, XP, 2003||SMB 1.0|
|Windows 2000, XP, 2003||Windows Server 2008 / Vista||SMB 1.0|
|Windows 2000, XP, 2003||Windows 2000, XP, 2003||SMB 1.0|
Both SMB 1.0 and 2.0 are enabled by default on Windows Vista and Windows Server 2008. In some testing and troubleshooting scenarios it may be necessary to disable either SMB 1.0 or SMB 2.0. However, it should be noted that this is not a recommended practice. To disable SMB 1.0 for Windows Vista or Windows Server 2008 systems that are the “client” systems (accessing the network resources), run the following commands:
To disable SMB 1.0 on a Windows Vista or Windows Server 2008 system that is acting as the “server” system (hosting the network resources), a registry modification is required. Navigate to the HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters key. If there is no REG_DWORD value named Smb1 , you will need to create it. This value does not exist by default. Once the value is created, set the value to 0 to disable SMB 1.0 or 1 to enable SMB 1.0.
Finally, to disable SMB 2.0 on Windows Vista or Windows Server 2008 systems that are acting as the “server”, navigate to the registry key listed above. Instead of creating the Smb1 REG_DWORD value, you would create a REG_DWORD value called Smb2 . Set the value to 0 to disable SMB 2.0 and 1 to enable SMB 2.0.
And with that, we have reached the end of our Two Minute Drill on SMB 2.0. Until next time …
|Share this post :|
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.