See MSDN doc at : Task Security Context :
You can specify that a task should run even if the account under which the task is scheduled to run is not logged on when the task is triggered.
To do this, select the radio button labeled Run whether user is logged on or not .
If this radio button is selected, tasks will not run interactively.