Windows 11 Suddenly Started to Resize and Move my Open Windows Position


I'm giving it another try.
The values to change are mentioned in this post by me in this thread: Severe Open-Shell Problem on Win11 24H2 When System Resumes from Sleep. Any fix?

By way of illustration these are the decimal values I entered for my 1920 x 1200 monitor (obviously you will need to alter these example values to suit the actual resolution of your own monitor):

ActiveSize.cx =1920
ActiveSize.cy = 1200
DwmClipBox.bottom = 1200
DwmClipBox.right = 1920
PrimSurfSize.cx = 1920
PrimSurfSize.cy = 1200
Stride = 7680

With respect to the 'Stride' value: There was no Stride in any of the keys I had. However, and from previous experience with this over the years, I decided to add a correctly calculated Stride value myself. My reasoning was that perhaps a Stride value isn't necessary in 24H2 but it would do no harm to enter one any way: if it isn't used then it will never be read by the system, but if it is used at least I have a correct value in there to use.

I hope this clarifies this somewhat for you. And I would add that for the past few days I haven't had a recurrence of the problem I had in the 'Open-Shell thread' I point to above.
 

My Computers

System One System Two

  • OS
    Win 11 Pro. 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Customised "Chillblast Apex Intel Core i7 Office PC"
    CPU
    Intel Core i7-14700 (Raptor Lake)
    Motherboard
    ASUS Prime B760M-A WiFi D4
    Memory
    32GB Corsair Vengeance LPX (DDR4)
    Graphics Card(s)
    Intel UHD 770 — onboard standard as supplied by Intel/Asus
    Monitor(s) Displays
    Dell P2421 24 inch WUXGA (1920x1200) 16:10 Monitor
    Screen Resolution
    1920x1200
    Hard Drives
    First (Boot Drive Only): 2TB Samsung SSD 990 Pro.
    Second (Data Drive) 2TB Samsung SSD 990 Pro.
    PSU
    850W Corsair RM850x 80 Plus Gold
    Cooling
    Just standard fans for both the case and CPU.
    Keyboard
    Unicomp Model M (IBM Style keyboard)
    Mouse
    Wired Mouse
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
  • Operating System
    Win 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 9 (16" Intel)
    CPU
    14th Generation Intel® Core™ i9-14900HX
    Memory
    32 GB DDR5-5600MHz
    Graphics card(s)
    NVIDIA® GeForce RTX™ 4080 Laptop GPU 12GB GDDR6
    Monitor(s) Displays
    16" WQXGA (2560 x 1600), IPS, Anti-Glare, Non-Touch, HDR 40
    Screen Resolution
    2560 x 1600
    Hard Drives
    First (Boot): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Second (Data): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Mouse
    Wired Mouse
    Keyboard
    Per-Key RGB-Coloured Backlit - English (UK)
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
KB5050094 Windows 11 Cumulative Update Preview build 26100.3037 (24H2) - Jan. 28
not fixed yet....
 

My Computer

System One

  • OS
    Windows 11 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    CyberMania
    CPU
    RYZEN 7 5800X3D
    Motherboard
    GIGABYTES AORUS PRO AC B550
    Memory
    XPG D50 DDR4-3600
    Graphics Card(s)
    SAPHIRE PULSE RX580
    Sound Card
    REALTEK HD
    Monitor(s) Displays
    SAMSUNG 43" QLED
    Screen Resolution
    3840 x 2160
    Hard Drives
    XPG D40 512GB 2TB NVME
    PSU
    CM MWE GOLD 650WATTS
    Case
    CM NR 600 MASTERBOX
    Cooling
    CM HYPER212 TURBO ARGB
    Browser
    FIREFOX
    Antivirus
    ESET
The more I read about all these 24H2 bugs/errors ....................the longer I will wait with the upgrade(?) to 24H2 ! :wink:
 

My Computer

System One

  • OS
    Windows11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    i7
    Motherboard
    z97k
    Memory
    32GB
    Graphics Card(s)
    nVidia
    Sound Card
    Realtek
    Hard Drives
    3
    Cooling
    air

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 7600X
    Motherboard
    MSI MAG B650 TOMAHAWK
    Memory
    G.Skill Ripjaws S5 32 GB (2 x 16 GB) DDR5-6000 CL30
    Graphics Card(s)
    ASRock Challenger OC Radeon RX 7700 XT
    Monitor(s) Displays
    MSI MAG 274URFW
    Screen Resolution
    3840 x 2160
    Hard Drives
    Acer Predator GM7000 2 TB
    PSU
    Corsair RM850e (2023) 850 W
    Case
    Antec FLUX ATX Mid Tower
    Cooling
    Thermalright Peerless Assassin 120 SE
I found a workaround:
1) Open Registry Editor (as admin) to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\
2) Delete all entries in this path (there should be at least two) Delete by clicking on item and press "Delete" and confirm if needed. Exit Registry Editor (File - Exit) and restart PC.
3) After system start/login reopen Registry Editor (don't let your PC go to screen saver/sleep first) to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\
There should now one be one registry entry. Click on tree arrow, then click on tree second arrow to view values. By clicking on each 00 the values will be displayed on the right side of Registry Editor. Note that there are some value pairs that match the resolution of your display.
4) Allow display to go into power save mode where is gets no signal, then wake system.
5) Open Registry Editor to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\ again.
You will see a second entry now. This is a dummy monitor entry created by Windows for...reasons. You'll see the same value pairs as before, but with incorrect resolutions for your display.
6) Change the values in dummy monitor registry to match real monitor resolution. I found 4 sets. Double click on the value that needs to be changed, make sure that change the "Base" of the value to "Decimal", then enter the appropriate number.
7) After all changes have been made exit the Registry Editor and restart.

