Quickly Enable / Disable Monitors in Windows?

Si
14

I have a (luxury) problem. I have a tower, a laptop and a P20pro on one of the monitors on my desk.

Now my question: Is there a simple tool / batch file in Windows with which I can disconnect or connect to individual monitors so I do not always have to make the settings because I do not always need 3 monitors. Because Windows + P is only with 2 monitors. Primary for the PC, the others always use only one monitor.

My graphics card is a RX580

Bi

If then only work on the video card driver, if there could be disabled individual ports. What I doubt.

Either all or no → nircmd

But for just such cases, God has invented the on / off switch. Luckily, he also attached it directly to the monitor itself.

Si

Yes, but the program windows still appear on the off-screen monitor.
Under display in my graphics driver is unfortunately nothing. Since I can set many options, but turns on and off is not)

Po

I think that will not be easy, maybe a simple HDMI switch would be for you. Something in the way: https://www.amazon.de/...075R2DFJ1/

Bi

Either all or no → nircmd

Si

Unfortunately my monitors are running on a different port. One with HDMI, one with DVI and one with DP

In addition, I can only say so that I, for example, Then wants to control a monitor twice. So if I have 1 and 2 active and the HDMI Singal for 3 on Monitor 2 Umschalte I still have 3 monitors on the then program window aufploppen.

Si

Something like that I had feared.

Po

Ah, ok now click on me… Understand the problem
How about switching off and windows + shift + arrow left / right (depending on the position of the monitor) This solves at least the problem with the no longer visible windows on the off monitor. But it is not sexy…

Si

Although not sexy and not what I actually wanted BUT it solves my main problem, so Thank you! I did not know the key combination yet.

Re

I would look around here, maybe there's something for you:

https://superuser.com/questions/394601/change-display-arrangement-via-batch-command-line-on-windows-7

Si

I just looked at it briefly, because of mobile phone, but I believe that could be the solution for my problem

Si

Would be the optimal solution, but somehow only 2 monitors can be switched on at once with the batch file:

cd C: \ Program Files (x86) \ 12noon Display Changer 2 \

dc2.exe -monitor = "\\. \ DISPLAY3" -secondary -width = 1920 -height = 1080 -ty = 2560 -lx = 490

dc2.exe -monitor = "\\. \ DISPLAY2" -primary -width = 2560 -height = 1440 -ty = -0 -lx = 0

dc2.exe -monitor = "\\. \ DISPLAY1" -secondary -width = 1920 -height = 1080 -ty = -1920 -lx = 490

If I make a batch file for the two sides of the monitors or the main monitor, only the respective ones are driven. So either two side monitors or in the middle) Too bad, because actually what that exactly what I was looking for.

The display changer 1 does not seem to be smart anymore under WIN 10.

Si

Cd C: \ Program Files (x86) \ 12noon Display Changer 2 \

dc2.exe -monitor = "\\. \ DISPLAY3" -secondary -width = 1920 -height = 1080 -ty = 2560 -lx = 490

Funnily, this code activates 2 monitors

Re

I'm not familiar with the tool personally. If you need help, I would advise you to post a new question here or directly on SuperUser.

Si

It does not seem to be running on WIN 10 anymore.