New AFD connections fail when software that uses TDI drivers is installed on a Windows Server 2008 or Windows Vista SP1 system that is running on a computer that has multiple processors

Article ID: 961775 – Last Review: March 2, 2009 – Revision: 1.0

New AFD connections fail when software that uses TDI drivers is installed on a Windows Server 2008 or Windows Vista SP1 system that is running on a computer that has multiple processors

Hotfix Hotfix Download Available
View and request hotfix downloads

On This Page

SYMPTOMS

When software that uses Transport Driver Interface (TDI) drivers, such as some antivirus software, is installed on a Windows Server 2008 system or on Windows Vista Service Pack 1 (SP1) system, the handle count of the system process keeps increasing. This problem occurs if the Windows Server 2008 system or the Windows Vista Service Pack 1 (SP1) system is running on a computer that has multiple processors. If this issue occurs for some time, the computer begins to run out of system resources. Therefore, any new automatic file distribution (AFD) connection to this computer fails.

Additionally, the following problems may occur if the computer is a domain controller:

  • User authentication fails
  • Sysvol replication fails
  • One of the following Netlogon events occurs:
    • Netlogon event 5775
    • Netlogon event 5792
    • Netlogon event 5792
    • Netlogon event 5719

For example, the following is a sample event when Netlogon event 5775 occurs:

Log Name: System
Source: NETLOGON
Event ID: 5775
Level: Error
Keywords: Classic
Description:
The dynamic deletion of the DNS record ‘<record name>. 600 IN SRV 0 100 389 <computer name>.’ failed on the following DNS server:
DNS server IP address: <IP address>
Returned Response Code (RCODE): 5
Returned Status Code: 10055
USER ACTION
To prevent remote computers from connecting unnecessarily to the domain controller, delete the record manually or troubleshoot the failure to dynamically delete the record. To learn more about debugging DNS, see Help and Support Center.

ADDITIONAL DATA
Error Value: An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full.

CAUSE

This problem occurs because of a race condition in which the Tdx.sys driver does not send a disconnect input/output request packet (IRP) indication to the afd.sys driver. When this occurs, the reference count on the AFD socket is not decremented. Eventually, the AFD connection is orphaned. The process that owns the orphaned AFD connection is also orphaned.

After the issue occurs for some time, all available ports are consumed. Therefore, many orphaned processes appear. When resources become exhausted, the problem occurs that the Symptoms section describes.

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 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 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 (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 have Windows Vista Service Pack 1 or Windows Server 2008 installed on the computer.

Restart requirement

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

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

Registry information

To use this hotfix, you do not have to make any changes to the registry.

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 item in Control Panel.

Windows Vista and Windows Server 2008 file information note

The .manifest files and the .mum files that are installed in each environment are listed separately in the Additional file information for Windows Server 2008 and for Windows Vista section. These files and their associated .cat (security catalog) files are critical to maintaining the state of the updated component. The .cat files are signed with a Microsoft digital signature. The attributes of these security files are not listed.

For all supported x86-based versions of Windows Vista and Windows Server 2008
Collapse this tableExpand this table
File name File version File size Date Time Platform
Tdx.sys 6.0.6001.22374 72,192 11-Feb-2009 03:28 x86
Afd.sys 6.0.6001.22374 273,920 11-Feb-2009 03:29 x86
For all supported x64-based versions of Windows Vista and Windows Server 2008
Collapse this tableExpand this table
File name File version File size Date Time Platform
Tdx.sys 6.0.6001.22374 94,720 11-Feb-2009 03:57 x64
Afd.sys 6.0.6001.22374 408,576 11-Feb-2009 03:58 x64
For all supported Itanium-based versions of Windows Server 2008
Collapse this tableExpand this table
File name File version File size Date Time Platform
Tdx.sys 6.0.6001.22374 228,864 11-Feb-2009 02:52 IA-64
Afd.sys 6.0.6001.22374 985,600 11-Feb-2009 02:54 IA-64

WORKAROUND

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

  • Run the computer in Single Processor mode. To do this, follow these steps:
    1. Open the Msconfig.exe utility.
    2. On the Boot tab, click Advanced Options.
    3. Click to select the Number of Processors check box, and then select 1 in the next box.
    4. Click OK, and then click OK again.
    5. Restart the computer.
  • Uninstall the TDI-based driver according to the instructions from the driver manufacturer.

STATUS

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

MORE INFORMATION

This problem most commonly occurs on domain controllers that are running the Microsoft System Center Operations Manager agent. The agent makes repeated local queries to the local Active Directory network. The queries cause the number of orphaned connections to increase rapidly. Because of this, the domain controller fails after a few days.

Additional file information for Windows Vista and Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and Windows Server 2008

Collapse this tableExpand this table
File name File version File size Date Time Platform
Package_for_kb961775_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,367 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_client~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,431 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,421 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_sc~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,423 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,425 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_server~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,431 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,422 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum Not Applicable 1,429 11-Feb-2009 16:35 Not Applicable
X86_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.0.6001.22374_none_ea7fba96f5686bc2.manifest Not Applicable 4,590 11-Feb-2009 05:55 Not Applicable
X86_microsoft-windows-winsock-core_31bf3856ad364e35_6.0.6001.22374_none_d82a34dd77bfe25b.manifest Not Applicable 30,064 11-Feb-2009 06:02 Not Applicable

Additional files for all supported x64-based versions of Windows Vista and Windows Server 2008

Collapse this tableExpand this table
File name File version File size Date Time Platform
Amd64_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.0.6001.22374_none_469e561aadc5dcf8.manifest Not Applicable 4,854 11-Feb-2009 06:22 Not Applicable
Amd64_microsoft-windows-winsock-core_31bf3856ad364e35_6.0.6001.22374_none_3448d061301d5391.manifest Not Applicable 30,328 11-Feb-2009 06:30 Not Applicable
Package_for_kb961775_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,375 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_client~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,439 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,429 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,431 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,433 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_server~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,439 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,430 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,437 11-Feb-2009 16:35 Not Applicable

Additional files for all supported Itanium-based versions of Windows Server 2008

Collapse this tableExpand this table
File name File version File size Date Time Platform
Ia64_microsoft-windows-tdi-over-tcpip_31bf3856ad364e35_6.0.6001.22374_none_ea815e8cf56674be.manifest Not Applicable 4,849 11-Feb-2009 05:06 Not Applicable
Ia64_microsoft-windows-winsock-core_31bf3856ad364e35_6.0.6001.22374_none_d82bd8d377bdeb57.manifest Not Applicable 30,322 11-Feb-2009 05:11 Not Applicable
Package_for_kb961775_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum Not Applicable 1,425 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum Not Applicable 1,426 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum Not Applicable 1,429 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_server~31bf3856ad364e35~ia64~~6.0.1.0.mum Not Applicable 1,434 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum Not Applicable 1,426 11-Feb-2009 16:35 Not Applicable
Package_for_kb961775_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum Not Applicable 1,433 11-Feb-2009 16:35 Not Applicable

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

824684  (/Feedback.aspx?kbNumber=824684/ ) Description of the standard terminology that is used to describe Microsoft software updates

APPLIES TO
  • Windows Server 2008 Datacenter without Hyper-V
  • Windows Server 2008 Enterprise without Hyper-V
  • Windows Server 2008 Standard without Hyper-V
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
  • 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 Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
Keywords: 
kbexpertiseinter kbautohotfix kbfix kbsurveynew kbqfe kbhotfixserver KB961775

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image