1 out of 1 rated this helpful - Rate this topic

DevCon

DevCon (Devcon.exe), the Device Console, is a command-line tool that displays detailed information about devices. Using DevCon, you can 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 Windows Driver Kit (WDK) so that you can examine the methods that DevCon uses to retrieve and change setup and configuration data.

DevCon is included in the WDK in the \tools\devcon directory. There are separate versions for 32-bit applications for Windows (\tools\devcon\x86) and 64-bit applications for Windows (\tools\devcon\ia64) systems.

DevCon runs only on Microsoft Windows 2000 and later versions of Windows. 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.

Note   To run DevCon commands on a remote computer, the Group Policy setting must allow the Plug and Play service to run on the remote computer. On computers that run Windows Vista and later versions of Windows, the Group Policy disables remote access to the service by default.

This section includes:

DevCon Overview

DevCon Commands

DevCon Examples

DevCon Sample Code

 

 

Send comments about this topic to Microsoft

Build date: 4/5/2012

Did you find this helpful?
(1500 characters remaining)