Windows 作業系統有許多記錄,在分析客戶所在地點的無線問題時可能會有説明。特別是在其他網路環境中無法復原這些問題時。
先前測試中已經存在的記錄:
WLANAutoconfig.log
您可以在 Windows Event Viewer 中找到並手動儲存事件檢視器中的檔案 (如果尚未編譯為 CAB 檔案):
Wlan-autoconfig
資料夾。NETSH
腳本會輸出至 C:\wlogs 資料夾:WLAN-autoconfig
診斷記錄
您可以在日後測試之前,在「System Under test」(SUT) 上啟用 WLAN-autoconfig
診斷記錄。這可能有助於提供更多詳細的記錄訊息。請使用下列指示。
若要啟用診斷記錄:
Wlan-Autoconfig
Wlan-Autoconfig
資料夾。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