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 Trigger

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).

Boot Trigger Examples

The following examples start Notepad after the system is booted:

Related topics

Using the Task Scheduler

 

 

Community Additions

ADD
Show:
© 2014 Microsoft