Windows – How to enable/disable monitors from the command-line

command linewindows 7windows-vista

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…

Best Answer

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