HOW TO: Collect Network trace without installing Wireshark on a Windows OS
book
Article ID: CTX214599
calendar_today
Updated On:
Description
HOW TO: Collect Network trace without installing Wireshark on a Windows OS
With Windows Vista and above, Microsoft operating system has the functionality of ETW (Event Tracing for Windows) introduced which helps capture ETL tracing for specific scenarios. These scenarios are listed using the following command:
c:\> netsh trace show scenarios
Instructions
Start the log collection:
- Run the network trace on the VDA via an RDP connection over an elevated CMD prompt.
c:\> netsh trace start capture=yes tracefile=c:\net.etl persistent=yes maxsize=4096
capture =yes (ensures network trace is captured)
persistent =yes (specifies whether the tracing session continues across reboots, and is on until netsh trace stop is issued)
tracefile= %LOCALAPPDATA%\Temp\NetTraces\NetTrace.etl(specifies location of the output file, default is present here)
Stop log collection:
- Logon to the VDA and stop the network trace
c:\> netsh trace stop
Collect the following files:
- C:\net.etl -> It is same as a capture file.
- C:\net.cab -> Contains TXT files with the report and a report.etl which is same as net.etl
Environment
Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.
Issue/Introduction
HOW TO: Collect Network trace without installing Wireshark on a Windows OS
Was this article helpful?
thumb_up
Yes
thumb_down
No