Windows 8 desktop wakes up immediately after sleep due to keyboard/mouse

sleepwindows 8

I have a desktop computer. I recently formatted it and installed Windows 8 64-bit. All works well, except 1 problem: If I try to put it to sleep, it sleeps and immediately wakes up. It worked correctly on the same machine with Windows XP. It happens any way I initiate sleep – through menu, keyboard button, or after 30 minutes.

I have traced the cause to USB keyboard/mouse:

  • Each such incident produces a system event log (source: Power-Troubleshooter) The system has returned from a low power state. Wake Source: Device -USB Root Hub
  • If I click "sleep" and immediately disconnect keyboard+mouse, then problem doesn't occur: the computer goes to sleep and doesn't wake up immediately.

Additional notes:

  • Motherboard: ASUS , latest BIOS version: AMI 0702, 8/27/2010 (was: 0517, 10/30/2008)
  • Keyboard: Logitech MK260 (wireless keyboard+mouse). Problem also happens with a wired USB Dell keyboard and Microsoft mouse (each separately).
  • Keyboard+mouse are the only USB device. However, problem doesn't happen with other device – tested with a disk-on-key.
  • Device manager has a weird system device called "ATK0110 ACPI UTILITY", which got installed automatically with a 2004 driver from Windows Update. It is claimed to be unnecessary, but it comes back if I remove it.
  • I have disabled all power-on options in the BIOS.
  • In advanced power settings, I have disabled "USB selective suspend setting" and "Allow wake timers".

Best Answer

From How to Fix a Computer that Keeps Waking Up:

  • To find out which devices can wake up the machine, on the command line run: powercfg -devicequery wake_armed
  • To disable them: Device Manager (devmgmt.msc), select the device, properties -> Power Management -> uncheck Allow this device to wake the computer
Related Question