After going to stand by, the system did not wake up after a minute plus.

In the end I had to manually moved the mouse to wake the system. Once my Windows started, I saw the second part of my code execution. Pretty much after 10 seconds, I saw my MouseMove to the middle of the screen and then the pop up of a message box.

Looks like the script stopped executing after the system goes into stand by and does not continue until it is awaken.

any suggestions? has anyone used waitable timer objects before? this is the only way that i'm seeing so far that can wake the system from a suspend mode. but im having trouble putting in the correct parameters. argh!