How to toggle a screen on and off?

0

I have a current setup of two screens on my desktop, but every now and then I want to connect my tv as well. I currently have a HDMI switch to toggle from a screen to the tv, but that isn't working all too well.

If I just connect the tv straight into the pc, Windows will switch to three screens, as expected, but will do so regardless of whether the tv is on or not. So I'm looking for a way to be able to toggle the third screen on and off from within Windows. I can't find whether that is possible or not, because when I google, all I can find is stuff about turning touch-screens on or off.

JAD

Posted 2018-08-04T20:03:46.513

Reputation: 113

1You can simply set that screen to disabled from windows, and it is treated as disabled. Do note, if you unplug the cable, windows may uninstall the monitor and reinstall upon plugin in the cable which may reset your settings. – LPChip – 2018-08-04T20:09:26.577

Some keyboards come with a button does exactly that. – Nick – 2018-08-04T20:18:50.460

@LPChip Where can I find these settings? I can't find that option in the display settings accessed from right-clicking the desktop. – JAD – 2018-08-04T20:25:25.633

Enable/Disable Laptop Display w/ Hotkey? – DavidPostill – 2018-08-04T20:33:19.927

@DavidPostill looks different. I'm basically looking for a way for windows to ignore a display when it's physically turned off, whereas your link seems to do the opposite. It might end up working the same though, so I'll take a look and see if I can make it work. – JAD – 2018-08-04T20:35:54.113

@JAD: Start -> Gear (settings) -> System -> Display. Select the display to enable/disable, scroll down to Multiple Displays, in the combobox select: extend to this display = enable; disconnect this display = disable. – LPChip – 2018-08-04T20:38:16.417

@LPChip Ah, that works. Turn it into an answer and you got yourself a checkmark :) – JAD – 2018-08-04T20:42:25.457

Bonuspoints for a commandline version :) – JAD – 2018-08-04T20:42:42.803

Answers

1

You can set a monitor as connected or disconnected through the settings in Windows 10. This effectively enables/disables that monitor, but if you unplug the cable or on some monitors turn off the power, the monitor itself may get uninstalled and reinstalled upon turning on the monitor or plugging the cable in, and this may reset your settings.

In order to do this, do the following:

  • Open the Start menu
  • Press the Gear (settings) icon
  • Navigate to System
  • Click on Display
  • Choose the display you want to enable/disable
  • Scroll down to the section called Multiple Displays.
  • In the combobox alter the connection type
    • Extend to this display: The monitor is enabled.
    • Disconnect this display: The monitor is disabled.

It is not directly possible to do this from the commandline, but there are some tools available that do this for you, such as Nircmd.

LPChip

Posted 2018-08-04T20:03:46.513

Reputation: 42 190

It should be noted that when there are less than 3 screens, the option Disconnect this display isn't available, but instead called "Show only on 1", and "Show only on 2". – JAD – 2018-08-05T20:06:21.587

@JAD that should not be the case. If it changes to show only on 1 and 2, it is usually a driver that changes this. – LPChip – 2018-08-05T20:32:20.817

Hmm, interesting. That does explain why I didn't find this option myself though :-p – JAD – 2018-08-05T20:51:55.020

If that is indeed the case, then you can also use your driver's software to change it there. The naming should be mostly the same as in my answer. I know NVIDIA tends to do this. – LPChip – 2018-08-05T20:53:30.827