An application which calls the ReadFile function on a named pipe server may stop responding when you run the application on a computer that is running Windows Vista, Windows Server 2008, Windows 7 or Windows Server 2008 R2

Article translations Article translations
Article ID: 2029054 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

You have an application that calls the ReadFile function on a named pipe server. You run this application on a computer that is running Windows Vista, Windows Server 2008, Windows 7 or Windows Server 2008 R2. In this situation, the application thread may stop responding on the ReadFile function.

This problem occurs if the named pipe server becomes unavailable. For example, the named pipe server crashes or loses network connectivity.

Note In earlier versions of the Microsoft operating system, the ReadFile call returns error code 64. This means that the network path is no longer available.

CAUSE

In a Windows operating system, Server Message Block (SMB) implement named pipe related exchanges. These exchanges never times out or expires. Earlier versions of the Windows operating system can detect if the named pipe server becomes unavailable.. It does this by periodically sending SMB echo requests to the named pipe server and closes the connection when the named pipe server does not reply to the SMB echo requests. However, the SMB echo feature is not implemented in Windows Vista, in Windows Server 2008, in Windows 7 and in Windows Server 2008 R2. Therefore, the function permanently hangs.

RESOLUTION

Hotfix information

A supported hotfix is 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 the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if 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. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 Service Pack 2 (SP2)
  • Windows 7
  • Windows Server 2008 R2
For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack
For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
968849 How to obtain the latest service pack for Windows Server 2008

Registry information

To use the hotfix in this package, you have to set the following registry key.

Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
  1. Click Start , click Run , type regedit , and then click OK .
  2. Locate and then click the following subkey:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
  3. Right-click Parameters , point to New , and then click DWORD Value .
  4. Type TcpKeepAliveTimeout, and then press ENTER to name the new entry.
  5. Right-click TcpKeepAliveTimeout , and then click Modify .
  6. In the Value data box, type 60, and then click OK .

    This value indicates the time interval (in seconds) to send Keepalives on an idle connection. We recommend that you set this value to 60 seconds. However, you can reduce or increase this time-out value according to your requirement.

    Note Windows Server 2003 client sends SMB echo at an interval of 30 seconds. Therefore, we do not recommend that you to set this value to below 30 seconds as it may increase bandwidth usage.
  7. Exit Registry Editor.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.
Windows Vista and Windows Server 2008 file information notes
Important Windows Vista hotfixes and Windows Server 2008 hotfixes are included in the same packages. However, only "Windows Vista" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows Vista" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.
    Collapse this tableExpand this table
    VersionProductSR_LevelService branch
    6.0.600 2 . 22xxxWindows Vista and Windows Server 2008SP2LDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 and for Windows Vista" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mrxsmb20.sys6.0.6002.2240680,38418-May-201014:41x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mrxsmb20.sys6.0.6002.22406107,52018-May-201015:23x64
For all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mrxsmb20.sys6.0.6002.22406265,72818-May-201015:07IA-64
Windows 7 and Windows Server 2008 R2 file information notes
Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, milestone (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:
    Collapse this tableExpand this table
    VersionProductMilestoneService branch
    6.1.760 0.20xxxWindows 7 and Windows Server 2008 R2RTMLDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mrxsmb20.sys6.1.7600.2088596,76821-Jan-201104:23x86
Mrxsmb.sys6.1.7600.20885123,90421-Jan-201104:23x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mrxsmb20.sys6.1.7600.20885128,00021-Jan-201104:42x64
Mrxsmb.sys6.1.7600.20885158,20821-Jan-201104:42x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Mrxsmb20.sys6.1.7600.20885311,80821-Jan-201103:54IA-64
Mrxsmb.sys6.1.7600.20885368,12821-Jan-201103:54IA-64

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information about the ReadFile function, visit the following Microsoft website:
ReadFile Function
For more information about software update terminology, 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

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameX86_effa0553c07bd92a619c934c6e959be4_31bf3856ad364e35_6.0.6002.22406_none_9668048b51300c79.manifest
File versionNot Applicable
File size701
Date (UTC)19-May-2010
Time (UTC)02:11
PlatformNot Applicable
File nameX86_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.0.6002.22406_none_8d51116ea0045cd8.manifest
File versionNot Applicable
File size6,960
Date (UTC)18-May-2010
Time (UTC)18:45
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
Collapse this tableExpand this table
File nameAmd64_8526913becac664c3bb851e14ae7f7ae_31bf3856ad364e35_6.0.6002.22406_none_361b353bc95ae159.manifest
File versionNot Applicable
File size705
Date (UTC)19-May-2010
Time (UTC)02:11
PlatformNot Applicable
File nameAmd64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.0.6002.22406_none_e96facf25861ce0e.manifest
File versionNot Applicable
File size6,972
Date (UTC)18-May-2010
Time (UTC)21:35
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008
Collapse this tableExpand this table
File nameIa64_5518b0ce7641d9dc62bb347d7e5fec8a_31bf3856ad364e35_6.0.6002.22406_none_2232475a7f2273ec.manifest
File versionNot Applicable
File size703
Date (UTC)19-May-2010
Time (UTC)02:11
PlatformNot Applicable
File nameIa64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.0.6002.22406_none_8d52b564a00265d4.manifest
File versionNot Applicable
File size6,966
Date (UTC)18-May-2010
Time (UTC)22:04
PlatformNot Applicable

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameUpdate.mum
File versionNot Applicable
File size1,881
Date (UTC)22-Jan-2011
Time (UTC)00:03
PlatformNot Applicable
File nameX86_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7600.20885_none_8b3af02204370acd.manifest
File versionNot Applicable
File size4,035
Date (UTC)21-Jan-2011
Time (UTC)07:04
PlatformNot Applicable
File nameX86_microsoft-windows-smbminirdr_31bf3856ad364e35_6.1.7600.20885_none_7ff167bbcb8e98fa.manifest
File versionNot Applicable
File size4,757
Date (UTC)21-Jan-2011
Time (UTC)06:55
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameAmd64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7600.20885_none_e7598ba5bc947c03.manifest
File versionNot Applicable
File size4,039
Date (UTC)21-Jan-2011
Time (UTC)08:01
PlatformNot Applicable
File nameAmd64_microsoft-windows-smbminirdr_31bf3856ad364e35_6.1.7600.20885_none_dc10033f83ec0a30.manifest
File versionNot Applicable
File size4,761
Date (UTC)21-Jan-2011
Time (UTC)07:52
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,115
Date (UTC)22-Jan-2011
Time (UTC)00:03
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameIa64_microsoft-windows-smb20-minirdr_31bf3856ad364e35_6.1.7600.20885_none_8b3c9418043513c9.manifest
File versionNot Applicable
File size4,037
Date (UTC)21-Jan-2011
Time (UTC)08:03
PlatformNot Applicable
File nameIa64_microsoft-windows-smbminirdr_31bf3856ad364e35_6.1.7600.20885_none_7ff30bb1cb8ca1f6.manifest
File versionNot Applicable
File size4,759
Date (UTC)21-Jan-2011
Time (UTC)07:55
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size1,690
Date (UTC)22-Jan-2011
Time (UTC)00:03
PlatformNot Applicable

Properties

Article ID: 2029054 - Last Review: February 10, 2011 - Revision: 2.0
APPLIES TO
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Server 2008 Standard
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 for Itanium-Based Systems
  • Windows Server 2008 R2 Standard
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced KB2029054

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com