To view your traces, launch NetMon.exe, select the File/Open/Capture menu and open the wpd_trace.etl file collected above. If you used the contents of the sample command file, your traces will be stored in the file wpd_trace.etl. Logman update -ets WPD -p Microsoft-Windows-Kernel-IoTrace 0 2Įcho Please run your scenario now Stop loggingĪfter you create the command file, run it on your Windows 8 machine from an elevated command session. Logman update -ets WPD -p Microsoft-Windows-USB-USBHUB -bs 100 -nb 128 640 Logman update -ets WPD -p Microsoft-Windows-USB-USBPORT -bs 100 -nb 128 640 Logman update -ets WPD -p Microsoft-Windows-WPD-MTPBT -bs 100 -nb 128 640 Logman update -ets WPD -p Microsoft-Windows-WPD-MTPIP -bs 100 -nb 128 640 Logman update -ets WPD -p Microsoft-Windows-WPD-MTPUS -bs 100 -nb 128 640 Logman update -ets WPD -p Microsoft-Windows-WPD-MTPClassDriver -bs 100 -nb 128 640 Logman start -ets WPD -p Microsoft-Windows-WPD-API -bs 100 -nb 128 640 -o wpd_trace.etl
echo UNCOMMENT THE LOGMAN COMMANDS FOR THE FOLLOWING PROVIDERS AS Microsoft-Windows-WPD-API To log API Microsoft-Windows-WPD-MTPClassDriver To log MTP command, response and Microsoft-Windows-WPD-MTPUS To log USB traffic at WpdMtpUS Microsoft-Windows-WPD-MTPIP To log IP traffic at WpdMtpIP Microsoft-Windows-WPD-MTPBT To log BT traffic at WpdMtpBt Microsoft-Windows-USB-USBPORT To log USB core layer Microsoft-Windows-USB-USBHUB To log USB core layer Start Logging Copy the following to a text file and save it with the. To generate traces, you'll need to create a command script. To begin collecting traces, follow the instructions in the next section, Collecting Traces. Select Open, followed by OK.Īfter you complete these steps, NetMon.exe is ready to examine WPD trace files.
Starting in Windows 8, the tool replaced WpdMon.exe. The Network Monitor tool ( NetMon.exe) is an archived Windows-based application that you can use to view traces from WPD components.