You may want to do it for "On Workstation Unlock"
This means that the Task will run when the User Unlocks there Workstation this means it will not run when Starting up and logging in but will Run when you boot from Hibernate and Unlock that User
Hope This Helps,
Josh
While this will run it on awakening from hibernation and sleep (and sleep seems to be OK here), and I agree it will not run at startup or if he changes users even without a reboot (though I'm not 100% certain on that one - but believe it to be the case and would want to test it), I believe this option will
also cause it to run if he locks his PC (say he goes to the bathroom and doesn't need hibernation) and then unlocks it and possibly even if he password-protects the screensaver and unlocks the system from that as well.
I don't think any of the standard options will work if he
ONLY wants it to run when awakening from hibernation (or sleep) and at
no other time (specifically not at startup, but I think he means
any other situation as well).
================================================
@ maccaquacker, please correct me if I'm assuming incorrectly as I'm now taking a very narrow view of your request. It would help to know if we have any additional leeway besides just sleep mode. Also, and this is important, we need answers to Richard's questions since the methodology (if possible) is likely to be much more complicated than any ordinary task (or even those typically considered complex but included in the standard configuration options). Knowing what needs to be done is crucial to finding the best way to do it (or seeing if it can be done at all and if so, then identifying and dealing with the potential consequences). Please describe in as much detail as possible EXACTLY what this task is supposed to do, what files or programs it involves, how long the task would take if done manually, and anything else you think might help us understand.
Thanks for your help and guidance and whatever you can provide.
Good luck!