How to install Netmon and USB ETW Parsers

This topic provides installation information about Netmon and the USB ETW parsers.

You can view USB ETW event traces using Microsoft Network Monitor, also referred to as Netmon. Netmon does not parse the trace automatically. It requires USB ETW parsers. USB ETW parsers are text files, written in Network Monitor Parser Language (NPL), that describe the structure of USB ETW event traces. The parsers also define USB-specific columns and filters. These parsers make Netmon the best tool for analyzing USB ETW traces.

Install Netmon from the Microsoft Download Center, and then install USB ETW parsers from Windows Driver Kit (WDK). The USB ETW parsers are supported in Netmon Version 3.3 and later versions.

Instructions

JJ151575.wedge(en-us,VS.85).gifTo install the Netmon tool and the Netmon USB parser

  1. Determine whether your machine is running 32-bit Windows or 64-bit Windows:
    1. Open the Start menu, right-click Computer and view Properties.
    2. Look at the System type field.

    If your system type is 32-bit Operating System, you will use the x86 download. If your system type is 64-bit Operating System and your processor is Itanium, you will use the ia64 download. For other processor types, use the x64 or AMD64 download.

  2. Install Netmon:
    1. On the Windows Network Monitor page in the Microsoft Download Center and read the description of the tool.
    2. Under Files in this Download section toward the bottom of the page, click the Download button for your system type.
    3. Download and run the .exe file to start the Setup Wizard.
    4. Select Typical when you are asked to choose the setup type.
  3. Install the WDK from Windows Driver Kit 8.
  4. Allow execution of PowerShell scripts:
    1. On the Start screen, type "powershell", right-click on the Windows PowerShell result, and select Run as administrator.
    2. In the PowerShell window, type this command:
      Set-ExecutionPolicy RemoteSigned -Force
      
      
      
    3. Close the PowerShell window.
    4. Open a PowerShell window (you don't need to Run as administrator) and run the following commands. Adjust the path if you installed the kit to a different location:
      cd "C:\Program Files (x86)\Windows Kits\8.0\Tools\x86\Network Monitor Parsers\usb"
      ..\NplAutoProfile.ps1
      
      
      
    5. Restart Netmon to apply the changes.
  5. Verify that the profile is active in Netmon.
    1. On the Tools menu, select Options.
    2. On the Parser Profiles tab, make sure that AutoProfile (generated) is set as active. Your settings should be similar to this image.

      JJ151575.netmon_parsers1(en-us,VS.85).png

    3. Click OK.

Netmon is now configured for use with a USB ETW trace file. For more information, see How to view a USB ETW trace in Netmon.

Related topics

Using USB ETW
USB Event Tracing for Windows
How to open an ETW trace in Netmon

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.