Welcome to the Alteryx Knowledge Base

How to capture a trace using Windows netsh
user

Created/Edited - 6/26/2026 by Loredana Dinu | Alteryx

Environment
Alteryx Designer or Server
Prerequisites
  • Windows Server
  • CMD Administrator Rights
Procedure

Note: Windows netsh does not capture loopback traffic, so traffic to localhost will not be shown. Proxied traffic that is supposed to go to localhost should be captured, but this trace may not capture as much information as a Wireshark trace. See How to Collect Wireshark Traces to capture a more detailed trace.
 

  1. Open your browser and clear the cache, do not go to gallery yet.
  2. Open CMD and type the below but change the path in the tracefile= "insert new location and rename if you wish to do so"
netsh trace start tracefile="C:\trace\classic.etl" scenario=internetclient capture=yes maxsize=200 filemode=circular overwrite=yes

        3. Go to the browser and enter the gallery link, replicate the normal steps that show up the error.
        4. After the above steps, go back to the CMD and type the below:

netsh trace stop

         5. The files can be send to be converted by support by following the below steps.

 

Procedure for Conversion

  1. Download the most recent etl2pcapng.exe for conversion from the following Github:  https://github.com/microsoft/etl2pcapng/releases
   2. Copy the .exe in a new folder that you choose.

 


3. Copy the trace obtained in the previous step inside the same folder.

 


4. Open CMD administrator and change path to the etl2pcap location by using the command:
 

cd C:\location

5. Once you are in the etl2pcap folder type the below command:
 

etl2pcapng.exe classic.etl FileName.pcapng


6. Open the .pcapng file generated in the same directory with Wireshark for analysis.
 

Was this article helpful?