Microsoft KB Archive/291041

= Tsadmin.exe May Hang After Connecting to Multiple Servers =

PSS ID Number: 291041

Article Last Modified on 12/4/2003

-

The information in this article applies to:


 * Microsoft Windows 2000 Server SP1
 * Microsoft Windows 2000 Advanced Server SP1
 * Microsoft Windows 2000 Professional SP1
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q291041



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
When SMB signing is enabled on all of your servers that are running Terminal Services and you are using the Terminal Services Manager utility (Tsadmin.exe) to run administrative tasks on these servers, Tsadmin.exe may stop responding (hang) after it connects to multiple servers. When Tsadmin.exe stops responding, no new connections can be made to other servers, and you may experience problems if you try to connect to remote computers. For example, if you try to connect to a remote share by using the net use command, your computer may stop responding (hang). Note that by default, SMB signing is enabled on all domain controllers.



CAUSE
This problem can occur if the Windows 2000 redirector does not correctly process communication requests when SMB signing is enabled.



RESOLUTION
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to Obtain the Latest Windows 2000 Service Pack

The English version of this fix should have the following file attributes or later:   Date        Time     Version        Size     File name ---  05/30/2001  04:27PM  5.0.2195.3654  369,168  Mrxsmb.sys 05/29/2001 09:32AM  5.0.2195.3649  131,792  Rdbss.sys

NOTE: Install this hotfix on the server that is running Terminal Services in the domain that hosts Terminal Services Manager (Tsadmin.exe).



WORKAROUND
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To work around this problem, use either of the following methods:

Connect to Only Two Servers at a Time
Only connect to two remote servers that are running Terminal Services at a time, and disconnect from those servers before you connect to two more. You can disconnect from the current servers by right-clicking the server and then clicking Disconnect, or by clicking Disconnect form all servers on the Actions menu.

Do Not Use SMB Signing
Disable SMB signing on all of the servers by using Regedt32.exe to disable the enablesecuritysignature values on the servers:  Use Registry Editor (Regedt32.exe) to locate the enablesecuritysignature value under the following key in the registry, and then click this value:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\lanmanserver\parameters

 On the Edit menu, click DWORD, type 0, and then click OK. Quit Registry Editor. Restart the server.</ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 3.

<div class="moreinformation_section">

MORE INFORMATION
To enable SMB signing, set the following registry key value:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

Value name: enablesecuritysignature

Value Type: REG_DWORD

Value Data: 1

This problem can occur when you connect from Tsadmin.exe to more than three servers that are running Terminal Services. Tsadmin.exe has a Connect to All Servers in Domain command to connect to all servers in the domain at the same time. Tsadmin.exe may cause your computer to stop responding if you use this command. Connecting to all servers in the domain does not serve any purpose and users can use Tsadmin.exe to operate with a single server at a time. Because of this, Microsoft does not recommend the use of this command. For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:

249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes

Additional query words: kbTermServ rdr2

Keywords: kbbug kbenv kbfix kbTermServ kbWin2000PreSP3Fix kbWin2000sp3fix KB291041

Technology: kbwin2000AdvServ kbwin2000AdvServSearch kbWin2000AdvServSP1 kbwin2000DataServ kbwin2000DataServSearch kbwin2000Pro kbwin2000ProSearch kbWin2000ProSP1 kbwin2000Search kbwin2000Serv kbwin2000ServSearch kbwin2000ServSP1 kbWinAdvServSearch kbWinDataServSearch

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.