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 also available 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 %WindowsSdkDir%\tools\x64 and the %WindowsSdkDir%\tools\x86 directories.
The source code for the Device Console (DevCon) Tool is available from the MSDN Hardware Samples code gallery.
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:
Send comments about this topic to Microsoft
Build date: 5/7/2013
