Is there a Windows 10 Hotkey or Shortcut for switching to a specific display?

10

3

I have my Windows 10 desktop computer connected to two displays through HDMI - one monitor and one TV, which I can toggle through with Windows Key+P as described in the accepted answer to this question.

However, I was wondering if there was some hotkey, shortcut, or button combination I could use sort of like a "Virtual KVM Switch" that lets me select one display or another specifically, without needing to cycle/toggle through other displays.

dotVezz

Posted 2017-01-02T21:04:05.800

Reputation: 529

Answers

14

The built-in DisplaySwitch.exe tool can emulate the WindowsKey + P capabilities. You can potentially create four desktop shortcuts so that you have one available for each option:

For the PC screen only: %windir%\System32\DisplaySwitch.exe /internal

For Duplicate: %windir%\System32\DisplaySwitch.exe /clone

For Extend: %windir%\System32\DisplaySwitch.exe /extend

For Second screen only: %windir%\System32\DisplaySwitch.exe /external

(Source)

Run5k

Posted 2017-01-02T21:04:05.800

Reputation: 13 092

Well this is just fantastic! It does exactly what I asked for, and I bet I can map it to a key somehow. – dotVezz – 2017-01-03T00:16:27.190

It depends upon how much time you want to devote to it. Many people use AutoHotKey for things like that, and their community often has scripts or templates available that you can use to get started in the right direction.

– Run5k – 2017-01-03T00:36:05.587

9

WindowsKey + P toggles three modes:

  1. Local only
  2. Local + External (TV) -- duplicated
  3. Local + External (TV) -- extended

My advise is to leave things set at #3 most of the time.

In this mode, all of your screens are always available. The keyboard will use whatever has the focus, regardless of which display you're looking at, and the mouse cursor will easily move back and forth.

That would still be a hassle, except you can also easily move individual programs between displays using these shortcuts:

WindowsKey + Shift + (right arrow)
WindowsKey + Shift + (left arrow)

So you can queue up something on your internal display, and then easily push it to the TV without losing access to the internal display.

If the left and right arrows seem backwards from your actual setup, you can adjust the monitor layout in display properties.

Joel Coehoorn

Posted 2017-01-02T21:04:05.800

Reputation: 26 787

-1

Once you have created a shortcut on the desktop you can right click, Choose properties, select the Shortcut tab. There should be a box labeled Shortcut. It should say none in the box. If you click the box that says none and hold control (auto selects control + Alt) and choose a key you can make a keyboard shortcut. I chose Ctrl+alt+S for PC screen, and Ctrl+alt+D for my second TV. It sounds complicated but you really just right click, select properties and Choose a keyboard shortcut. Super easy.

Ryan H Keeton

Posted 2017-01-02T21:04:05.800

Reputation: 1

1This does not answer OPs question. They aren't asking how to run a shortcut with a key combination, they are asking how to select a different physical or virtual desktop using a key combination. The existing answers already answer this correctly. – music2myear – 2018-06-01T21:17:10.177