When I quit for the day on my PC I always used "sleep" instead of shutdown. The monitor would go black and after a few seconds the power would shut down. That was normal. Now when I tell it to sleep the monitor goes black, the PC never powers down and after about 10 seconds does like a mini reboot then comes back on including the monitor. I have uninstalled any recent software that I've loaded. Even though I had my hard drive and monitor settings to never go to sleep from inactivity I was still able to tell it to sleep when quitting for the day. I am using Windows 10. I built this PC a year or so ago, so it's not a name brand. Everything else on my computer is OK except for this sleep issue. I can always tell it to "shutdown" but I would much rather have it go into sleep mode. Any help will be much appreciated. If there is any more info you need let me know. Thanks.

Dani AI

Generated

Good catch, — a replaced mouse that reset the device wake permission is one of the most common, easily overlooked causes. For others who land on this thread: start by isolating hardware (unplug nonessential USB devices, as suggested) and then run a few quick checks to find the actual wake source. Microsoft documents the same workflow for diagnosing wake problems. (support.microsoft.com)

Quick, repeatable diagnostic steps:

Run a command that shows what most recently woke the PC, then list which devices are currently allowed to wake it. If a device is named, either uncheck its Power Management “Allow this device to wake the computer” box in Device Manager or revoke it from the command line. Example commands that reliably help are:

powercfg /lastwake
powercfg /devicequery wake_armed
powercfg /devicedisablewake "Device Name"

These powercfg options and their use are documented by Microsoft. (learn.microsoft.com)

Common follow-ups that usually fix the problem:

  • If a network adapter is the culprit, either disable its wake permissions or set it to “only allow a magic packet” (Wake‑on‑LAN can be triggered by normal network traffic unless restricted). Also check for BIOS/UEFI WOL settings. (learn.microsoft.com)
  • Check for scheduled wake timers and tasks (Task Scheduler tasks can have “Wake the computer to run this task” checked); disabling wake timers in the power plan is a safe test. (support.microsoft.com)

Practical cautions and tips: disabling wake for keyboard/mouse means you’ll need to use the case power button to wake the PC; keep drivers and firmware updated because installs or new devices can reset permissions; if you prefer not to debug sleep, hibernate is an alternative with different tradeoffs. These steps mirror what worked for and extend the troubleshooting to network, scheduled tasks, and firmware sources. (support.microsoft.com)

Recommended Answers

All 6 Replies

Thanks, I was not aware of that. I'll look into it and see if they have a a solution.

Not to leave you to read forever. Think about any changes, such as some USB thing. In fact, shutdown, unplug power, all USB things and then power up. Plug in the keyboard and mouse (laptop, doesn't apply.) and then try again.

That happens a lot when you give them cookies right before bed time. It's something to do with the sugar, rookie parent mistake.

Also check for running processes that cause nightmares, preventing a good night's sleep. You can check by running powercfg -requests from an admin command prompt.

Hey rproffitt - Wanted to let you know I figured out the problem. I spend hours yesterday going through all the different suggestions on what could fix my sleep issue. None of them worked. Went to bed frustrated. Woke up this morning and fixed it in 5 minutes. While going through all the different suggestions to try yesterday I noticed my "allow the device to wake the computer" setting in Device Manager for the mouse was checked. Didn't think much of it at the time. This morning it hit me. I turned that off a long time ago. I replaced a bad mouse about a month ago. I'm guessing when I replaced ithe mouse with the new one the driver reset that setting to on. As soon as I unchecked it BOOM my computer now goes to sleep. Thanks for your suggestion to Google my problem. I may have taken the long road there, but it did lead me to my fix.

commented: Good to read it was one of the more common settings. +12

I guess its better to have it on "Hibernate Mode"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.