域与目录服务

超过 AD 复制和 Netlogon RPC 请求积压工作值时出现的问题 - Windows Server

· 52CE 我爱测

本文介绍如何在 Windows Server 中配置 Active Directory (AD) 复制和 Netlogon 远程过程调用(RPC)请求积压工作值。 遇到以下问题之一: - 传输控制协议(TCP)重置经常发生,但网络跟踪分析不提供根本原因。 - Microsoft Exchange 服务器在向域控制器进行身份验证时间歇性地收到 401 错误。 - Exchange 服务器无法连接到域控制器并报告“服务器不可用”。 - Microsoft Ou

本文介绍如何在 Windows Server 中配置 Active Directory (AD) 复制和 Netlogon 远程过程调用(RPC)请求积压工作值。

遇到以下问题之一:

  • 传输控制协议(TCP)重置经常发生,但网络跟踪分析不提供根本原因。
  • Microsoft Exchange 服务器在向域控制器进行身份验证时间歇性地收到 401 错误。
  • Exchange 服务器无法连接到域控制器并报告“服务器不可用”。
  • Microsoft Outlook 在向域控制器进行身份验证时反复提示输入用户凭据。
  • 登录时收到以下错误消息:

“此工作站与主域之间的信任关系失败。

你可能还会在 Windows Server 中看到以下事件:

  • 事件 ID 3210

    Event Log: System
    Event Type: Error
    Event Source: Netlogon
    Event ID: 3210
    Event Text: 
    This computer could not authenticate with [file://%3cDomain]\\<Domain Controller Name>.<Domain Name>, a Windows domain controller for domain <Domain Name>, and therefore this computer might deny logon requests.
    
    This inability to authenticate might be caused by another computer on the same network using the same name or the password for this computer account is not recognized. If this message appears again, contact your system administrator.
    
  • 事件 ID 5719

    Event Log: System
    Event Type: Error
    Event Source: Netlogon
    Event ID: 5719
    Event Text:
    This computer was not able to set up a secure session with a domain controller in domain <Domain Name> due to the following:
    
    The remote procedure call failed and did not execute.
    
    This may lead to authentication problems. Make sure that this computer is connected to the network. If the problem persists, please contact your domain administrator.
    
  • 事件 ID 7

    Event Log: System
    Event Type: Error
    Event Source: Microsoft-Windows-Security-Kerberos
    Event ID: 7
    Event Text:
    The digitally signed Privilege Attribute Certificate (PAC) that contains the authorization information for client <Hostname>$ in realm <Domain Name> could not be validated.
    

安装 Windows 预览版更新 2022 年 6 月后的事件

Windows Server 2019 2022 年 6 月 23 日 — KB5014669 (OS 内部版本 17763.3113) 预览 更新和 Windows Server 2022 年 6 月 23 日 - KB5014665 (OS 内部版本 20348.803) 预览 版更新报告问题并调整 RPC 请求积压工作的设置。 安装这些更新后,可能会收到以下事件。

  • Netlogon 服务使用给定的 RPC 积压工作大小成功启动。

    Event Log: System
    Event Type: Info
    Event Source: Netlogon
    Event ID: 5836
    Event Text:
    The Netlogon service was able to bind to a TCP/IP port with the configured backlog size of <Configured Backlog Size>
    
  • Netlogon 服务相关的积压工作大小失败。

    Event Log: System
    Event Type: Warning
    Event Source: Netlogon
    Event ID: 5837
    Event Text:
    The Netlogon service tried to bind to a TCP/IP port with the configured backlog size of <Configured RPC Backlog Size> but failed.
    
    More information can be found in the following log file '%SystemRoot%\debug\netlogon.log' and, potentially, in the log file '%SystemRoot%\debug\netlogon.bak' created if the former log becomes full. For steps in enabling the log, please visit https://go.microsoft.com/fwlink/?linkid=2163327.
    
  • Active Directory 复制相关的积压工作限制失败。

    Event Log: Active Directory Domain Services
    Event Type: Warning
    Event Source: ActiveDirectory_DomainService
    Event ID: 3042
    Event Text:
    Active Directory Domain Services could not configure the TCP port with the backlog limit as specified in registry.
    
    Additional Data
    
    TCP Port:
    
    <Configured Port>
    
    Configured backlog limit:
    
    <Backlog Limit Configured on Port>
    
    Registry backlog limit:
    
    <Backlog Limit Specified in Registry>
    
    User Action:
    
    Make sure the same TCP port is not being used by other services such as Netlogon and the Active Directory Domain Controller has been rebooted after configuring the backlog limit value in registry.
    

超出积压工作限制值

为 AD 复制注册的传输控制协议/Internet 协议(TCP/IP)端口和 Netlogon 服务的 RPC 配置了积压工作限制值。 默认值为 10。 此值表示可在已注册的 TCP/IP 端口上排队的最大请求数。 超过积压工作限制值后,TCP SYN 数据包将立即由服务器上的 RPC 层重置。 此行为会影响系统上的身份验证。

增加 DRSUAPI 和 Netlogon 的 RPC 积压工作限制值

重要

本部分包含修改注册表的说明。 如果注册表修改不正确,则可能会出现严重问题。 作为预防措施,在修改注册表之前备份注册表。 有关如何备份、还原和修改注册表的详细信息,请参阅如何在 Windows 中备份和还原注册表。

可以使用注册表编辑器来增加 DRSUAPI 和 Netlogon 服务的 RPC 积压工作限制值,如下所示:

注意

建议管理员在注册表项中配置正确的值。 Windows 服务器上的大值可能会导致大量非分页池内存使用率。 管理员应平衡内存占用与可伸缩性要求。

  • DRSUAPI 的注册表项

    注册表项:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters 注册表值: TCP/IP 积压工作限制 值类型:REG_DWORD 值数据:介于 10 和 100 之间的任何值

    重启系统,使设置生效。

  • Netlogon 的注册表项

    注册表项:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Netlogon\Parameters 注册表值: DcTcpipBacklogLimit 值类型:REG_DWORD 值数据:介于 10 和 100 之间的任何值

    重启 Netlogon 服务,使设置生效。 可能还需要重启域控制器。

资料来源与适用范围

资料来源
微软官方中文故障文档
适用范围
按正文的 Windows / Windows Server 适用版本;保留原文兼容性要求
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-10-26
授权说明
CC BY 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。