共用方式為


行動寬頻收集記錄

請遵循下列步驟來收集與 Windows 桌面裝置上行動寬頻相關的記錄:

*  Open an Administrator Command Prompt window
*  Run the below command to start tracing
    *  netsh trace start wireless_dbg,provisioning overwrite=yes maxSize=999 level=5
*  <Repro the scenario for which you need to collect logs>
*  Run the below command to stop tracing
    *  netsh trace stop

上述步驟會產生兩個檔案:

  1. NetTrace.etl - 包含執行過程的追蹤
  2. NetTrace.cab - 包含對偵錯有用的系統的其他詳細資料

在重啟過程中收集日誌

如果重現情境包含重新開機,請如下面所示更新啟動追蹤指令:

*  netsh trace start wireless_dbg,provisioning overwrite=yes persist=yes level=5

請注意,PII 將擷取在使用上述方法收集的日誌中。

解碼日誌

執行下列其中一個指令,將 .etl 檔案轉換為可用於分析的 .txt 檔案:

* tracefmt<ETL file location>
or
* netsh trace convert <ETL file location>