It works for me. Note: I only have one monitor (two video ports, but disabling the unused one didn't keep problem from occurring). Multi-monitor setups may be different?
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
No need for those solutions anymore. It seems to be fixed, cause I updated a couple of new graphics drivers, and it didn't change the resolution in registry like it would regularly up to one month ago, all fine now.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 26100.3775
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD Ryzen 9 7950X 16-Core Processor
    Motherboard
    ASUS ROG STRIX B650E-F GAMING WIFI (BIOS v3222)
    Memory
    XPG LANCER RGB 64GB DDR5 6400Mhz
    Graphics Card(s)
    Gigabyte GeForce RTX 4070 Ti OC GAMING 12GB rev 1.0
    Sound Card
    ALC4080 SUPREME FX
    Monitor(s) Displays
    GIGABYTE 27" QHD G27QC-A
    Screen Resolution
    2560x1440 (QHD)
    Hard Drives
    SAMSUNG 990 PRO 2TB M.2 NVME, SAMSUNG 980 1TB M.2 NVME, WESTERN DIGITAL BLACK 2TB 7200 rpm, SEAGATE BARRACUDA 1TB 7200 rpm
    PSU
    CORSAIR RMX SHIFT 1200W GOLD ATX 3.0
I didn't have to change any "Stride" values though. Is that a multi-monitor thing?

It was several years ago when I got hit with this on a single monitor system, so Stride isn't a multi-monitor thing.

Nevertheless, at that time, years ago, Stride was specifically mentioned in the 'fix' I found and, as I did have Stride entries in the registry I altered them accordingly to how they would help to eradicate the problem. On my current single-monitor system when I altered the 'x' and 'y' values to suit what my monitor actually is I just created a Stride value on my on and give it a data value that I know to be correct from my monitor (as if Stride was required). Certainly my adding the Stride value has had no adverse effect on the issue I was facing nowadays from being fixed. Maybe, for whatever reason, 'Stride' as been done away with by Microsoft.

P.S. I have no idea at all what 'Stride' actually does. Stab in the dark by me following earlier instructions/guidance found on the issue. In any case to correctly calculate Stride see this post: Severe Open-Shell Problem on Win11 24H2 When System Resumes from Sleep. Any fix?
 

My Computers

System One System Two

  • OS
    Win 11 Pro. 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Customised "Chillblast Apex Intel Core i7 Office PC"
    CPU
    Intel Core i7-14700 (Raptor Lake)
    Motherboard
    ASUS Prime B760M-A WiFi D4
    Memory
    32GB Corsair Vengeance LPX (DDR4)
    Graphics Card(s)
    Intel UHD 770 — onboard standard as supplied by Intel/Asus
    Monitor(s) Displays
    Dell P2421 24 inch WUXGA (1920x1200) 16:10 Monitor
    Screen Resolution
    1920x1200
    Hard Drives
    First (Boot Drive Only): 2TB Samsung SSD 990 Pro.
    Second (Data Drive) 2TB Samsung SSD 990 Pro.
    PSU
    850W Corsair RM850x 80 Plus Gold
    Cooling
    Just standard fans for both the case and CPU.
    Keyboard
    Unicomp Model M (IBM Style keyboard)
    Mouse
    Wired Mouse
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
  • Operating System
    Win 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 9 (16" Intel)
    CPU
    14th Generation Intel® Core™ i9-14900HX
    Memory
    32 GB DDR5-5600MHz
    Graphics card(s)
    NVIDIA® GeForce RTX™ 4080 Laptop GPU 12GB GDDR6
    Monitor(s) Displays
    16" WQXGA (2560 x 1600), IPS, Anti-Glare, Non-Touch, HDR 40
    Screen Resolution
    2560 x 1600
    Hard Drives
    First (Boot): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Second (Data): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Mouse
    Wired Mouse
    Keyboard
    Per-Key RGB-Coloured Backlit - English (UK)
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
No need for those solutions anymore. It seems to be fixed, cause I updated a couple of new graphics drivers, and it didn't change the resolution in registry like it would regularly up to one month ago, all fine now.
Problem still exists on my computer
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
Interesting...on mine it seems fixed since once month ago or even two. So it still affects some of the computers.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 26100.3775
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD Ryzen 9 7950X 16-Core Processor
    Motherboard
    ASUS ROG STRIX B650E-F GAMING WIFI (BIOS v3222)
    Memory
    XPG LANCER RGB 64GB DDR5 6400Mhz
    Graphics Card(s)
    Gigabyte GeForce RTX 4070 Ti OC GAMING 12GB rev 1.0
    Sound Card
    ALC4080 SUPREME FX
    Monitor(s) Displays
    GIGABYTE 27" QHD G27QC-A
    Screen Resolution
    2560x1440 (QHD)
    Hard Drives
    SAMSUNG 990 PRO 2TB M.2 NVME, SAMSUNG 980 1TB M.2 NVME, WESTERN DIGITAL BLACK 2TB 7200 rpm, SEAGATE BARRACUDA 1TB 7200 rpm
    PSU
    CORSAIR RMX SHIFT 1200W GOLD ATX 3.0
Yeah, plus when my screen turns off after ten minutes (because I set it like that), and when I move the mouse, my Chrome or Firefox windows would be small and resized, but my monitor resolution would still be the correct one, strange. And the little IDM window from the bottom right corner moves to the specific middle left side, always the same one, also strange, which never happened prior to updating to 24H2, it always remembered the position, and browser windows would never be resized after I move the mouse when the screen was off.
I've tried many suggestions to resolve and nothing has worked. My workaround is simple and resolves window shrinking... before your monitor goes to sleep, or you turn it off, change to another Desktop. Example, I run everything on Desktop 1 and before I turn off my monitor I change to Desktop 2. When I turn the monitor back on and change to Desktop 1, all my application windows are the same size and no shrinking.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 9 7900X
    Motherboard
    MAG X670E TOMAHAWK WIFI (MS-7E12)
    Memory
    64 GB
    Graphics Card(s)
    NVIDIA RTX A4000
    Monitor(s) Displays
    LG Ultragear
    Screen Resolution
    3840 X 2160
    Hard Drives
    Samsung SSD 990 PRO with Heatsink 2TB
    Keyboard
    KEYCHRON Q5 MAX
    Browser
    Firefox
I found a workaround:
1) Open Registry Editor (as admin) to the following path:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\
2) Delete all entries in this path (there should be at least two) Delete by clicking on item and press "Delete" and confirm if needed. Exit Registry Editor (File - Exit) and restart PC.
3) After system start/login reopen Registry Editor (don't let your PC go to screen saver/sleep first) to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\
There should now one be one registry entry. Click on tree arrow, then click on tree second arrow to view values. By clicking on each 00 the values will be displayed on the right side of Registry Editor. Note that there are some value pairs that match the resolution of your display.
4) Allow display to go into power save mode where is gets no signal, then wake system.
5) Open Registry Editor to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\GraphicsDrivers\Configuration\ again.
You will see a second entry now. This is a dummy monitor entry created by Windows for...reasons. You'll see the same value pairs as before, but with incorrect resolutions for your display.
6) Change the values in dummy monitor registry to match real monitor resolution. I found 4 sets. Double click on the value that needs to be changed, make sure that change the "Base" of the value to "Decimal", then enter the appropriate number.
7) After all changes have been made exit the Registry Editor and restart.

It works for me. Note: I only have one monitor (two video ports, but disabling the unused one didn't keep problem from occurring). Multi-monitor setups may be different?
I followed your steps today and this resolved the windows resizing problem. Thanks much for sharing. This looks like a simple fix for Microsoft and wonder why it is taking so long.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom
    CPU
    AMD Ryzen 9 7900X
    Motherboard
    MAG X670E TOMAHAWK WIFI (MS-7E12)
    Memory
    64 GB
    Graphics Card(s)
    NVIDIA RTX A4000
    Monitor(s) Displays
    LG Ultragear
    Screen Resolution
    3840 X 2160
    Hard Drives
    Samsung SSD 990 PRO with Heatsink 2TB
    Keyboard
    KEYCHRON Q5 MAX
    Browser
    Firefox
This solution was already posted by many members, but every time when you update the gpu drivers, you will have to repeat the steps with changing the resolution.
 

My Computer

System One

  • OS
    Windows 11 Pro 24H2 26100.3775
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD Ryzen 9 7950X 16-Core Processor
    Motherboard
    ASUS ROG STRIX B650E-F GAMING WIFI (BIOS v3222)
    Memory
    XPG LANCER RGB 64GB DDR5 6400Mhz
    Graphics Card(s)
    Gigabyte GeForce RTX 4070 Ti OC GAMING 12GB rev 1.0
    Sound Card
    ALC4080 SUPREME FX
    Monitor(s) Displays
    GIGABYTE 27" QHD G27QC-A
    Screen Resolution
    2560x1440 (QHD)
    Hard Drives
    SAMSUNG 990 PRO 2TB M.2 NVME, SAMSUNG 980 1TB M.2 NVME, WESTERN DIGITAL BLACK 2TB 7200 rpm, SEAGATE BARRACUDA 1TB 7200 rpm
    PSU
    CORSAIR RMX SHIFT 1200W GOLD ATX 3.0
This solution was already posted by many members, but every time when you update the gpu drivers, you will have to repeat the steps with changing the resolution.
Not always true.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell

Latest Support Threads

Latest Tutorials

Back
Top Bottom