Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

使用 Windows 日志对仅在客户位置看到的无线问题进行故障排除

Summary: 本文提供有关捕获事件跟踪日志 (ETL) 的信息。它包括 ETL 和其他文件,可帮助戴尔对仅在客户站点看到的无线问题进行故障排除。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

Windows 操作系统有许多日志,在客户位置分析无线问题时,这些日志会有益。特别是当这些问题无法在其他网络环境中复制时。

Cause

查找、创建和导出日志

先前测试中已存在的日志:

  1. 在遇到计算机之前,可能已创建了有价值的日志。WLANAutoconfig.log可以在 Windows 事件查看器中手动找到并保存事件查看器中的文件(如果尚未编译到 CAB 文件中):
    1. 在事件查看器中,转至 应用程序和服务日志 。
    2. 转到 Microsoft。
    3. 转至 Windows 。
    4. 然后打开 Wlan-autoconfig 文件夹。
  2. 以下 NETSH 脚本输出到 C:\wlogs 文件夹:

WLAN-autoconfig 诊断日志记录

您可以在将来测试之前在正在测试的系统 (SUT) 上启用 WLAN-autoconfig 诊断日志。这可能有助于一些更详细的日志消息。请使用以下说明。

要启用诊断日志:

  1. 打开事件查看器,然后导航至:
    1. 应用程序和服务日志
    2. 然后是 Microsoft
    3. 然后 选择Windows
    4. 然后 Wlan-Autoconfig
  2. 右键单击 Wlan-Autoconfig 文件夹。
  3. 然后选择 “View”。
  4. 显示分析和调试 日志。
  5. 诊断日志将显示在 Autoconfig 文件夹下。
  6. 右键单击 诊断日志 并选择:启用日志

Resolution

提醒:有一个注意事项。此日志必须从事件查看器中手动保存,以便在测试后与戴尔共享。它可能不是自动位于输出 cab 文件夹中 NETSH

Netsh 脚本文本供参考:(复制下面的文本并粘贴到记事本中并将文件另存为 ETL.BAT

@echo off

rem PASTE THIS SCRIPT INTO NOTEPAD AND SAVE AS A .BAT FILE. RT CLICK THE FILE AND RUN AS ADMINISTRATOR.

rem DO NOT CREATE DIRECTORY IF IT ALREADY EXISTS
if exist c:\wlogs goto SKIPMKDIR
mkdir c:\wlogs
:SKIPMKDIR

rem BEGIN TRACE
netsh ras set tracing * enable

rem BUNDY, I WOULD LIKE TO DYNAMICALLY GENERATE THE FILENAME wlan001.etl TO AVOID WRITING OVER PREVIOUS LOGS
SET file1=1
IF EXIST c:\wlogs\wlan%file1%.etl GOTO nextlog
netsh trace start scenario=wlan tracefile=c:\wlogs\wlan1.etl capture=yes persistent=yes maxsize=250 report=yes
filemode=append
GOTO filedone
:nextlog
SET /A "file1+=1" IF EXIST c:\wlogs\wlan%file1%.etl GOTO nextlog
netsh trace start scenario=wlan tracefile=c:\wlogs\wlan%file1%.etl capture=yes persistent=yes maxsize=250 report=yes
filemode=append

:filedone
rem DISPLAY PROMPT TO PRESS ANY KEY TO STOP THE CAPTURE
set /p =Press any key to stop the capture. < nul
pause > nul

rem STOP TRACE
netsh trace stop

rem DISPLAY RESULTS AND PROMPT TO HIT ANY KEY BEFORE ENDING
pause

Article Properties


Affected Product

Desktops & All-in-Ones, Laptops

Last Published Date

10 Oct 2023

Version

5

Article Type

Solution