Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

Are there any tools for Windows 7 that will allow me to enable/disable monitors from the command-line?

For example, my GTX 480 has three outputs (2x DVI and 1x HDMI) but only two displays can be active at any given time. I'd like for a command-line to allow me to disable one of the DVI monitors and enable the HDMI monitor, etc.

(I've found NirCmd which is an amazing utility but it doesn't seem to support this...)

EDIT: UltraMon seems capable of doing this but I really hoping for a more light-weight command-line solution...

share|improve this question
FWIW, I do use UltraMon for this. You can set display profiles and hotkey them, that's not really very much work. – Shinrai Jul 8 '11 at 16:11… – user125545 Mar 29 '12 at 20:53

You can use devcon to do that (you will need to determine your hardware ID, probably here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\DISPLAY

If you need a 64-bit version, you can get it in the Windows Driver Kit: (for some usage issues).

share|improve this answer
That KB link is wrong but I'm not sure DevCon will do what I'm looking for. That can be used to disable the entire dispaly device but I want to disable/enable a specific monitor... – SofaKng Jul 8 '11 at 15:45
@SofaKng I fixed the link. I do see my actual monitor in those registry keys, but maybe you are right. I would test it. – KCotreau Jul 8 '11 at 15:51

With the freeware MultiMonitorTool it's quite easy:

MultiMonitorTool.exe /disable 1
MultiMonitorTool.exe /enable 2 3
MultiMonitorTool.exe /switch 3
MultiMonitorTool.exe /disable \\.\DISPLAY2
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .