Sometimes there are several things in parallel behind a problem, which was my case. There were several things that woke my laptop at night occasionally. I had to alter all these:
- LAN-card, Wifi-card: Switch off network card "Allow this device to wake the computer"
- Logitech wireless mouse: Switch off "Allow this device to wake the computer"
- Mouse/keyboard in Logitech unifying controller "Allow this device to wake the computer"
- Hard drive maintenance schdeuled at 03:00 AM(defragmenter)
- Windows Backup scheduled at 03:00 AM
- Windows Update scheduled at 02:00 AM
- Windows Time synchronisation
- Multimedia streaming
- Shared folders on the hard drive
I changed the settings in the Network Card properties, Mouse properties, Time settings, Windows Backup. I also run command prompt: powercfg /waketimers.
Then I went through all the sub folders of in Task Scheduler, and modified all remaining tasks to run during weekdays, at lunch time or at dinner time. I've also set to have an idle period of 15 minutes, and to stop if I resume using the laptop. For example windows backup slows down my hard drive access, and I don't want it to interrupt my work, and it will run next day anyway. See the two screenshots below.
Start menu\*Task Scheduler*\[tasks]\*Trigger*\*Daily At 03:00 AM every day*
Start menu\*Task Scheduler*\[tasks]\*Conditions*\*Wake the computer to run this task**
I like to wake up my laptop with the mouse and keyboard, but then I disabled the mouse. It woke the laptop even just by shaking the table a bit, and sometime even without movement (probably due to the wireless connection of the mouse). So now, I stick to the space bar (it is a wired external keyboard).
Otherwise, I have Windows 8 Pro, on a 2013 model Sony S13 laptop, with UEFI bios.