Guides
Windows move to the wrong monitor after sleep or wake: how to fix it
You wake the PC, log in, and every window is stacked on the main monitor. The other screens are empty or the windows are squeezed and resized. It is one of the most common multi-monitor complaints on Windows 10 and 11, and it is rarely a fault of your apps. This guide explains the cause, the Windows and monitor settings worth trying first, and how DisplayForge detects the scramble and puts every window back on its own.
-
Understand why windows move after sleep
When a monitor goes into power saving, many models, especially those connected over DisplayPort or USB-C, behave as if the cable was unplugged. Windows sees a monitor disappear, moves its windows to a screen that is still there, and when the monitor wakes a moment later the windows stay where they were moved. The same thing can happen when you unlock the PC, when a Remote Desktop session changes the resolution, or when the graphics driver restarts. Monitors may also wake up in a different order, so Windows can even swap Display 1 and Display 2.
-
Try the Windows and monitor settings first
On Windows 11, open Settings, System, Display, Multiple displays and make sure “Remember window locations based on monitor connection” is on. Many monitors also have an on-screen menu option named deep sleep, DP power saving or automatic input selection; turning it off can stop the monitor from disconnecting during sleep. Updating the graphics driver and the monitor firmware helps on some setups. These fixes are free and worth trying, but they are hit and miss: Windows 10 has no such setting, and Windows 11 does not always restore maximized windows or several windows of the same app correctly.
-
Turn on automatic restore in DisplayForge
Install DisplayForge, open Window Profiles and, under Automation, switch on Restore windows after monitor changes, sleep and unlock. From then on DisplayForge keeps a quiet snapshot of your windows for every monitor setup, refreshed every few seconds while things are stable. When three or more windows suddenly pile onto the main display without your monitor setup changing, the typical sign of a wake or unlock scramble, it restores the snapshot taken just before. When monitors drop out and come back, it waits for the setup to settle and then restores the snapshot for that setup.
-
Save a named profile as a safety net
Automatic snapshots follow whatever you were doing last. For the layout you always want, arrange your windows, click Save current and name the profile. In Profile options, assign a Hotkey so that one key combination fixes everything if something still goes wrong, and turn on Apply automatically when this setup connects so the profile wins over the automatic snapshot when your usual monitors come back. Because monitors are identified by device and model instead of the Display numbers, a swapped Display 1 and Display 2 does not confuse the restore.
-
Fine-tune what gets moved
Some apps should never be touched, such as a game launcher or a tool that positions itself. Add them to Never reposition by their program name, for example example.exe. Switch on Remember app positions as well: when an app closes, DisplayForge remembers where its window was, and the next time it opens it appears in the same spot on the same monitor. If a restore ever does something you did not want, Undo last restore puts the windows back.
Frequently asked questions
Does this also fix windows moving after Remote Desktop?
Usually, yes. A Remote Desktop session often changes the resolution and piles windows onto one screen. When you return to the console, the same scramble detection notices the pile-up and restores the earlier snapshot.
Will DisplayForge fight me when I move windows myself?
No. It only acts when several windows land on the main display within a few seconds while the monitor setup is unchanged, or after the monitor setup itself has changed. Normal dragging and snapping never trigger a restore.
Does DisplayForge need to be running?
Yes, it watches for monitor changes while it runs in the tray. Turn on Launch at startup in Settings so it is always there after a reboot. It works offline and sends nothing anywhere.