How to use built-in netsh feature to perform packet capture in Windows Server

How to use built-in netsh feature to perform packet capture in Windows Server

126
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:08 PM


Environment


N/A;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Central Policy Manager (CPM);Vault Server;Privileged Session Management (PSM)

Procedure


  1. Download the open-source tool 'etl2pcapng.exe' from the link https://github.com/microsoft/etl2pcapng/releases
  2. Enter the command 'netsh trace start capture=yes report=disabled' on the component server or the target server (If it is Windows OS)
  3. Reproduce the issue
  4. Enter the command 'netsh trace stop' to stop the network trace/packet capture
  5. Copy the NetTrace.etl output file from the location mentioned in the CMD command prompt
  6. Put both theĀ 'etl2pcapng.exe' and the .etl network trace file into the same folder
  7. Use the command 'etl2pcapng.exe NetTrace.etl NetTrace.pcapng' to convert the .etl file into Wireshark readable format
  8. Use the Wireshark tool to open the converted packet capture file to proceed with further troubleshooting


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001SThCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail