Home » Questions » Computers [ Ask a new question ]

Windows 7 won't stay asleep, how to disable keyboard and mouse?

Windows 7 won't stay asleep, how to disable keyboard and mouse?

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?

Asked by: Guest | Views: 37
Total answers/comments: 1
Guest [Entry]

"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"