Windows Forgets Your Monitor Layout After Sleep? Here’s the Fix
You wake the PC and the desktop has rearranged itself: windows piled onto one screen, a monitor in the wrong place, sometimes a display missing entirely. Sleep is the single most common way a good multi-monitor setup gets scrambled — here’s why it happens and how to make recovery a one-click habit.
Why Sleep Scrambles Your Layout
A DisplayPort monitor in deep sleep doesn’t just go dark — to Windows it can look unplugged. Windows responds the way it does to any unplugged display: the desktop collapses onto the remaining screens, open windows are herded onto the primary monitor, and the display order is rebuilt from whatever is present when the machine wakes. When the sleeping panel finally checks back in, it is treated as a new arrival and slotted in wherever Windows decides — not necessarily where you left it.
This isn’t theory: in the SourceForge discussion, users describe monitors that disappear from Settings > Display entirely while in standby, and the remaining monitors being renumbered (2, 3, 4 becoming 1, 2, 3) depending on whether the sleeping screen is present — which also breaks profiles saved against the other numbering state. HDMI connections are usually better behaved; DisplayPort deep-sleep behaviour varies by monitor model and firmware.
Fix 1: Stop the Monitor from Vanishing
Most gaming and prosumer monitors have a power-saving setting in their on-screen menu — names vary by vendor (Deep Sleep, Power Saving, Eco mode). Turning the DisplayPort deep-sleep option off keeps the connection logically alive while the panel sleeps, so Windows never sees a disconnect. The trade-off is a small amount of extra standby power. Menu names and locations are vendor-specific; check your monitor’s manual for its power section.
Two connection types deserve a footnote. HDMI monitors usually stay enumerated while asleep, which is why mixed DP+HDMI setups often lose only the DisplayPort screens. And if one of your ‘monitors’ is a TV, its own auto-power behaviour (switching itself off when the input goes quiet) creates the same disconnect from the other direction — the fixes on this page apply to it equally.
Fix 2: Let Windows 11 Put Windows Back
On Windows 11, open Settings > System > Display > Multiple displays and enable “Remember window locations based on monitor connection”. With it on, when a monitor reconnects Windows moves its windows back to it. Be clear about what it does not do: it restores window positions, not your display topology — if Windows rebuilt the layout itself (wrong primary, wrong arrangement), this setting won’t undo that. That’s the profile’s job, next.
Windows 10 has no equivalent setting — on Windows 10 the profile restore in Fix 3 below is the whole answer, which is one more reason to set it up now.
Fix 3: Make a Profile the Source of Truth
Save your correct layout as a Monitor Profile Switcher profile while everything is arranged properly (tray icon > Save Profile). After a bad wake, one tray click — or your profile’s hotkey, see the hotkey guide — puts resolutions, positions, enabled states and the primary display back in one move, instead of a trip through Settings. If a profile itself refuses to load after sleep, the cause is usually the ID churn described in our ‘Failed to load profile’ guide: re-save the profile once with all panels awake.
Going Further: Apply the Profile Automatically on Wake
If the scramble happens every morning, automate the restore. The command-line build can load a profile from a script — MonitorSwitcher.exe -load:Work.xml — and Task Scheduler can fire it on workstation unlock. Our command-line guide covers the syntax and the startup-folder alternative; add a short delay (10–20 seconds) so slow monitors finish waking before the profile is applied, and make sure all panels are actually awake and detected first.
If the scramble only happens sometimes, look at wake order: a slow monitor that checks in after Windows has already rebuilt the desktop gets appended wherever there is room. Waking the monitors a few seconds before the PC itself (many people do this naturally by switching on a power strip first) removes most of the randomness, because every display is present when Windows makes its decision.
Laptop owners get a special case: closing the lid is a topology change too. If windows migrate when the lid closes and don’t come back on open, that is the same rebuild happening with the internal panel as the disappearing display — the profile restore fixes it the same way, and our docking guide covers the lid-specific settings (including the “Lid Closed” profile trick).
One More Check
If a monitor is missing after wake rather than merely moved, open Settings > System > Display > Multiple displays and click Detect. A panel that fell off the bus has to be re-detected before any profile — or Windows itself — can put it back. Persistently wrong numbering after wake is its own topic: see why your monitor numbers are in the wrong order.
One neighbouring case this guide does not cover: the PC never sleeps, but you turn a monitor off — or switch its input — and everything moves anyway. That is DisplayPort hot-plug behaviour, and it has its own fixes in why Windows moves all your windows when a monitor is turned off.
Keep Going
- ‘Failed to load profile’ — when the wake-up scramble also breaks the profile itself
- Monitor numbers in the wrong order — why 2, 3, 4 become 1, 2, 3 after standby
- Troubleshooting hub — all MPS fix guides in one place
