When you use a UNC name to access a file over an SMB connection on a Windows 2000-based computer, the SMB connection is closed as soon as you close the file (903237)



The information in this article applies to:

  • Microsoft Windows 2000 Professional
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows 2000 Server

Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry

SYMPTOMS

Consider the following scenario. On a Microsoft Windows 2000-based computer, you use a Universal Naming Convention (UNC) name to access a file over a Server Message Block (SMB) connection. However, as soon as you close the file, the SMB connection is also closed. You expect SMB connections to remain open for more than 10 minutes after they become idle.

CAUSE

By default in Windows 2000, idle connections are closed immediately.

Note To modify this default behavior, install the hotfix that is described in the "Resolution" section. Then, follow the steps at the bottom of the "Resolution" section.

RESOLUTION

Hotfix information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site: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

The Windows 2000-based computer must have Windows 2000 Service Pack 4 (SP4) installed. For more 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

Restart requirement

You must restart the computer after you apply the hotfix because you modify a core component.

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 file attributes) 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
   ------------------------------------------------------
   19-Jul-2005  05:42  5.0.2195.7061  413,200  Mrxsmb.sys
   19-Jul-2005  05:42  5.0.2195.7061  170,800  Rdbss.sys
   19-Jul-2005  06:13  5.0.2195.7061   98,064  Wkssvc.dll
After you apply this hotfix, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\parameters

  3. Right-click the right pane, and then click DWORD value.
  4. Change the name of the "New Value #1" element to KeepConn.
  5. Double-click KeepConn, and then type the value that you want in the Value data box. You can set the Value data setting to a value from 1 to 65535. If you use the maximum value, the connection remains dormant.
Note This hotfix does not change the default behavior by which idle connections are closed immediately. Instead, this hotfix enables the functionality of the KeepConn registry entry so that you can modify this behavior as required.

MORE INFORMATION

For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:

265173 The Datacenter program and Windows 2000 Datacenter Server product

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

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


Modification Type:MinorLast Reviewed:7/26/2006
Keywords:kbWin2000preSP4Fix kbfix kbbug kbHotfixServer kbQFE kbpubtypekc KB903237 kbAudDeveloper kbAudITPRO