Windows 7 moves/resizes windows on monitor power cycle

Anonymous
2010-10-08T22:13:48+00:00

I have a new W7 ultimate install on a new PC (AOpen DEX4501 w intel GM45 graphics). I have installed the latest Intel graphics drivers 8.15.10.2202, and all relevant windows updates.

It is connected via HDMI to a Grundig Misuro HD TV. My resolution is set to 1600x900, windows recommended resolution is 1920x1080 but this displays badly so I don't use it.

When Windows sleeps, or I turn off (then later on) the monitor, most windows are moved/resized to the upper left with the lower right at 1024x768.

Firefox, Excel(2003),Explorer windows resize/move, Outlook(2003) did not move/resize.

I have a Samurize (Gadget like) display on the right which someimes get relocated to the top left, but not this morning. The windows resize/move also happens when Samurize is not running.

I have found three other entries related to this;

They don't seem to have been resolved for a long time.

This is a Windows monitor power managment issue, can it be fixed please it is very annoying.

I won't be recommending W7 to others with such issues outstanding.

Windows for home | Previous Windows versions | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2010-10-09T02:55:58+00:00

I have found a work-around.

Using Sysinternals ProcessMonitor I found that Windows was accessing the following Registry path;

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration

My system had three entries;

DELF003YY7707BR0MUL_30_07D7_6A^9A3774EB79DEE3E3E38496CC7DF4D936

QHD32000001_31_07D6_D5^63E1ABDD175E7871DCAEB710418A0F75

SIMULATED_8086_2A42_00000000_00020000_1010100^CDE365D1B3F0942F0CF38BFB8E127AB4

Under each is a tree called "00" two of the keys are

PrimSurfSize.cx

PrimSurfSize.cy

Under "00" was another branch also called "00" two of the keys are;

ActiveSize.cx

ActiveSize.cy

The first two of the configs (ie DELF00... & QHD3...) the above keys were 1440x900,

so they were not involved.

The third (SIMULATED...) were set to 1024x768.

I changed these to 1600x900 and the problem was solved.

Further I changed resolution (via control panel) to 1920x1080, the moving/resize issue returned,

but the lower right corner was set to 1600x900, ie the SIMULATED... settings.

So for some reason one of the configs does not get set correctly.

I don't know why there are three configs, I have only ever used one monitor.

Hope this helps someone out there...

Was this answer helpful?

400+ people found this answer helpful.
0 comments No comments

236 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-07-26T14:30:34+00:00

    I gave up on a fix so my workaround is as follows

    1. Disable sleep and hibernate. Disable put monitor to sleep
    2. Every night shutdown PC
    3. Start PC in the morning
    4. Launch apps and setup windows where I want them
    5. Use PC all day (with monitors always powered on)
    6. Back to #2 at night

    So I'm probably shortening the life of my monitors and using some extra power.  Not sure what it costs to run two 27" Dell displays for 12 hours a day but it can't be too bad.   

    Just couldn't take coming back to PC after an hour and every window was on one screen, overlapping each other and all icons rearranged.  

    Microsoft should have already fixed this.  I don't think 20 pages here shows this is an edge case and there are other threads on this on Microsoft website as well as other tech forums.  C'mon Satya!  Get your team of developers to fix this.  Build a patch or just a tool to repair it.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-07-26T14:18:58+00:00

    I'm replying to myself here: I had initially reported this hack to be the solution but after months of using it I found it to be a half solution. Windows still move around when monitors are turned off. Specially annoying is that also window number assignments are also moved around so programs that are set to open windows on monitor #n suddenly need a re-configuration.

    Out of frustration I have developed the following morning ritual to wake up my pc: unplug all dp and hdmi cables, turn monitors on, plug cables back in the order I want the monitors assigned numbers, wait a few seconds for windows to do its 'magic', then start a tedious process of re-arranging the windows, having to close and re-open any programs that had a 3d accelerated view on because those don't survive the turning-off process.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-07-26T13:48:10+00:00

    I too have the same sort of problems and there are many parallels, 2 x 4K screens (iiyama), Nvidia GTX970 video card, DisplayPort connections, Windows 7. I have windows that move between screens, or completely disappear, even though they show as running, you can't get to them.

    As the BIOS screen output only seems to reliably come out on the HDMI I have also got the HDMI on the graphics card to the primary screen so I can manually flip to this if I need to. This screen was set to disabled in Windows display config.

    I tried the SIMULATED key fix, but it didn't work for me. I tried 2560x1440 (one screen) and 5120 x 1440 with stride of 20480 (4 x 5120) - representing two screens. After several reboots still no joy.

    After backing up the GraphicsDrivers registry keys, I removed all the configuration and connectivity keys and rebooted. I also reinstalled the latest NVidia drivers.

    Windows hasn't as yet re-create the SIMULATED key or NOEDID key, but it has created a bunch of different configurations (6 so far), this seems to relate to which monitor powers up first. You can make it generate more by powering off different monitors in different orders or pulling the cables from the video card, etc

    My problem is now far better, but not completely fixed as some windows still move, but the off-screen window issue seems to be less of a problem now.

    I also tried the 2 x DP and disconnecting the HDMI, plus the duplicating the DP to the HDMI as one screen (which is a neat trick that I'd missed before !). HDMI only didn't fix it either.

    I have also found that you can get to hidden application windows that are off-screen by hovering over the icon on the task bar, waiting for the mini icon of the window to pop up above it, then move up to the mini window, right click and select move. Now press any arrow key on the keyboard, then move the mouse and you have the window attached to the mouse. You can now place it back on  the screen.

    I agree with everyone else that this should have been fixed now, after all if we are supposed to be doing our bit to save power, then things should work properly so that users are not inconvenienced.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-07-26T02:52:24+00:00

    I'm new to Windows10.  

    The idea that I can't effectively use my 3 monitors is making me rather upset.  It's this sort of problem that gives MS a bad rap.  As this thread is testament, it's been a bug for years.  Everytime my system go to sleep, I end up having to readjust all the windows on my editing software.  

    Why?

    No good reason as far as I can see.

    Anyway, the "solution" involves doing a hack on something called the registry file.  What is that and how do I even access it?  It looks like a bunch of nonsense to me.  Plus, there's no guarantee it works anyway. 

    More important, why do I have to mess with it at all?  I'm a layperson not a computer scientist for goodness sake.  Why should I be poking around entering strings and code into a file I don't understand?

    Auuugh.

    Was this answer helpful?

    0 comments No comments