Microsoft KB Archive/836040

= Disconnected SMB Service dial-up connections do not time out in Windows 2000 Server or in Windows Server 2003 =

Article ID: 836040

Article Last Modified on 11/4/2007

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows 2000 Server

-



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
Closed dial-up connections to the SMB Service do not time out in less than two minutes on a computer that is running Microsoft Windows 2000 or Microsoft Windows Server 2003. These connections remain active for an indeterminate period of time. Sometimes, you have to restart the server or use the net session command to clear these connections.



CAUSE
This problem occurs because the TCP keep-alive time for connections to the SMB Service is two minutes, and this is not sufficient time for the auto-disconnect setting of the dialup session.



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows Server 2003 Service Pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
No prerequisites are required.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.

Windows Server 2003, x86-based versions
  Date         Time   Version            Size    File name --  23-Jun-2004  06:39  5.2.3790.186      355,328  Srv.sys   x86

Windows Server 2003, Itanium-based versions
  Date         Time   Version            Size    File name --  23-Jun-2004  17:46  5.2.3790.186      992,256  Srv.sys   IA-64

Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
To apply this hotfix, you must have Windows 2000 Service Pack 3(SP3) installed.

Restart Requirement
You must restart your computer after you apply this hotfix.

Hotfix Replacement Information
This hotfix does not replace any other hotfixes.

File Information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version            Size    File name --  13-May-2004  15:26  5.0.2195.6927     238,640  Srv.sys 13-May-2004 16:38  5.0.2195.6927      76,048  Srvsvc.dll

Registry key activation
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 control how long to retain a disconnected dial-up session, change the value of the KeepAliveTime registry entry. If you set the KeepAliveTime value data to 0, any disconnected sessions immediately end. If the KeepAliveTime entry is not present, the keep-alive time for a disconnected session is 2 minutes.

To add the KeepAliveTime registry entry and to set the value data to 0, follow these steps:  Click Start, click Run, type regedit, and then click OK. Locate and then click the following subkey in the registry:

 On the Edit menu, point to New, and then click DWORD Value. Type KeepAliveTime, and then press ENTER. On the Edit menu, click Modify.</li> Type 0, and then click OK.</li> Exit Registry Editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional query words: Win2k win2000

Keywords: kbhotfixserver kbbug kbfix kbqfe kbwin2000presp5fix KB836040

-

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

© Microsoft Corporation. All rights reserved.