LKBEN10931: Howto deactivate SMB2 on Windows 2008, Vista or Windows 7


This article has not been checked!

LKB | Created: 02/04/2020 | Version: 0 | Language: EN | Rating: 0 | Outdated: False | Marked for deletion: False

Author: Wim Peeters - Keskon GmbH & Co. KG


Symptom

SMB 1.0 is used by Windows XP, 2000 and 2003. SMB 2.0 is used by newer systems.

Cause

This is by design.

Solution

Windows 2008, Vista and Windows 7 use a more recent version of the SMB protocol. During connection, the protocol version is negociated. With some network card there are problems resulting in a slow network. (Broadcom NetExtrem and Intel Pro 1000 network cards are included)
As long as there is no update for this driver, you can disable the SMB2 feature or live with the slower connections till an update is available. e.g. the waiting on the user profile service can take 35 seconds.
To deactivate you create a new REG_DWORD in

HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters

and set it to 0.

After rebooting the system the setting is activated. To disable it you set it to 1. My userlogon time changed from 40 seconds to 5 seconds.

You can use the following and save it as reg file to make it easier:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters]
"SMB2"=dword:00000000


About the Author

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.

Disclaimer:

The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!