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