Guides

How to set up a laptop with a docking station and external monitors

A docking station turns a laptop into a desktop with one cable, until you notice what happens around it: the main display jumps to the laptop screen, resolutions reset, brightness is wrong and every window is crammed onto one monitor. A good docking setup has three layers: the display settings, the window layout and a bit of automation. This guide covers the Windows settings worth changing and how WindowLayout handles the rest every time you dock and undock.

Updated 6 steps

  1. Choose and connect the dock properly

    Check how many external monitors your laptop supports through one port: Thunderbolt 4 and USB4 docks usually drive two 4K screens, while basic USB-C docks may limit a second screen to 30 Hz or mirror it. DisplayLink docks add screens through a driver and suit office work better than games. Update the laptop's graphics driver and the dock firmware. Connect the monitors to the dock with DisplayPort where possible, and make sure the dock's power supply can charge the laptop.

  2. Decide what the lid does

    If you work with the lid closed, open Control Panel, Power Options, Choose what closing the lid does, and set When I close the lid to Do nothing for Plugged in. Otherwise the laptop sleeps when you shut it. If you keep the lid open, decide whether the laptop screen is part of the desk or just a small extra screen for chat. In Display settings, arrange the external monitors, set Make this my main display on the one in front of you, and choose resolution and scaling for each.

  3. Save a display profile for the dock

    Windows often forgets which screen is the main display, or resets resolution and refresh rate after undocking. In WindowLayout, open Profiles and click Save current under Display profiles, for example as Desk. The profile records which monitors are on, their arrangement, resolution, refresh rate, orientation, scaling and the main monitor, matched by device and model rather than by Display number. If you keep the lid open but do not want the laptop screen in use at the desk, WindowLayout lets you switch it off in the Desk profile. Save another profile with only the laptop screen, for example as Mobile.

  4. Save a window profile for each setup

    Arrange your windows on the docked monitors, open Window Profiles, click Save current and name it Docked. In Profile options turn on Bind to this monitor setup and Apply automatically when this setup connects. Undock, arrange the windows on the laptop screen and save a Laptop profile with the same options. Now each monitor setup has its own layout, and If a monitor is missing decides where windows go when only part of the desk is available.

  5. Automate docking with triggers

    Open Triggers and add: A monitor is connected, Apply display profile, Desk. Add a second trigger for brightness, such as A monitor is connected, Set brightness 70, to bring the external screens to a comfortable level through DDC/CI. When monitors connect, WindowLayout waits for the setup to settle before acting, so the docks that bring screens up one at a time do not trigger a half-finished restore.

  6. Keep windows in place when you undock

    Windows 11's Minimize windows when a monitor is disconnected setting, under Display, Multiple displays, is useful if you would rather have windows minimized than squeezed onto the laptop. Under Automation in Window Profiles, switch on Restore windows after monitor changes, sleep and unlock, which keeps a snapshot for every monitor setup and puts windows back when that setup reappears. Turn on Launch at startup in Settings so it is running before you dock.

Frequently asked questions

Why does my laptop screen become the main display after docking?

Windows sometimes keeps the setting from the undocked state. A display profile with the right main monitor, applied by an A monitor is connected trigger, sets it back each time you dock.

I hot-desk with different monitors. Does that break my profiles?

No. Save one profile per desk. Monitors are matched by device and model, and If a monitor is missing scales windows onto another screen when a desk has fewer monitors.

Can I control brightness on monitors connected through a dock?

Usually yes over Thunderbolt or USB-C docks that pass DDC/CI through. DisplayLink docks often do not, in which case Software dimming works instead.