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

使用 Windows 記錄來疑難排解僅在客戶所在地點出現的無線問題

Summary: 本文提供如何擷取事件追蹤記錄 (ETL) 的資訊。其中包含 ETL 和其他檔案,可協助 Dell 疑難排解僅在客戶地點出現的無線問題。

This article applies to   This article does not apply to 

Symptoms

Windows 作業系統有許多記錄,在分析客戶所在地點的無線問題時可能會有説明。特別是在其他網路環境中無法復原這些問題時。

Cause

尋找、建立和匯出記錄

先前測試中已經存在的記錄:

  1. 在您遇到電腦之前,可能已建立具價值的記錄。WLANAutoconfig.log您可以在 Windows Event Viewer 中找到並手動儲存事件檢視器中的檔案 (如果尚未編譯為 CAB 檔案):
    1. 在「事件檢視器」中,移至 「應用程式與服務記錄」。
    2. 前往 Microsoft。
    3. 前往 Windows。
    4. 然後開啟 Wlan-autoconfig 資料夾。
  2. 以下 NETSH 腳本會輸出至 C:\wlogs 資料夾:

WLAN-autoconfig 診斷記錄

您可以在日後測試之前,在「System Under test」(SUT) 上啟用 WLAN-autoconfig 診斷記錄。這可能有助於提供更多詳細的記錄訊息。請使用下列指示。

若要啟用診斷記錄:

  1. 開啟事件檢視器,並導覽至:
    1. 應用程式與服務記錄
    2. 接著 是 Microsoft
    3. 接著 是 Windows
    4. 然後 Wlan-Autoconfig
  2. 以滑鼠右鍵按一下 Wlan-Autoconfig 資料夾。
  3. 然後選 取[View] (檢視)
  4. 顯示分析和偵錯 記錄。
  5. 診斷記錄會顯示在 Autoconfig 資料夾下。
  6. 以滑鼠右鍵按一下 診斷記錄 ,然後選擇:啟用記錄

Resolution

注意:有一個警告。您必須從事件檢視器手動儲存此記錄,才能在測試後與 Dell 共用。它可能不會自動出現在輸出 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

Affected Products

Desktops & All-in-Ones, Laptops
Article Properties
Article Number: 000150790
Article Type: Solution
Last Modified: 21 Aug 2024
Version:  7
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.