Index of Windows Driver Kit Tools

This topic supplies basic information about the tools that are included in the Windows Driver Kit (WDK). This topic also includes references to other tools that are useful for driver development. These other tools are either available as part of the operating system or are available as separate download. For more information about each tool, see the documentation in this topic that describes the tool.

For information about how to obtain the latest WDK, see Download the Windows Driver Kit (WDK).

Index of WDK Tools

The information in the following tables describes the tools that are useful for Windows driver developers. The list of tools includes tools that ship with the WDK (as indicated by the WDK tool field) and also includes some tools that are available separately or that are installed with Windows. Tools that can generally be used with all drivers are listed under All Drivers. Tools that are specific to a technology are grouped together, for example, tools that are specific for Windows Portable Devices (WPD) Drivers or Sensors.

Note

The Visual Studio environment variable, %WindowsSdkDir%, represents the path to the Windows kits directory where this version of the WDK is installed, for example, C:\Program Files (x86)\Windows Kits\8.1.

Audio / Video Drivers

Tool Name Tool Location Description and Help file location
Display Color Calibration tool (Dccw.exe)
WDK tool: No
%Windir%\System32\Dccw.exe
A calibration tool that lets users adjust their display color to be closer to the Windows and World Wide Web international standard red-green-blue (sRGB) color space.
GraphEdt (Graphedt.exe)
Tool in WDK: Yes
%WindowsSdkDir%\tools\x86\graphedt.exe
%WindowsSdkDir%\tools\x64\graphedt.exe
Builds filter graphs to test streaming audio/video capture drivers.
Documentation:
Overview of GraphEdit
KSStudio (KsStudio.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x86\KsStudio.exe
%WindowsSdkDir%\tools\x64\KsStudio.exe

Note This tool must be run by someone who has administrator privileges.
This tool can construct a graphical representation of a filter graph that shows the pin-to-pin connections between filters and the filters' internal nodes.
%WindowsSdkDir%\tools\x86\KsStudio.chm
%WindowsSdkDir%\tools\x64\KsStudio.chm
See AVStream Testing and Debugging for more information.
USB Device Viewer (Usbview.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x86\Usbview.exe
%WindowsSdkDir%\tools\x64\Usbview.exe
Enumerates the USB host controllers, USB hubs, and attached USB devices and can query information about the devices from the registry and through USB requests to the devices.
The source code for the USB Device Viewer is available from the code gallery, see USBVIEW Sample Application

Bluetooth Drivers

Tool name Tool location Description and Help file location
Bluetooth Inquiry Record Verifier (Sdpverify.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x86\Sdpverifiy.exe
%WindowsSdkDir%\tools\x64\Sdpverifiy.exe
Displays a Bluetooth device's Inquiry Record as Windows interprets it.
WDK documentation: Bluetooth Inquiry Record Verifier

Windows Image Acquisition (WIA) Drivers

Tool name Tool location Description and Help file location
WIADbgCfg (Wiadbgcfg.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x86\wiadbgcfg.exe
%WindowsSdkDir%\tools\x64\wiadbgcfg.exe
Enables logging for WIA drivers (Windows Server 2008 and later versions of Windows).
Note For earlier versions of Windows, use WIALogCfg.
%WindowsSdkDir%\tools\x86\wiadbgcfg.htm
%WindowsSdkDir%\tools\x64\wiadbgcfg.htm
WIAInfo2 (Wiainfo2.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x86\wiainfo2.exe
%WindowsSdkDir%\tools\x64\wiainfo2.exe
Displays the WIA item tree so that you can view and edit WIA device driver properties.
%WindowsSdkDir%\tools\x86\wiainfo2.htm
%WindowsSdkDir%\tools\x64\wiainfo2.htm
WIAPreview (Wiapreview.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\wiapreview.exe
%WindowsSdkDir%\tools\x86\wiapreview.exe
Shows how to use the WIA Preview component and the driver's segmentation filter.
%WindowsSdkDir%\tools\x64\wiapreview.htm
%WindowsSdkDir%\tools\x86\wiapreview.htm
WIATest (Wiatest.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\wiatest.exe
%WindowsSdkDir%\tools\x86\wiatest.exe
Displays the item tree that is created by the driver, the Windows Image Acquisition (WIA) properties exposed by the driver, and the current value of each property. You can use this tool to debug your driver during development and unit test.
%WindowsSdkDir%\tools\x64\wiatest.htm
%WindowsSdkDir%\tools\x64\wiatest.htm
Windows Imaging Trace File Viewer (Wiatrcvw.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\Wiatrcvw.exe
%WindowsSdkDir%\tools\x86\Wiatrcvw.exe
Displays the WIA trace log (%WINDIR%\Debug\WIA\wiatrace.log) and lets you change the WIA tracing parameters for each module.
%WindowsSdkDir%\tools\x64\Wiatrcvw.mht
%WindowsSdkDir%\tools\x64\Wiatrcvw.mht

Windows Portable Devices (WPD) Drivers

Tool name Tool location Description and Help file location
WpdDeviceInspector (WpdDeviceInspector.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\WpdDeviceInspector.exe
%WindowsSdkDir%\tools\x86\WpdDeviceInspector.exe
Queries a WPD driver and generates a comprehensive HTML report that describes your device and its capabilities. For example, you can use it to retrieve a list of supported device commands and objects. And, this tool will generate a list of all properties supported by each object.
WDK Documentation:
Windows Portable Devices
WPD Driver Development Tools
WpdInfo (WpdInfo.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\WpdInfo.exe
%WindowsSdkDir%\tools\x86\WpdInfo.exe
Performs common WPD operations such as: opening and closing a device, creating or deleting objects on a device, and issuing device commands.
WDK Documentation:
Windows Portable Devices
WPD Driver Development Tools
Microsoft Network Monitor (NetMon.exe)
WDK tool: No
Download the Microsoft Network Monitor
NetMon.exe
Displays trace information from WPD components. This tool replaces WpdMon.exe which had shipped in previous versions of the WDK.
WDK Documentation:
Windows Portable Devices
WPD Driver Development Tools, see Using the Network Monitor Tool.

Printer Drivers

Tool name Tool location Description and Help file location
GPDCheck (Gpdcheck.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\gpdcheck.exe
%WindowsSdkDir%\tools\x86\gpdcheck.exe
Validates the syntactical correctness of a Generic Printer Description File (GPD).
For information about command options, type
gpdcheck /?
INFGate (Infgate.exe)
WDK tool: Yes
WindowsSdkDir%\tools\x64\infgate.exe
%WindowsSdkDir%\tools\x86\infgate.exe.exe
Validates the conformance of a printer INF file.
For information about command options, type
infgate /?
isXPS (isXPS.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\isxps\isxps.exe
%WindowsSdkDir%\tools\x86\isxps\isxps.exe
Validates the conformance of an XPS file to the XPS and OPC specifications.
For information about command options, type
isxps /? in a Command prompt window.
For more information, see isXPS Conformance Tool
Looksgood (Looksgood.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\looksgood.exe
%WindowsSdkDir%\tools\x86\looksgood.exe
Validates the correctness of an XPS rendering engine.
For information about command options, type
looksgood /?
MakeNTF (Makentf.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\makentf.exe
%WindowsSdkDir%\tools\x86\makentf.exe
Converts Adobe Font Metrics (AFM) files and East Asian font AFM files to Windows font files (.ntf).
WDK Documentation:
Converting AFM Files to NTF Files
Converting East Asian AFM Files to NTF Files
PPDCheck (Ppdcheck.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\ppdcheck.exe
%WindowsSdkDir%\tools\x86\ppdcheck.exe
Validates the syntactical correctness of a PostScript Printer Description File (PPD).
For information about command options, type
ppdcheck /?
PTConform (PTConform.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\PTConform.exe
%WindowsSdkDir%\tools\x86\PTConform.exe
Validates a Print Ticket or Print Capabilities document for conformance to the Print Schema.
For information about command options, type
ptconform /?
XpsAnalyzer (XpsAnalyzer.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\XpsAnalyzer.exe
%WindowsSdkDir%\tools\x86\XpsAnalyzer.exe
Analyzes XML Paper Specification (XPS) files for compatibility with the XPS 1.0 specification.
WDK Documentation:
XpsAnalyzer

Sensors

Tool name Tool location Description and Help file location
Sensor Diagnostic Tool (sensordiagnostictool.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64
%WindowsSdkDir%\tools\x86
Tests the driver, firmware, and hardware for sensor and location functionality. The tool invokes the sensor and location API to test data retrieval, event handling, report intervals, change sensitivity, property retrieval.
WDK Documentation:
Testing sensor functionality with the Sensor Diagnostic Tool

All Drivers

Tool name Tool location Description and Help file location
BinPlace (Binplace.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x86\binplace.exe Manages large coding projects by moving files, extracting symbols from executable files, and removing private symbols from symbol files.
WDK Documentation:
BinPlace
Code Analysis for Drivers
WDK tool: Yes
The Code Analysis tool is included in Visual Studio. The driver-specific component is added when you install the WDK. A static verification tool that detects C and C++ coding errors. This version is specifically designed to detect errors in kernel-mode drivers.
WDK Documentation:
Code Analysis for Drivers
CertMgr (CertMgr.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\CertMgr.exe
%WindowsSdkDir%\bin\x86\CertMgr.exe
Manages certificates, certificate trust lists (CTLs), and certificate revocation lists (CRLs) that are used to sign drivers and driver packages.
WDK Documentation:
CertMgr
ChkINF
WDK tool: Deprecated
Previous path:
%WindowsSdkDir%\tools\x86\Chkinf
ChkInf has been deprecated. Instead, use InfVerif.
WDK Documentation:
InfVerif
Computer Hardware Identification Tool (ComputerHardwareIds.exe)
WDK tool: Yes
Windows Driver Kit (WDK) 8:
%WindowsSdkDir%\tools\x64\ComputerHardwareIds.exe
%WindowsSdkDir%\tools\x86\ComputerHardwareIds.exe
WDKPath\tools\Other\ia64\ComputerHardwareIds.exe
Windows Driver Kit (WDK) 8.1:
%WindowsSdkDir%\bin\x64\ComputerHardwareIds.exe
%WindowsSdkDir%\bin\x86\ComputerHardwareIds.exe
%WindowsSdkDir%\bin\arm\ComputerHardwareIds.exe
Derives the computer hardware IDs from SMBIOS information.
WDK Documentation:
ComputerHardwareIds
DC2WMIParser (DC2WMIParser.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\DC2WMIParser.exe
%WindowsSdkDir%\tools\x86\DC2WMIParser.exe
DC2WMIParser is a tool that collects the WMI IRP records created by Driver Verifier and converts this log to a text file.
Documentation:
IRP Logging
DevCon (Devcon.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\devcon.exe
%WindowsSdkDir%\tools\x86\devcon.exe
A command-line version of Device Manager. DevCon enables, disables, installs, configures, and removes devices on the local computer and displays detailed information about devices on local computers.
WDK Documentation:
DevCon
Drivers (Drivers.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\drivers.exe
%WindowsSdkDir%\tools\x86\drivers.exe
Displays a list of all drivers that are installed on the computer.
WDK Documentation:
None
Driver Verifier (Verifier.exe)
WDK tool: No
%Windir%\system32\verifier.exe Monitors kernel-mode drivers and graphics drivers to detect illegal function calls or actions that might corrupt the system. It can subject the drivers to a variety of stresses and tests to find improper behavior.
WDK Documentation:
Driver Verifier
Driver Verification Log (DVL)
WDK tool: Yes
Requires Microsoft Visual Studio and the WDK. From the Driver menu, select Create Driver Verification Log.... The Static Tools Logo Test requires a Driver Verification Log (DVL) for all applicable driver submissions. The DVL contains a summary of the results from the analysis tools, such as CodeQL, Code Analysis and Static Driver Verifier. See CodeQL and the Static Tools Logo Test and Creating a Driver Verification Log.
Inf2Cat (Inf2cat.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\inf2cat.exe
%WindowsSdkDir%\bin\x86\inf2cat.exe
Determines whether a driver package's INF file can be digitally-signed for a specified list of Windows versions, and, if so, generates the unsigned catalog files that apply to the specified Windows versions.
WDK Documentation:
Inf2Cat
InfVerif (InfVerif.exe)
WDK tool: Yes
c:\Program Files(x86)\Windows Kits\10\tools\arm\infverif.exe
c:\Program Files(x86)\Windows Kits\10\tools\arm64\infverif.exe
c:\Program Files(x86)\Windows Kits\10\tools\x86\infverif.exe
c:\Program Files(x86)\Windows Kits\10\tools\x64\infverif.exe
Tests a driver INF file. In addition to reporting INF syntax problems, the tool reports if the INF file is universal.
WDK Documentation:
InfVerif
MakeCat (MakeCat.exe)
WDK tool: Yes
WDKPath\bin\amd64\MakeCat.exe
WDKPath\bin\ia64\MakeCat.exe
WDKPath\bin\x86\MakeCat.exe
Creates a catalog file for a driver package.
WDK Documentation:
MakeCat
MakeCert (MakeCert.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\MakeCert.exe
%WindowsSdkDir%\bin\x86\MakeCert.exe
Creates an X.509 certificate that is signed by a system test root key or by another specified key.
WDK Documentation:
MakeCert
MSBuild (MSBuild.exe)/br>WDK tool: No Installed with Visual Studio Builds the samples, drivers, and associated software components that are supplied in the Microsoft WDK.
MSBuild
PnpCpu (PnPCpu.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\PnPCpu.exe
%WindowsSdkDir%\tools\x86\PnPCpu.exe
Simulates a hot add of processors to a running instance of Windows Server 2008.
WDK Documentation:
PNPCPU
PnPUtil (PnPUtil.exe)
WDK tool: No
%Windir%\system32\pnputil.exe A command-line tool that installs or deletes driver packages from the Windows driver store.
WDK Documentation:
PnPUtil
PoolMon (Poolmon.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\poolmon.exe
%WindowsSdkDir%\tools\x86\poolmon.exe
Displays data that the operating system collects about memory allocations from the system's paged and nonpaged kernel pools, and the memory pools used for Terminal Services sessions. The data is grouped by pool allocation tag.
WDK Documentation:
PoolMon
PowerCfg (PowerCfg.exe)
WDK tool: No
%Windir%\system32\powercfg.exe A command-line tool that is used to evaluate system energy efficiency.
Dev Center Documentation:
Using PowerCfg to Evaluate System Energy Efficiency
For information about command options, type
PowerCfg /?
Pvk2Pfx (Pvk2Pfx.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\Pvk2Pfx.exe
%WindowsSdkDir%\bin\x86\Pvk2Pfx.exe
Copies public key and private key information contained in .spc, .cer, and .pvk files to a personal information exchange (.pfx) file.
WDK Documentation:
Pvk2Pfx
PwrTest (Pwrtest.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\pwrtest.exe
%WindowsSdkDir%\tools\x86\pwrtest.exe
A power management tool that exercises and records power management information from the computer.
WDK Documentation:
PwrTest
SignTool (SignTool.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\SignTool.exe
%WindowsSdkDir%\bin\x86\SignTool.exe
Digitally-signs files, verifies signatures in files, and time-stamps files.
WDK Documentation:
SignTool
Stampinf (Stampinf.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\stampinf.exe
%WindowsSdkDir%\bin\x86\stampinf.exe
Updates common INF file directives, including the DriverVer directive.
WDK Documentation:
Stampinf
Static Driver Verifier
WDK tool: Yes
%WindowsSdkDir%\tools\SDV

Note  Launch Static Driver Verifier from the Driver menu in Visual Studio.
A static verification tool for drivers that systematically analyzes the source code of Windows drivers and determines whether the driver properly interacts with the Windows operating system kernel.
WDK Documentation:
Static Driver Verifier
Tracefmt (Tracefmt.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\tracefmt.exe
%WindowsSdkDir%\bin\x86\tracefmt.exe
Formats and displays trace messages from an event trace log file (.etl) or a real-time trace session.
WDK Documentation:
Tracefmt
TraceLog (Tracelog.exe)
WDK tool: Yes
WDK 8:
%WindowsSdkDir%\tools\x64\tracelog.exe
%WindowsSdkDir%\tools\x86\tracelog.exe
WDK 8.1:
%WindowsSdkDir%\bin\x64\tracelog.exe
%WindowsSdkDir%\bin\x86\tracelog.exe
%WindowsSdkDir%\bin\arm\tracelog.exe
Configures and controls trace sessions from the command line. Measures time spent in deferred procedure calls (DPCs) and interrupt service routines (ISRs).
WDK Documentation:
Tracelog
TracePDB (Tracepdb.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\tracepdb.exe
%WindowsSdkDir%\bin\x86\tracepdb.exe
Creates trace message format (.tmf) files from the full or private PDB symbol file for a WPP trace provider.
WDK Documentation:
Tracepdb
TraceView (Traceview.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\TraceView.exe
%WindowsSdkDir%\tools\x86\TraceView.exe
Configures and controls trace sessions and displays formatted trace messages from real-time trace sessions and trace logs. TraceView has a graphic user interface and a command-line interface for batch processing and scripting.
WDK Documentation:
TraceView
TraceWPP (Tracewpp.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\tracewpp.exe
%WindowsSdkDir%\bin\x86\tracewpp.exe
Runs the Windows Software Trace Preprocessor (WPP).
WDK Documentation:
WPP Preprocessor
Survey of Software Tracing Tools
WDF Tester
WDK tool: Yes
%WindowsSdkDir%\tools\x64
%WindowsSdkDir%\tools\x86
A set of tools that can be used to test, verify, and debug WDF drivers. The toolset provides a WMI programming interface that can be used in a script or a compiled application.
WDK Documentation:
WdfTester: WDF Driver Testing Toolset
WDF Verifier (Wdfverifier.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\wdfverifier.exe
%WindowsSdkDir%\tools\x86\wdfverifier.exe
Provides an easy-to-use interface to the framework's verifier for KMDF and UMDF drivers.
WDK Documentation:
WDF Verifier Control Application
Web Services on devices (WSD) Basic Interoperability Tool (WSDBIT)
WDK tool: Yes
WSDBIT Client:
%WindowsSdkDir%\tools\x64\wsdbit_client.exe
%WindowsSdkDir%\tools\x86\wsdbit_client.exe
WSDBIT Server:
%WindowsSdkDir%\tools\x64\wsdbit_server.exe
%WindowsSdkDir%\tools\x86\wsdbit_server.exe
Verifies an implementation of Device Profile for Web Services (DPWS) works with WSDAPI.
WDK Documentation:
WSD Interoperability Tool
Winerror (Winerror.exe)
WDK tool: Yes
%WindowsSdkDir%\tools\x64\winerror.exe
%WindowsSdkDir%\tools\x86\winerror.exe
Returns the error message identifier and mapping information for the specified error (Winerror.h) or success codes (Ntstatus.h).
For information about command options, type
winerror /?
WMIMofCk (Wmimofck.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x86\wmimofck.exe WDK Documentation:
Using wmimofck.exe
For information about command options, type
wmimofck -?
WsdCodeGen (Wsdcodegen.exe)
WDK tool: Yes
%WindowsSdkDir%\bin\x64\wsdcodegen.exe
%WindowsSdkDir%\bin\x86\wsdcodegen.exe
Automatically generates proxies and stubs based on a Web Services contract. Primarily, you can use this tool to create client applications. However, you can use it for testing or for creating user-mode drivers.
Verifies that the classes, properties, methods and events specified in a binary MOF file (.bmf) are valid for WMI use. Generates MOF support files.
Windows SDK:
See the Web Services on Devices section
WSDDebug_client and WSDDebug_host
WDK tool: Yes
Debug Client:
%WindowsSdkDir%\bin\x64\WSDDebug_client.exe
%WindowsSdkDir%\bin\x86\WSDDebug_client.exe
Debug Host:
%WindowsSdkDir%\bin\x64\WSDDebug_host.exe
%WindowsSdkDir%\bin\x86\WSDDebug_host.exe These tools are a soft device and client that you can use to troubleshoot devices or applications.
Windows SDK:
Web Services on Devices section