Starting an Executable on System Boot
Writing a task that starts an executable when a system is booted is done by defining a boot trigger and an executable action.
Boot triggers are activated by their start boundary but they do not start the executable until the system is booted. You can also specify a delay time in the boot trigger that specifies the amount of time between when the system is booted and when the task is started. This is defined by the Delay property in the IBootTrigger interface (BootTrigger object for scripting).
The following examples start Notepad after the system is booted:
Build date: 11/16/2013