I have a Razer Deathadder mouse and a stock dell keyboard plugged into my system. When either or both is plugged in, my system wakes up from sleep. A powercfg -energy shows roughly 5 devices that are not entering suspend state, and among them is the Deathadder mouse, a "usb input device", and a "usb composite device". What can i do to make my system go to sleep and stay sleeping?

  • Can you clarify your question. If the keyboard and mouse are already plugged in does the system wake up, or are they disconnected and then plugged in which wakes the system? – ChrisF Dec 3 '09 at 12:43
  • Only if they're plugged in at the time of sleep does it wake back up. – RCIX Dec 4 '09 at 4:26

Doesn't the -devicedisablewake option to powercfg work?

powercfg -devicedisablewake NAME_OF_DEVICE

NAME_OF_DEVICE is the string you get from powercfg -devicequery wake_armed. To figure out which device caused the most recent wake-up from sleep state, do

powercfg -lastwake
|improve this answer|||||
  • I'll try those just a minute... – RCIX Dec 4 '09 at 4:10
  • When i try to run a powercfg -devicedisablewake NAME_OF_DEVICE (suitably replaced with device name) it tells me i do not have permission to enable or disable device wake even though i'm running as an administrator. Odd... – RCIX Dec 4 '09 at 4:12
  • I managed to fix it by finding the devices in the Device Manager and turning off their ability to wake from there. – RCIX Dec 4 '09 at 4:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.