Monday, November 29, 2021

How to prevent messy desktop when the monitor switches off

A problem that bothered me for a couple of days when I moved on to another worsktation with Windows 10: when you leave your desktop unattended for the power saving to kick in and turn off your monitor - the desktop would go crazy : all windows will be moved and resize as if to fit into a very small desktop size.
After some googling it turned out that Windows would "lose" the identification of the connected monitor and would switch to another "default" monitor. And will change the layout of the desktop to the size of this "default" monitor. Which turns out to be 1024x768.

In order to change that the following steps need to be taken:
  • Open RegEdit
  • Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration
  • Find the "default" device.
  • This part is a bit tricky. I first deleted all the keys that were there besides something that looked to me like my SAMSUNG monitor description.
  • Then when my monitor went to sleep again Windows added another key to the registery with the name of NOEDID_8086_9BC5_00000000_00020000_31063...
  • This is the key under which some settings need to be changed:
  • et voila

    No comments:

    Post a Comment