大网数据广告活动
网络与域名解析

TCP three-way handshake failure during SMB connection

· 52CE 我爱测

Introduces the TCP three-way handshake failure during SMB connection.

This article describes how to troubleshoot Transmission Control Protocol (TCP) three-way handshake failure during SMB connection.

When you analyze a network trace, you notice that there's a TCP three-way handshake failure that causes the SMB issue to occur.

Generally, the cause is a local or infrastructure firewall that blocks the traffic. This issue can occur in either of the following scenarios.

The TCP SYN packet arrives on the SMB server, but the SMB server doesn't return a TCP SYN-ACK packet

To troubleshoot this scenario, follow these steps:

  1. Run netstat or Get-NetTcpConnection to make sure that there's a listener on TCP port 445 that should be owned by the SYSTEM process.

    netstat -ano | findstr :445
    
    Get-NetTcpConnection -LocalPort 445
    
  2. Make sure that the Server service is started and running.

  3. Take a Windows Filtering Platform (WFP) capture to determine which rule or program is dropping the traffic. To do this, run the following command in a Command Prompt window:

    netsh wfp capture start
    

    Reproduce the issue, and then, run the following command:

    netsh wfp capture stop
    

    Run a scenario trace, and look for WFP drops in SMB traffic (on TCP port 445).

    Optionally, you could remove the anti-virus programs because they aren't always WFP-based.

  4. If Windows Firewall is enabled, enable firewall logging to determine whether it records a drop in traffic.

    Make sure that the appropriate "File and Printer Sharing (SMB-In)" rules are enabled in Windows Firewall with Advanced Security > Inbound Rules.

    [!NOTE] Depending on how your computer is set up, "Windows Firewall" might be called "Windows Defender Firewall."

The TCP SYN packet never arrives at the SMB server

In this scenario, you have to investigate the devices along the network path. You may analyze network traces that are captured on each device to determine which device is blocking the traffic.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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