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
    2015-01-25T11:49:27+00:00

    So,  4 1/2 years later Windows 8.1 still has the same bug that I saw in Vista!

    But - great work Micheal - your fix still works.

    Many thanks!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-01-04T15:10:27+00:00

    Thanks Mr Tompkins, reading this post, ive read the whole thread, helped me fix my problem, I had loads of entries in the registry for the simulated monitor, even with a fresh install of win7. I was doing all the reg editing and getting somewhere then eureka! So I'm posting this incase it helps someone else with a similar problem. I did a clean install on a pc i am selling, i set it up on a KVM switch with my main pc. My monitor is an old 26" samsung TV connected via VGA, everything went fine until i installed the intel HD GFX drivers, after a reboot i had 'mode not suported'. I entered safe mode with networking and installed TeamViewer, rebooted and connected to the problem pc, it had set its display to something really low, outside the tv's range, (this was evident in the reg) bingo I thought, changed it to 1366x768 on the desktop and switched back on the KVM, hey presto I had my desktop back....... for 5 seconds! This just kept happening, after reg editing i got it to work on 12 something but i lost 1366x768 as an option. After remembering your post I wondered if the problem had been caused by me switching over on the KVM while windows installed hense it thinking it was headless, I did another clean install and I didnt switch over to the main pc until it was finished. I checked the reg and there was now only one entry in the simulated monitor, this was now 1024x768 instead of the 480 something that was there before. I have updated the HD GFX and it is now running perfectly at 1366x768, I realise this isnt the same problem as others here but this thread helped me so I thought I would post my issue.

    Was this answer helpful?

    0 comments No comments
  3. 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
  4. 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