DevCon (devcon.exe), the Device Console, is a command-line tool that displays detailed information about devices and lets you search for and manipulate devices from the command line. DevCon enables, disables, installs, configures, and removes devices on the local computer and displays detailed information about devices on local and remote computers.
Driver developers and testers can use DevCon to verify that a driver is installed and configured correctly, including the proper INF files, driver stack, driver files, and driver package. You can also use the DevCon change commands (enable, disable, install, start, stop, and continue) in scripts that exercise the driver. The DevCon source code is included in the DDK so that you can examine the methods that DevCon uses to retrieve and change setup and configuration data.
DevCon runs only on a Microsoft® Windows® 2000 or later version of the NT-based operating system. All users can use DevCon to search for and display information about devices. However, to change the status or configuration of a device, the user must be a member of the Administrators group on the computer.
This section includes: