Tag: Sleep

Windows 7: Solutions to can’t sleep problems.

by
Inf

win7-logo

Hello folks. Sorry for lack of recent posts. Been taken up with uni lately. Anyway, I have recently migrated to Windows 7. I have to say Microsoft has done a magnificent job this time, especially when I compare Win7 and Vista. Performance on Win7 is awesome. And there are lots of usability improvements, which makes 7 a very nice software.

However, I was having a problem: I couldn’t manually sleep my computer. If I did it from the Orb/Start menu, the screen would turn off, the PC would shut for like a millisecond, before starting back up, and prompting me for login.

Turns out there are a few things that can cause this error, and they are easy to troubleshoot. Try these steps if you are having the same problem as me.

1) Update your drivers.

This should be pretty obvious. An old driver might be causing an issue. So just update your drivers, specially for your video card and it should correct any problem. If it still doesn’t work, move on.

2) Try to see which requests are keeping the PC on.

Open a Command Prompt. You can do it by typing “cmd” from the Run menu, or simply open the Start Menu, and type “Command Prompt” in the “Search Programs and Files” bar.

Type this command: “powercfg -requests” without quotes. Then press Enter. You will see a list of programs that could be making requests. Windows Media Player is a usual culprit. Just close them, and it should work. If you have “None.” marked, move on.

3) A specific device is keeping the PC from sleeping

Still in the command prompt, type “powercfg -devicequery wake_armed”. You will see a list of devices that can wake up your PC. For me, I got my Network card, Keyboard and Mouse in that list. Turns out it was my mouse that was responsible for waking up the machine.

What to do? Simple: Go to device manager ( Start Menu – Control Panel (View by: Large Icons, top right)  – System – Device Manager (left sidebar) ). Find your device that you think is causing the problem. For me it was the mouse, but I had to try disabling each individually. So, find your mouse in that list, e.g. Mice and other pointing devices, right-click it, choose Properties and go to the Power Management tab. Uncheck the box “Allow this device to wake the computer“.

Validate the windows with Ok, close Control Panel, and you should be all ok. Try sleeping your computer now.

That’s it for this small guide. I hope it helps you. Step 3 solved my problem. My computer now sleeps when I want it to sleep. 🙂