Power · Windows 11
Fix a PC that will not wake from sleep or hibernation
A PC that will not wake forces the worst fix there is: holding the power button and losing whatever was open. The cause is usually small — the keyboard and mouse were never given permission to wake it, a wake setting changed, or the display driver fails on the way back up so the PC wakes but the screen does not. Work out which of those you have first: a PC that ignores every input is a different fault from a PC that wakes to a black screen, and they fix in different places.
What you need
- A way back in, once. If the PC is asleep and unresponsive right now, hold the power button until it shuts down, then start it normally. Save anything important before you begin testing sleep again — you will be putting the PC to sleep on purpose, several times.
- Notes on how it fails. Which input you tried — keyboard, mouse, power button — and what the PC did: nothing at all, fans and lights but no picture, or a picture that never reaches the sign-in screen. Each answer points at a different section below.
- The keyboard and mouse plugged in directly, for laptops on the charger. A keyboard behind a hub or a dock may not be able to send a wake signal at all. Test with the simplest connection first.
Read the wake failure before you touch it
- Try the power button, briefly. One short press. If the PC wakes for the power button but not for the keyboard or mouse, the PC sleeps and wakes fine — the input devices simply are not allowed to wake it. That is the first fix in the next section.
- Separate a waking PC from a waking screen. If fans spin, lights come on, and you can hear the PC running but the display stays black, the PC has woken and the picture has not. Give it a full minute — a slow display handshake is common — then try waking the monitor itself. If the black screen is total and repeatable, the black screen guide covers the display side, and the driver step below covers the most common sleep-specific cause.
- Check which sleep states your PC even has. Open Terminal or Command Prompt and run
powercfg /a. It lists the sleep states available on this PC and the ones that are not, with a reason for each. Some newer laptops offer only a modern standby mode and no traditional sleep, which changes what the settings below can do. Microsoft documents the command in its powercfg reference.
The simple fixes, in order
- Allow the keyboard and mouse to wake the PC. Open Device Manager, expand Keyboards, right-click your keyboard, and choose Properties > Power Management. Check Allow this device to wake the computer. Repeat for the mouse under Mice and other pointing devices. If the Power Management tab is missing for a device, that device cannot wake this PC — use one that can, or the power button.
- Review the power and sleep settings. Under Settings > System > Power & battery, check the screen and sleep timings so you know what the PC is actually set to do, and set a short sleep time — two minutes — while you test, so each test takes minutes instead of half an hour. Microsoft covers these controls in How to adjust power and sleep settings. Restore your real timings when you finish.
- Update the graphics driver if the screen is the part that fails. A PC that wakes with fans running and a black screen is most often a display driver that did not recover from the low-power state. Update it from the card or laptop maker's own source; the graphics driver guide covers updating and, if the problem started right after an update, rolling back instead. Microsoft covers the manual route in Update drivers manually in Windows.
- Turn off Fast Startup if hibernation is the problem. If the PC fails to come back from hibernation or a shut-down-that-is-not-quite, open Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do, choose Change settings that are currently unavailable, and clear Turn on fast startup. Fast Startup hibernates part of the system at shutdown, and a fault in that saved state follows the PC from one start to the next until the setting is off.
The advanced route: powercfg and Event Viewer
- Ask Windows what woke it last — and what is allowed to. From an elevated Command Prompt — Terminal (Admin), or Command Prompt run as administrator, which
powercfg /waketimersbelow requires — runpowercfg /lastwaketo see what caused the most recent wake, andpowercfg /devicequery wake_armedto list every device currently permitted to wake the PC. If your keyboard is not in that list, the Device Manager permission above did not take, or the device cannot wake this PC. Runpowercfg /waketimersto see whether a scheduled task holds a wake timer — useful when the PC also wakes on its own at night. - Read the sleep events in Event Viewer. Open Event Viewer > Windows Logs > System and look for events from the Power-Troubleshooter and Kernel-Power sources around a failed wake. A wake that begins and then errors, or a resume that stops at the same point every time, names the stage that fails — and a driver named in those events is the one to update or roll back.
- Use hibernation or shutdown as a holding measure, deliberately. If wake still fails after all of the above, set the power button and the idle timer to hibernate or shut down instead of sleep while the fault is open. That is not a fix, and this guide does not call it one — it simply stops the forced power-button shutdowns and the lost work while you decide whether the next step is a BIOS or firmware update from the PC maker's support page for your model.
End state
- The PC goes to sleep and wakes for a key press or mouse movement, three times in a row, reaching the sign-in screen each time.
powercfg /devicequery wake_armedlists the keyboard and mouse you actually use.- Your normal sleep timings are restored in Power & battery settings.
When it goes wrong
- The PC wakes on its own in the night. The mirror-image fault, and the same tools read it:
powercfg /lastwakenames the culprit, andpowercfg /waketimersnames any scheduled task allowed to wake it. Remove that device's wake permission in Device Manager, or turn off Allow wake timers in your power plan's advanced settings. - It wakes, but your work is gone and Windows says it recovered. That means the PC did not resume — it crashed during sleep or wake and restarted fresh. Check Event Viewer for a Kernel-Power critical event, and treat it as a stability fault: the random restarts guide follows that trail.
- Nothing wakes it, not even the power button. A PC that needs the power held down, or the battery removed, to respond at all has a deeper power or firmware fault than a settings problem. Note whether it also struggles to start from a full shutdown — if it does, work it as a boot fault with the won't-boot guide.
Related fixes
-
Fix an NVMe SSD that disappears after sleep or under load
An NVMe drive that vanishes after the PC sleeps, or drops out under load, is usually a power-state, firmware, or driver problem rather than a dead drive. Change the power behavior first, update the drive and chipset next, and only then treat it as failing hardware.
-
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 Wi-Fi adapter that disappears after sleep and returns after a restart
A Wi-Fi adapter that vanishes from Settings and Device Manager after sleep, then returns after a restart, is usually being powered down to save energy and not waking back up. Stop Windows from turning the adapter off first, update or roll back its driver next, and treat a full restart as the workaround, not the fix.
-
Fix a PC that boots to a black screen with only a cursor
Wake the display, split the fault at sign-in, roll back the graphics driver in Safe Mode, and restart the desktop shell.
Sources
- Microsoft Learn, Powercfg command-line options — the powercfg command-line options, including /a, /lastwake, /waketimers, and /devicequery.
- Microsoft Support, How to adjust power and sleep settings — the screen and sleep timing controls in Settings.
- Microsoft Support, Update drivers manually in Windows — updating a device driver through Device Manager.