Windows 8.1 doesn't remember window sizes/positions when I switch off my monitors

06
2014-04
  • cheeesus

    I have three monitors connected to my Windows 8.1 PC. One of them is connected by HDMI, one by DisplayPort and one by DVI (my GeForce GTX 780 has these three connectors). I distribute my windows over the three monitors (most of them maximized) and I'd like them to stay there.

    The three monitors don't have the same size. I'm using two of them in Pivot mode (portrait), and one of them in standard (landscape) mode.

    Sometimes I turn off the monitors (by plugging their power source) but let the PC run. When I switch the monitors back on, many windows are on another monitor than before, or they have changed their size, even though they were maximized.

    Is there any way to prevent this?

    • Some way of telling the graphics card that it shouldn't treat the monitors as disconnected?
    • Some way of telling Windows it should rearrange the windows as soon as the monitors are running again?
  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    windows - Switch off the monitor when mouse reaches the edge of the screen
  • evgeny9

    I have two computers at home (Windows XP and Windows 7), but one monitor for both of them. They are connected to this monitor using different interfaces: DVI and VGA.

    I'm also using one keyboard and one mouse to control both PCs with the help of Synergy or Input Director. But I still need to manually switch between monitor interfaces.

    Is there some way (software) that will switch the interfaces (turn off the monitor), when reaching the edge of the screen with the mouse?

    Until now I found several answers, which help to avoid pressing hardware buttons, but still can not do the job automatically based on mouse pointer coordinates.


  • Related Answers
  • Paul

    You can use the Hot Corners utility to power off the screen in windows once you reach a corner.

    This would mean altering your flow a little, and when moving off the edge from Windows 7 to XP, you would make sure the mouse passes through the top or bottom corner that you have designated as the hot corner.

    The second image in the link shows the option to power down the screen.

    On the XP side, if you used a different corner, ie, use the upper right corner exiting from W7 to XP and the lower left corner to exit from XP back to W7 then each OS should note the mouse cursor moving on entry and power up the screen. Otherwise you might hit the hot corner designated for power-down when re-entering the screen.

  • Dan

    I've been having a similar issue myself; I have two monitors and two computers, but use both monitors for each computer (one on DVI inputs, one on DisplayPort). Not finding any obvious solutions, I went ahead and tried to fix it myself :)

    The end result is that I've added some code to synergy that will automatically tell your monitor to switch inputs when the mouse leaves a particular display. I'm still testing it out, but so far it's working quite well for my purposes!

    I'm happy to share my changes (either in source or binary form), but you should know that it's sort of a half-baked solution that's designed more for my scenario (where all monitors are shared and I only have 2 PCs). I'm not sure if I'll ever get around to a more 'general purpose' configurable solution...

    UPDATE 4/28 Since this has been working well for me, I'm happy to share out a Windows installer with my changes. Source code is available upon request in case anyone wants to improve upon this.

    Download link (private build): synergy-1.4.8-Windows-x86.exe

    Sample configuration file

    Instructions:

    1. Download and install synergy-1.4.8-Windows-x86.exe from my dropbox link above. Make sure to uninstall any previous versions of Synergy.
    2. Copy the configuration file to the proper place on your computer, and use the Synergy UI to point it at that file.
    3. Update the configuration file for your system. In my default config file, I have 2 PCs (Cosmo and Pinot), and each is connected to the same 2 monitors (Cosmo with DVI-D, Pinot with DisplayPort). I have turned off the auto-mouse linking in favor of hotkeys (CTRL+F1/F2) for switching monitors/inputs. I recommend you do the same, as changing monitor inputs can take a few seconds and can only be done by the current input--so if you go back and forth across the border quickly you can get in a weird state.

    I've added one new configuration property to the screens section, called monitorinput. The value is the input ID to switch to when the mouse leaves that PC (so it's a little backwards from how you might expect it to be written, as you set the input of the other PC). The values I'm aware of:

    • 1: Analog (VGA)
    • 3: DVI-D
    • 15: DisplayPort

    If these don't work, or if you have additional inputs, you can download a tool called softMCCS which will give you the DDI/CI information from your monitor, including which input IDs are supported.

    As you can see from the example, I set monitorinput = 15 for Cosmo (meaning, when leaving Cosmos set the input to DisplayPort which is what Pinot uses), and monitorinput = 3 for Pinot (meaning, when leaving Pinot set the input to DVI-D which is what Cosmo uses). It only really supports two PCs at this point.

    That should be enough to get you up and running; let me know if it works (or if you have issues). Hope this helps!