Power & display · Windows 11
Fix a monitor that wakes the PC from sleep when the monitor turns off
The PC sleeps — then the monitor's own power-saving kicks in, the screen goes dark, and the PC wakes straight back up. The monitor switching off is being read as a wake event. Find which device reports it, remove its wake permission, and both can sleep at once.
What you need
- Administrator access. The wake reports run from an administrator prompt.
- Your normal monitor connection. Test with the cable and dock you actually use — the connection is part of the problem.
- Two or three sleep tests. Each change gets one sleep-and-monitor-off cycle.
Read the problem before you touch it
- Understand the chain of events. Sleeping the PC and the monitor switching off are two separate power events. When the display turns off, the connection between PC and monitor changes state — and on some setups a device in that chain, a dock, a USB hub in the monitor, or the network, is allowed to wake the PC and does. Microsoft's overview of the power states in Shut down, sleep, or hibernate your PC explains what each state allows to wake the machine.
- Ask what woke it, right after it happens. When the PC wakes as the monitor turns off, open an administrator Command Prompt before sleeping it again and run
powercfg /lastwake. Note the device it names. Microsoft documents the option in Powercfg command-line options — that named device, not the monitor glass itself, is what you will adjust.
The simple fixes, in order
- Align the two timers for a test. Open Settings > System > Power & battery > Screen and sleep and set the screen to turn off a few minutes before the PC sleeps, for one test. Microsoft covers these timings in Power settings in Windows 11. If the PC then sleeps cleanly after the screen is already dark, the wake was the monitor's power-off moment landing during sleep.
- Unplug the monitor's USB cable for one night. Many monitors have a USB cable for their built-in hub, separate from the video cable. Unplug that USB connection for a test sleep. If the PC stays asleep, the monitor's hub or something plugged into it was the wake source — reconnect later and move wake-capable devices off the monitor hub.
- Test without the dock if you use one. Connect the monitor directly to the PC for one sleep test. Docks sit in both the display and USB chains, and a dock reacting to the monitor's power-off can wake the PC through either.
The advanced route
- Remove the named device's wake permission.
powercfg /devicequery wake_armedlists what may wake the PC. Find the device/lastwakenamed — or the monitor hub or dock device — open it in Device Manager, and on its Power Management tab clear Allow this device to wake the computer. Keep keyboard and power button as your deliberate wake sources. - Check Modern Standby behavior on newer laptops. On a laptop, run
powercfg /ato see which sleep states exist. If the machine uses Modern Standby, Microsoft's description in Modern Standby explains why connected devices can still prompt brief wakes with the screen off — in that case the device wake permissions above matter more than the sleep timer. - Update the graphics and dock drivers. If the wake source names the display adapter or changes every time, update the graphics driver from the PC maker's support page and any dock firmware the dock maker offers, following the driver route in Troubleshoot external monitor connections in Windows. A driver that mishandles a display power-off can log it as activity worth waking for.
End state
- The PC stays asleep after the monitor turns itself off.
- The PC has not woken itself overnight — if you do wake it and check,
powercfg /lastwakenames no monitor-related source. - You can still wake the PC deliberately with the keyboard, mouse, or power button.
When it goes wrong
powercfg /lastwakenames a hub or a device you do not recognize. Work through Device Manager's list by connection: the named device is often the monitor's USB hub or the dock. Removing wake permission from it does not stop it working while the PC is awake.- The PC wakes instantly, every time, monitor or not. Then the monitor was a coincidence and a different wake source fires constantly — list wake-armed devices and wake timers and work the one that fires, rather than the display chain.
- You need the monitor hub's devices while awake. Removing wake permission does not disable the hub; its keyboard, drives, and accessories still work normally whenever the PC is on. Only its power to wake the PC is removed.
Related fixes
-
Fix a PC that wakes itself from sleep in the middle of the night
A PC that wakes itself at night is almost always obeying an instruction: a wake timer, a scheduled task, or a device allowed to wake it. Ask Windows what woke it last, then switch off that one permission instead of disabling sleep altogether.
-
Fix a DisplayPort monitor that is not detected after the PC wakes
DisplayPort monitors that vanish after sleep are usually caught in a handshake failure: the PC wakes, asks for the display, and the monitor answers too slowly or not at all. Wake the monitor first in the right order, reseat the cable next, then change the settings that govern the handshake.
-
Fix a PC that turns itself back on after you shut it down
A PC that restarts itself after shutdown is almost always being woken, not haunted: a wake timer, a network card allowed to wake it, or Fast Startup turning shutdown into a kind of hibernate. Find which wake source fired, then turn that one off.
-
Fix a window that opens off-screen after a monitor is disconnected
When a monitor is unplugged, Windows can leave a window positioned on the screen that is no longer there. The app is running — its window is just drawn where you cannot see it. Move it back with the keyboard first, then reset the display arrangement so it stops happening.
Sources
- Microsoft Support, Shut down, sleep, or hibernate your PC — what each power state does and what it allows to wake the PC.
- Microsoft Support, Power settings in Windows 11 — screen and sleep timings and the power settings that govern them.
- Microsoft Learn, Powercfg command-line options — the /lastwake and /devicequery options for finding wake sources.
- Microsoft Learn, Modern Standby — how Modern Standby handles connected devices while the screen is off.
- Microsoft Support, Troubleshoot external monitor connections in Windows — cable, dock, and driver checks for external displays.