How do I prevent Windows 7 laptop from waking up automatically?

About once or twice a week my laptop will wake up in the early hours of the morning (about 6ish) from sleep mode. This happens whether the AC power is connected or not. It will then turn itself off after a few minutes. The only way I can stop this happening is to shutdown the computer every night, but I would like to leave it in sleep mode if I can I don't have to wait ages for it to boot up in the morning.

I can't remember what days of the week it does this or if it's random, I've been shutting down windows every night for a while now. I have automatic defragment turned off and my virus scanner is only set to run at midday.

I know it's a windows 7 issue because it doesn't happen when I'm running linux. How do I find what's causing my laptop to wake and stop it from happening?


Solution 1:

Windows Update or Back-up and Restore shouldn't be doing this, search the root cause in your event log and also try the powercfg -lastwake command which will list what the last wake was.

enter image description here

Disable that option, see what powercfg -devicequery wake_armed lists and disable their wake.

enter image description here

Solution 2:

Your network card may be waking up your computer. Try disabling the "allow this device to wake the computer" option for it.

  1. Right click on your “My Computer” then select Properties.
  2. Click Device Manager on the left side of the Properties window.
  3. Check your Network card on the Network Adapters (Click on the + sign to expand).
  4. Right click on your network card and select properties.
  5. Go to the Power Management tab and untick the option there to prevent your network card from ever waking up your Windows.

Also, to see exactly what caused your computer to wake up last, go to a command prompt and type in the following:

powercfg – lastwake

That will give you detailed info on what woke up your computer. You can also try this command:

powercfg –devicequery wake_armed

Above Source: http://www.cravingtech.com/fix-windows-vista7-sleep-mode-from-waking-up-by-itself.html

If all that fails, maybe you have a Scheduled Task set to run and wake up your computer? Check Control Panel -> Scheduled Tasks and see if any are set to wake your computer up.

Solution 3:

It might be that you have windows update set to weekly updates, or that it's configured to weekly backups.

So check "Control Panel -> System and Security -> Backup and Restore" and "Control Panel -> System and Security -> Windows Update".

Another tip is to check "Control Panel -> System and Security -> Administrative Tools -> Task Scheduler" to see if there is something strange there.

last tip is to check after a forced wake up "Control Panel -> System and Security -> Administrative Tools -> Event Viewer" to see if anything registred at well 6'am.