This is an old revision of the document!
You can create a scheduled task that will run when your computer is unlocked:
•General tab – provide a name for your task
•Triggers tab -- click New... and select On workstation unlock •Action tab -- click New... and click Browse... to locate your script •Conditions tab -- uncheck Start the task only if the computer is on AC power