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

Troubleshooting Internet Connections

· 52CE 我爱测

In this scenario, a user is attempting to browse to www.msn.com using the https protocol, but is unable to connect. You can use Netsh and Network Monitor to collect and view traces in order to help determine why the connection failed.

In this scenario, a user is attempting to browse to www.msn.com using the https protocol, but is unable to connect. You can use Netsh and Network Monitor to collect and view traces in order to help determine why the connection failed.

First, you can use netsh to start a trace. Typing netsh trace start scenario = InternetClient tracefile=msn.etl starts tracing for all of the providers enabled under the InternetClient scenario, saving the results to a file named msn.etl. After using a web browser to attempt to reach www.msn.com, typing netsh trace stop terminates and correlates the trace file.

You can then open the msn.etl file in Network Monitor. The events are grouped by activity ID in the left pane. Using the filter description.contains("msn") will show only those events which include the string "msn" in their protocol description.

troubleshooting internet connections using network monitor (1)

Next, you can review the events in the frame summary to identify an event which looks relevant. After you select the event, right-click and point to Find Conversations, then click UTEvent to select the conversation at the UTEvent level.

troubleshooting internet connections using network monitor (2)

The associated normalized activity in the left pane is then highlighted, in this case UTEvent ActivityID 397.

troubleshooting internet connections using network monitor (3)

By using Network Monitor to view and filter the trace information, the number of events to examine has been reduced from 1989 to 96.

Source: Microsoft Learn / Windows Win32 documentation 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 / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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