If your Windows PC goes to sleep but will not wake when you press a key, move the mouse, or open the lid, a device or power setting may be preventing it. The steps below help you check the wake controls, restore keyboard or mouse wake, and identify whether the problem is actually sleep, hibernation, or a display issue. You’ll need access to the PC and, for some steps, an administrator account.
What You’ll Need
- A Windows PC with a connected keyboard, mouse, or other intended wake device.
- Access to Windows Settings and Device Manager; administrator permission may be required to change some settings.
- If the PC is a laptop, its charger may help if the battery is low. Keep the lid open while testing unless you specifically want it to wake with the lid closed.
Step-by-Step
- Confirm the PC is asleep, not shut down. Press the power button briefly once; do not hold it down. Wait several seconds and look for a sign of activity, such as a power light or fan. A long press can force a shutdown and risk losing unsaved work. If the PC starts from a full shutdown, it was not merely asleep.
- Try the normal wake controls. Tap a key on the built-in keyboard or a wired USB keyboard, then try moving or clicking the mouse. On a laptop, open the lid and press a key. A Bluetooth keyboard or mouse may disconnect or power down during sleep, so test with a built-in or wired device if possible. Avoid repeatedly pressing the power button.
- Check whether only the display is off. Give the PC a moment, then press a key and adjust the monitor’s brightness. Check that the monitor is on and set to the correct input, and make sure its cable is firmly connected. If you hear Windows sounds or see activity lights but the screen stays black, troubleshoot the display connection rather than changing wake permissions.
- Allow the keyboard or mouse to wake the PC. If you can sign in, right-click Start and open Device Manager. Expand Keyboards, right-click the keyboard you use, and select Properties. If a Power Management tab is available, select Allow this device to wake the computer, then select OK. Repeat under Mice and other pointing devices for the intended mouse. Some devices or drivers do not show this option; do not assume a missing tab means the PC is faulty.
- Check what Windows permits to wake the PC. Open Windows Terminal or Command Prompt as administrator and run
powercfg -devicequery wake_armed. This lists devices currently allowed to wake the computer. To see devices Windows recognizes as wake-capable, runpowercfg -devicequery wake_programmable. If your keyboard or mouse is absent from the first list but present in the second, return to its Device Manager properties and enable wake permission if the option is available. Only change settings for devices you intend to use. - Review power and lid settings. In Windows 11, open Settings > System > Power & battery; in Windows 10, open Settings > System > Power & sleep. Check that the PC is set to sleep rather than shut down after the chosen idle period. For a laptop, search Start for Control Panel, then open Hardware and Sound > Power Options > Choose what closing the lid does. Check the plugged-in and battery actions. If you want wake-on-lid-open, leave the lid action set to Sleep, not Hibernate or Shut down, and test with the lid open first. Available options vary by PC.
- Test a simple sleep cycle. Save your work, select Start > Power > Sleep, wait about 30 seconds, then tap the built-in keyboard or use the power button briefly. If this works but automatic sleep does not, the issue may be a sleep timer or an app preventing idle sleep. If manual sleep also fails, continue to the troubleshooting steps below.
Common Mistakes
- Holding the power button down instead of pressing it briefly. A long press usually forces the computer off; it is not a normal wake command.
- Testing with a Bluetooth device that has disconnected, a wireless receiver in an inactive port, or a keyboard that is not wake-enabled. Try a built-in or wired device first.
- Changing multiple power settings at once. Make one change, test, and note the original setting so you can undo it.
- Assuming a black screen always means the PC is asleep. A monitor input, cable, graphics driver, or display wake problem can look similar.
- Closing a laptop lid while testing. The lid action may hibernate or shut down the PC, depending on its settings.
Tips
- Use the built-in keyboard or a wired USB keyboard as a dependable test. Some desktops also support waking with a mouse click; others do not.
- Save documents before testing sleep. If the computer is unresponsive, wait briefly and try the power button once before considering a forced shutdown.
- After Windows updates, check Device Manager again if wake behavior changes. Updated or replaced drivers can alter which device options are available.
- For a desktop, connect the wake keyboard or mouse directly to the PC rather than through an unpowered USB hub while troubleshooting.
Troubleshooting
No response to keyboard or mouse: Try another USB port and a wired device. If you can restart and sign in, check the device’s wake permission in Device Manager and compare it with the wake_armed list. If no usable wake device is available, press the power button briefly to resume, then configure a supported device.
The PC wakes, but the screen stays black: Check the monitor’s power, input selection, cable, and laptop brightness. Disconnecting and reconnecting an external display cable may help, but avoid unplugging power or display connections while the PC is actively saving or updating.
The PC wakes immediately after sleeping: A mouse movement, network activity, scheduled task, or another wake-enabled device may be responsible. Run powercfg -lastwake in an administrator terminal after an unexpected wake to see the reported wake source. The result may be incomplete, but it can point to a device to check. Disable wake permission only for devices you do not need for waking.
The power button does nothing: Wait a minute and check for signs of activity. If the PC remains completely unresponsive, a forced shutdown may be necessary: hold the power button until it turns off, then turn it on again. This can discard unsaved work, so use it only as a last resort. If the issue repeats, install available Windows and manufacturer-provided device or firmware updates, following the PC maker’s instructions. Avoid changing firmware settings unless you understand their effect.
The PC uses hibernation or shuts down instead: Check the lid action and power settings, then verify whether Sleep is available from the Start menu. Some PCs use Modern Standby or do not support every sleep state; available behavior depends on the hardware and firmware. If the sleep option is missing or the computer repeatedly fails to resume, consult the PC manufacturer’s support information.
Frequently Asked Questions
Can I wake my PC with the keyboard?
Usually, if the keyboard supports wake and Windows allows it. Enable Allow this device to wake the computer in Device Manager when that option is available.
Can a mouse wake a sleeping PC?
Often, but not on every PC. Enable its wake permission if offered, and check that it appears in powercfg -devicequery wake_armed.
How do I wake a laptop without opening the lid?
Use a wake-enabled keyboard, mouse, or other supported device. Whether an external device works with the lid closed depends on the laptop, its power settings, and its hardware.
Why does my PC wake as soon as it goes to sleep?
A device, scheduled task, or network activity may be waking it. Run powercfg -lastwake after it wakes unexpectedly, then review the reported device and its wake permission.
Is it safe to hold the power button to wake my PC?
No. A brief press may wake it, but holding the button typically forces a shutdown and can lose unsaved work. Use a key, mouse, or brief press first.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Schedule Work Profile Android Phones
- How to Use Microsoft Copilot on Mobile
- How to Enable ChatGPT Plugins and Use Them
- How to Print PowerPoint Slides With Notes
- Fix This App Was Blocked for Your Protection in Windows
- Windows Backup and Restore Stuck? What to Do