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
    2016-10-25T10:36:55+00:00

    Hi

    I have the same issue with Win10 on a Dell Latitude with an Intel graphics card.

    I would like to try this solution but I have two external monitors out of which one is vertically positioned, thus making it 1200x1920. This is the left one. In the middle there is 1920x1080 laptop screen and on the right it's 1920x1200 external monitor.

    What the keys given above should contain in such configuration? Can you please help?

    EDIT

    I also checked right now and when I switch off the right monitor (using its 'power off' button), the screen orientation on the left one changes to horizontal and the resolution drops. When I power it back on again it gets back to how it was but windows get moved to the center screen. The external monitors are attached with DisplayPort through docking station but I don't think it changes anything...

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-10-11T05:40:14+00:00

    Thank you very much Michael.  The solution worked.  I've been turning on my display monitor instead of powering off to avoid the issue.  You really help to conserve energy and make our world greener.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-09-08T03:09:50+00:00

    I'm not 100% sure my insanely quick and easy solution will help you, but I further modified the solution posted by MichaelAtOz and in my case this modified solution totally worked - the issue was happening only when I unplug the DVI cable from the monitor (I need to do that from time to time), tested several times now and when I put the cable back, all windows are there as I've left them. The maximized windows are irrelevant because even when there was a problem they remained maximized the whole time. So here's what I did:

    BTW, just for the record: I'm running a 1920x1080 resolution on my Dell P2414H, dvi-dvi cable, [Intel Pentium G3220] Intel HD Graphics (in its own 'control panel' , under Scaling, the "Maintain display scaling" option is chosen) , 64-bit Win 8.1 with all the latest updates... I can almost assure you none of the previous is relevant, I won't be using numbers below due to the fact you all use different resolutions.

    (Step 1)

    The SIMULATED folder MichaelAtOz talked about ?

    • In the first (upper) 00 folder you'll need to modify 3 entries: PrimSurfSize.cy ; PrimSurfSize.cx ; Stride
    • In the second (lower) 00 folder you'll need to modify 2 entries: ActiveSize.cy ; ActiveSize.cx

    (Step 2)

    These 5 entries have lower values (ex: 1024 instead of 1920...) than their "brothers" in the other main folders besides the SIMULATED folder. So the only thing you need to do is to see the (higher) values for those 5 entries in some of the other, "normal" folders, and apply those higher values to the entries in the SIMULATED folder. In my particular case... (meaning don't use the same numbers if you're not running at 1920x1080) ...I did the following changes:

    • PrimSurfSize.cy and ActiveSize.cy had a value of 768. I changed those to 1080
    • PrimSurfSize.cx and ActiveSize.cx had a value of 1024. I changed those to 1920
    • Stride had a value of 4096. I changed it to 7680.

    If this helps you, you know what to do...

    Cheers :)

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-08-21T05:41:41+00:00

    Congratulation Microsoft -

    after one year without problems, the resizing problem is back after installation of Windows 10 Anniversary 1607, not as bad as it was, it now happens only once a day (during the night).

    Hope, that the old trick (removing unneeded entries in the GraphicsDrivers\Configuration still works.

    Was this answer helpful?

    0 comments No comments