Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Which Windows binary is responsible for the Device Manager? I'm looking for a solution to automate some routine configuration of specific devices in text mode.

share|improve this question
up vote 1 down vote accepted

The "windows binary" is actually a mmc snap-in, which is not an "exe". If you're looking at listing & displaying properties of hardware in windows, your best bet is to look towards writing your own program using the native windows API:

Alternatively, you can probably extract what you need using vbscript or the powershell using the WMI calls:

share|improve this answer

You might want to take a look at DevCon:

The DevCon utility is a command-line utility that acts as an alternative to Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices. DevCon also provides information that is relevant to the driver developer and is not available in Device Manager.

share|improve this answer

I think you are looking for WMI and the wmic.exe command-line tool.

There is a lot of WMI documentation on the Microsoft site and others. Here's what I found

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.