====== Tasks and Task Scheduler ====== You can create a scheduled task that will run when your computer is unlocked: - Start > Administrative Tools > Task Scheduler - **or**, Start > Run, enter "task", then "task scheduler" - left pane: select Task Scheduler Library - right pane: click Create Task... (NOTE: this is the only way to get the correct trigger) - in the Create Task dialog: 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 * http://superuser.com/questions/15596/automatically-run-a-script-when-i-log-on-to-windows * http://www.tothepc.com/archives/kill-windows-process-with-taskkill-command/