How to schedule a Windows task on wake?

Solution 1:

You should definitely go for the "event" option. You could try the event with the following properties:

Event-Log: System
Source: Power-Troubleshooter
Event-Code: 1

This one is issued every time the system wakes up from sleeping mode (suspend-to-ram). Not sure if it will work for hibernate.

Also if this event is not good for any reason, you could try finding other events. Just send your system into sleep mode, wake it up, and then look for anything related to power in the "System" event log.