如何使用 Windows 記錄對在客戶所在地點發生的無線問題進行故障診斷
Summary: 以下文章提供有關捕獲事件跟蹤日誌 (ETL) 的資訊。其中包含 ETL 和其他檔案,可協助 Dell 針對只有在客戶現場才會出現的無線問題進行故障診斷。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
使用 Windows 的現場記錄進行無線問題故障診斷
Windows 作業系統有許多記錄,在分析客戶所在地點無線問題時可能會有所助益。特別是當這些問題無法在其他網路環境中複製時。
尋找、建立和匯出記錄
先前測試中已經存在的記錄:
- 在第一次接觸電腦之前,它可能已建立有價值的記錄。可使用
WLANAutoconfig.log可以在 Windows 事件檢視器中找到並手動儲存事件檢視器中的檔案 (如果尚未編譯為內閣 (CAB) 檔案):- 在「Event Viewer」中,前往應用程式與服務記錄。
- 前往 Microsoft。
- 前往 Windows。
- 然後開啟
Wlan-autoconfig資料夾。
- 可使用
NETSH以下文稿輸出到C:\wlogs資料夾:
WLAN-autoconfig 診斷紀錄
啟用 WLAN-autoconfig 診斷程式會先登入測試中的系統 (SUT),然後再進行日後測試。這可能有助於提供更多的 verbose 記錄訊息。請使用下列指示。
若要啟用診斷記錄:
- 開啟事件檢視器,然後前往:
- 應用程式與服務記錄
- 然後 Microsoft
- 然後 Windows
- 當時
Wlan-Autoconfig
- 以滑鼠右鍵按一下
Wlan-Autoconfig資料夾。 - 然後選取檢視。
- 顯示分析和除錯記錄。
- 診斷記錄會顯示在「Autoconfig」資料夾下。
- 以滑鼠右鍵按一下診斷記錄,然後選擇:啟用記錄
注意:有一個需要注意的項目。您必須從「Event Viewer」手動儲存此記錄,才能在測試後與 Dell 分享。它可能不會自動在
NETSH 輸出 CAB 資料夾。
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
Affected Products
Alienware, Dell All-in-One, Dell Pro All-in-One, Dell Pro Max Micro, Dell Pro Max Slim, Dell Pro Max Tower, Dell Pro Micro, Dell Pro Slim, Dell Pro Tower, Dell Slim, Dell Tower, Inspiron, Legacy Desktop Models, OptiPlex, Vostro, XPS, G Series
, Chromebook, G Series, Alienware, Dell Laptops, Dell Plus, Dell Pro, Dell Pro Max, Dell Pro Plus, Dell Pro Premium, Inspiron, Latitude, Dell Pro Rugged, Vostro, XPS, Legacy Laptop Models, Fixed Workstations, Mobile Workstations, Dell Pro Max Micro XE FCM2250
...
Article Properties
Article Number: 000150790
Article Type: How To
Last Modified: 30 Jul 2025
Version: 9
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.