DevCon 或 DevCon64 可以啟用、 停用、 重新啟動、 更新、 移除,和查詢個別裝置群組。

DevCon 公用程式是一個命令列公用程式,做為 [裝置管理員的替代。 使用 DevCon,您可以啟用、 停用、 重新啟動、 更新、 移除,和查詢個別裝置群組。

Windows Device Console (Devcon.exe)
DevCon (Devcon.exe), the Device Console, is a command-line tool that displays detailed information about devices on computers running Windows. You can use DevCon to enable, disable, install, configure, and remove devices.
DevCon runs on Microsoft Windows 2000 and later versions of Windows.

What you can do with DevCon

Windows 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 commands (enable, disable, install, start, stop, and continue) in scripts to test the driver.

DevCon is a command-line tool that performs device management functions on local computers and remote computers.
(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 Windows 7, the Group Policy disables remote access to the service by default. On computers that run WDK 8.1 and WDK 8, the remote access is unavailable.)

Devcon features include:

  • Display driver and device info:  DevCon can display the following properties of drivers and devices on local computers, and remote computers (running Windows XP and earlier):
    • Hardware IDs, compatible IDs, and device instance IDs. These identifiers are described in detail in Device Identification Strings.
      Device setup classes
      The devices in a device setup class
      INF files and device driver files
      Details of driver packages
      Hardware resources
      Device status
      Expected driver stack
      Third-party driver packages in the driver store
  • Search for devices:  DevCon can search for installed and uninstalled devices on a local or remote computer by hardware ID, device instance ID, or device setup class.
  • Change device settings :  DevCon can change the status or configuration of Plug and Play (PnP) devices on the local computer in the following ways:
    • Enable a device
    • Disable a device
    • Update drivers (interactive and noninteractive)
    • Install a device (create a devnode and install software)
    • Remove a device from the device tree and delete its device stack
    • Rescan for Plug and Play devices
    • Add, delete, and reorder the hardware IDs of root-enumerated devices
    • Change the upper and lower filter drivers for a device setup class
    • Add and delete third-party driver packages from the driver store
  • Restart the device or computer : DevCon can restart a local device, reboot the local system on demand, or reboot the local system if required for another DevCon operation.