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: Newest
  1. Anonymous
    2014-12-19T13:25:17+00:00

    YES, YES, YES - thank you very much Michael. A very annoying problem solved.

    My problem was not completly as described. I have a two monitor setup and almost everytime I awoke the monitors the open windows would show up as I left them, but only for a second or two, then all windows were moved to the monitor to the left and sometimes the windows were also resized.

    MrFuzzums instructions solved the problem.

    PrimSurfSize.cx to 1650

    PrimSurfSize.cy to 1050

    ActiveSize.cx to 1650

    ActiveSize.cy to 1050

    on both SIMULATE keys.

    To Microsoft

    I think you will help alot of your customers by solving these automatic resizing/moving of windows.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-12-05T16:27:27+00:00

    Who'd have thought that a 4-year-old thread filled with laments from users all struggling with the same problem would still turn out to be current and helpful?  Maybe it's part of Microsoft's strategy to just ignore these problems, and let the user community muddle its way through to answers.  

    Anyway, when I migrated from a five-year-old PC running under Win8.1 to a new one under the same OS, I started having this problem.  I was surprised because I had never had the issue on my old machine (which began life as a Win7 box).  The first answer that I found in multiple places was to enable "Prevent windows from being automatically rearranged when moved to the edge of the screen" in the Control Panel.    No help -- every time I came out of hibernation, all windows were still moved to the northwest corner of the screen and re-sized.  

    Then I worked my way through this thread and found the graphics configuration registry key fix.  In my case, the registry contained some ten different keys, with a seemingly random set of different  configurations.  But the last key in the list was the only one with the correct setting of 1920x1080.  So I kept that key, changed the SIMULATED key to 1920x1080, and, after exporting the registry just in case, deleted everything else.  

    After a reboot, I still have only the two configuration keys, and all seems to be working splendidly. If I'm lucky, this will be the last of the obscure MS gotcha's that I'll have to track down to get the new machine working the way I want.  But I'm not counting on that.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-12-03T13:56:25+00:00

    Hi Guys,

    Thank you all for this discussion which helped me resolve my changing main display and changing display resolution issues.

    I benefited from more than one recommendation listed in this discussion.

    My set up is as follows:

    One Samsung monitor connected to the ASAS internal GPU, three BenQ projectors connected to a Radeon R9 295 X2 thru the display ports and a Radeon R9 290 X with nothing connected to it yet.

    I had the three BenQ projectors joint using Eyefinity (AMD Catalyst Control Center) to give me one large monitor 3840x800 for using it in flight simulation gaming.

    My problem was that on each Windows restart the three projector setup became the Primary Display and all my icons and menu bar moved to there leaving my "control" monitor empty with a non-supported display resolution.

    I tried every thing short of reinstalling Windows.

    Here are the steps I used to resolve my issues:

    1. In BIOS I set the Primary Display to the iGPU (intigrated GPU or built in graphics card on my ASUS mother board) where I connected one monitor (the Samsung monitor), the one I want to use as the Primary.
    2. I restarted the machine and watched the startup procedure and the Windows launch icon come up on my Samsung, now Primary Display, up until Windows started when the displays shifted and the same problem presented itself.
    3. Using RegEdit, I located the HKLM>System>CurrentControlSet>Control>GraphicsDrivers>Configuration key under which I found more than 20 entries! Perhaps every reinstalation of the drivers Windows does not clean up the older registry entries!
    4. I exported the key and saved the ".reg" file on the Desktop, just in case I need it later.
    5. I then deleted all entries under the Configuration key. (I was desperate :-) )
    6. Restarted windows and found my SS monitor now marked as #1, my three projectors back separated into three single displays with #2/3/4 as should be.
    7. I now downloaded and installed the latest AMD drivers/software.
    8. Restarted Windows.
    9. Launched AMD Catalyst Control Center and re-figured the Eyefinity set up for the three projectors to act as one large monitor.
    10. During drive installation, many blank screens came ON and OFF and I ended up with the large single monitor comprising the three projectors and my single SamSung monitor, still numbered #1.
    11. I redefined the Main Display and set all the resolutions to what I wanted (1280x800 and 3840x800) and ... Restarted Windows. (I believe Windows just loves restarting)

    AND THAT worked!

    I am now well setup, and no changes occur if I restart my computer.

    I wanted to share this with you guys hoping someone will be helped as I was.

    Good luck.

    Bless you all.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-12-02T20:26:06+00:00

    Initial testing running on 4k monitors, the 3 "simulated" keys fixed the issue on Win 8.1

    Thanks for that.. I never would have figured that out on my own.

    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.

    Was this answer helpful?

    0 comments No comments