DeskScene

DeskScene / Restore windows after undocking

Guide

Getting your windows back after undocking a laptop

Windows 10 & 11 · Updated August 2026

You pull the cable, everything piles onto the laptop screen, and when you dock again the pile stays. This is not a fault in your dock — it is what Windows is supposed to do on the way out, combined with the fact that nothing is responsible for the way back in.

What happens on the way out

Undocking removes displays from the desktop's coordinate space. Any window positioned on a display that no longer exists would be invisible and unreachable, so Windows relocates it to a screen you still have. On a laptop that means everything lands on the built-in panel, usually overlapping, often resized to fit.

That resize is worth understanding, because it is why re-docking rarely looks right even when windows do come back. A window that was 2400 pixels wide on an external monitor cannot stay 2400 pixels wide on a 1920-pixel laptop screen. Windows shrinks it. The original size is not stored anywhere — so even a perfect restore of positions gives you windows in the right places at the wrong sizes.

Why re-docking is a race

Reconnecting is not a single event. Over several seconds, in an order that varies run to run:

Whatever restores your layout has to act after all of that has settled. Act too early and windows get placed onto a display whose resolution is about to change, or onto one that hasn't appeared yet. This is the single most common reason an automatic restore "works sometimes".

Docks are not equal here

A DisplayLink dock drives displays through a user-mode driver rather than the GPU's own outputs, so its screens appear later than native ones and the settling window is longer. A native USB-C / Thunderbolt alt-mode dock connects the displays directly to the graphics card and comes back faster and more predictably. If your restores are erratic and you have a DisplayLink dock, that is the first thing to suspect.

The fixes, cheapest first

  1. Turn on the two multiple-display settings

    Settings → System → Display → Multiple displays, then enable both Remember window locations based on monitor connection and Minimize windows when a monitor is disconnected.

    The second one matters more than it sounds for docking. A minimized window has no position to lose, so it survives the undock untouched and comes back at its old size instead of a shrunken one.

    Limits: Windows 11 only. One remembered arrangement per monitor configuration, and it loses the race described above often enough to be noticeable.
  2. Dock the same way every time

    Windows keys its remembered arrangement to the monitor configuration it detects. Swap which monitor is on which port, use a different dock, or connect a screen directly one day and through the dock the next, and Windows sees a new configuration with nothing stored for it.

    Keeping cables consistent is free and removes a whole class of "it worked yesterday".

    Limits: no help at all for hot desks where the monitors genuinely differ between locations.
  3. Update the dock firmware, then the graphics driver

    Display renegotiation on reconnect is among the most frequently patched behaviours in dock firmware, and vendors ship updates long after the hardware is on sale. Do the dock first, the GPU driver second — in that order, so you can tell which one changed things.

    Limits: some vendors' updaters only run while the dock is attached to a supported model.
  4. Give the desktop a moment before you judge it

    If you restore a layout manually, wait until the taskbar has settled on the right screen. That is a reliable visual signal that the topology change is finished. Restoring while displays are still appearing is what produces windows stranded half off-screen.

    Limits: it is a workaround for a timing problem, not a fix for it.
  5. Keep the external display present even when undocked

    For a fixed desk where the laptop leaves but the monitors stay powered, a display emulator dongle on the dock keeps a display in the topology, so the collapse never happens. This suits a dock-that-stays-put far better than a bag-and-café workflow.

    Limits: your undocked laptop then has an invisible extra desktop that windows can get lost on — the opposite problem.

The part none of this solves

Every step above is about surviving the transition with one arrangement intact. That is the right goal if your desk setup never changes.

It is the wrong goal if the arrangement itself depends on where you are. Two screens at the office, one at home, three in the lab — each wants a different layout, and "remember the last state for this configuration" only gets you there if you happened to leave it in the right state last time.

What DeskScene does with this

You save an arrangement as a named profile and attach it to a monitor profile — a specific screen configuration. When that configuration appears, the layout it belongs to is applied. Dock at the office and the office layout returns; open the lid on the train and the single-screen layout takes over.

It waits for the display change to settle before it acts, restores maximized state rather than approximating it, and can launch the applications a profile needs if they aren't running.

See the docking demo Free seven-day trial, then €9.99 once. No subscription.

Worth knowing before you install: Store (UWP) apps can't be captured and windows running as administrator can't be moved by a normal program. Both are Windows rules that apply to every tool of this kind.