Sleep Probelm in Windows 7
I currently had a issue with Windows 7 that was just driving me crazy. I had my systems power profile setup to put my computer into SLEEP mode whenever I shut the laptop lid. This use to work great in Windows 7, but for some reason that stopped working for me. Every time I would close the lid to put the computer into sleep, it would shut down, then restart right back up and come out of sleep.
I did a little research on the internet and found that this could be cause because a device I have connected to my PC is waking the computer. To figure out which devices have this property setup for them you can run this command from the command prompt.
powercfg -devicequery wake_armed
This will list the devices that are allowed to wake your computer from sleep. I found that my USB mouse was setup this way. To fix the issue you can go to your Device Manager, right click on the device that is waking your computer and select Properties. Next you will select the Power Management tab and uncheck “Allow this device to wake up ... ”.



