Windows rearrange when the monitor turns off because your PC thinks the display was unplugged. When a monitor sleeps or you press its power button, it can stop reporting itself to the computer. Windows sees a missing screen, moves every window onto the one that is left, and often leaves them there when the monitor comes back. It is most common over DisplayPort, but HDMI setups can do it too. You can stop it five ways: a Windows 11 setting, a monitor menu option, a different cable, a window manager, or a device that keeps the display signal alive.
Quick answer: A sleeping or powered-off monitor stops reporting itself, so Windows treats it as unplugged and moves your windows. Turn on "Remember window locations based on monitor connection" in Windows 11 first. If that is not enough, try HDMI instead of DisplayPort, disable deep sleep or hot plug detection in the monitor menu, or use PowerToys FancyZones. A hub that holds the display signal, like the Gitfos C1Pro, handles it at the source.
Why Windows rearrange when the monitor turns off
Windows treats a monitor that stops reporting itself as a monitor that was unplugged. Every display sends a hot plug signal and an EDID (Extended Display Identification Data, the handshake a monitor uses to tell your computer what it is). When a monitor sleeps or loses power, some of them drop that signal. Windows reads the drop as a cable pull and moves your windows to the remaining screen.
Microsoft calls this behavior Rapid Hot Plug Detect (Rapid HPD) and ties it to DisplayPort setups.
Which fix to try first
Start with the free software fixes and move to hardware only if they fail.
| Order | Fix | What it does | Where it falls short |
|---|---|---|---|
| 1 | Windows 11 location setting | Restores windows to their monitor after it returns | Windows 11 only, and it is on by default |
| 2 | Monitor menu option | Turns off deep sleep or hot plug detection | Not every monitor offers it |
| 3 | HDMI instead of DisplayPort | Avoids the DisplayPort hot plug behavior | Not guaranteed, and adapters rarely help |
| 4 | PowerToys FancyZones | Moves windows back into saved zones | Fixes the symptom, not the cause |
| 5 | EDID emulator or EDID-holding hub | Keeps the PC seeing a display | Extra hardware, and it only covers the signal it controls |
Fix 1: Turn on Remember window locations in Windows 11
This Windows 11 setting is the fastest fix, and it is worth checking even though it is on by default.
- Open Settings, then System, then Display.
- Expand Multiple displays.
- Check Remember window locations based on monitor connection.
- Optionally check Minimize windows when a monitor is disconnected.
With both options on, Windows minimizes windows when a screen disconnects and puts them back in their old positions when it returns.
Fix 2: Change the monitor setting or the cable
A monitor menu option or an HDMI cable fixes this on many setups, but neither is guaranteed.
Open the monitor's on-screen menu and look for deep sleep, hot plug, or auto-detect options. Then try HDMI in place of DisplayPort.
Fix 3: Use PowerToys FancyZones to snap windows back
PowerToys FancyZones does not stop Windows from moving your windows, but it can put them back afterward.
Install Microsoft PowerToys, create a zone layout, and snap your windows into it. Then turn on the option Keep windows in their zones when the screen resolution changes.
Fix 4: Keep the display signal alive
An EDID emulator or a hub that holds EDID removes the cause, because the PC never sees the display disappear.
An EDID emulator (sold as a dummy plug or detect killer) sits in the video path and keeps reporting a display to the PC. A hub can do the same for a screen you blank on purpose. The Gitfos C1Pro has a Smart Button for this. One click (blue light off) turns off the HDMI picture but keeps the EDID, so Windows still believes the monitor is online and your window layout stays put. Setup steps are on the C1Pro user guide page.
| C1Pro item | Spec | Why it matters here |
|---|---|---|
| HDMI output | 1 port, 4K @ 60Hz | The only port that carries video |
| Power | 65W DC adapter, required | The hub does not run without it |
| Smart Button, single click | HDMI output off, EDID kept | Window layout stays in place |
What these fixes do not do
None of these fixes is universal, and the C1Pro has limits you should check before relying on it.
- Only the HDMI port carries video. The USB-A and USB-C ports do not output video, even with an adapter.
- The hub needs its 65W DC power adapter connected. It has no bus-powered mode.
- The Smart Button covers a screen you blank from the hub. If your monitor drops its own signal when it sleeps or you press its power button, use the Windows 11 setting, the monitor menu option, or PowerToys FancyZones instead.
Frequently asked questions
Most of these questions come down to one cause: Windows thinks the display was unplugged.
Why do my windows move when I turn off my monitor?
Windows thinks the monitor was unplugged. A monitor that powers off can stop sending its hot plug and EDID signals, and Windows reacts by moving every window to the remaining display. It does not usually move them back on its own.
Does HDMI fix windows moving when the monitor sleeps?
It often helps, because the problem is most common over DisplayPort. It is not guaranteed. Some monitors drop their signal over HDMI as well, and adapters usually do not hide the drop from the PC. Try HDMI first, then move on to the other fixes if windows still jump.
Is this a Windows bug or a monitor problem?
Both play a part. Microsoft has documented the behavior as Rapid Hot Plug Detect on DisplayPort setups. Windows reacts to the signal it receives, and some monitors send a disconnect signal when they sleep. Fixing either the signal or the reaction keeps your layout in place.
How do I stop my desktop icons from moving when a monitor turns off?
Icons move for the same reason windows do, because Windows thinks the display left. The same fixes apply. Start with the Windows 11 setting for window locations, then try the monitor menu, an HDMI cable, or a device that keeps the display signal alive.
What is EDID?
EDID stands for Extended Display Identification Data. It is the information a monitor sends to your computer to say what it is, including its maker, supported resolutions, and refresh rates. When a monitor stops sending it, Windows can treat the display as removed.
Next steps
Start with the Windows 11 setting, then try the other four fixes in order until your layout holds. If you want the display signal held at the source, see the Gitfos C1Pro, browse more hubs and charging options, or reach the team through the support center. More fixes live in the Support blog.
