Windows Service vs. Task Scheduler with startup trigger

Solution 1:

Yes, in your use case it is, however my understanding is that generally the task scheduler expects the task to end at some point (and in fact has a default option to force the task to end if it doesn't end by itself) and you may be testing some unknown arbitrary or at least unforeseen limits by running it this way. If you do use a scheduled task it might be a better approach to have a separate scheduled task to start the application and another to stop (and/or restart) the application. You can schedule the starting task to run on windows startup and run the other task(s) through remote management.

One area where it's not equivalent is service dependencies. There's no built-in way to make a scheduled task depend on another to run, whereas you can with services. Another area would be event logging. I would suspect that neither of these would be useful in your use case because many applications keep their own logs if necessary and do not depend on other applications to run.

Both have options for recovery/restart after failure

service recovery

scheduled task recovery

and both can be configured for delayed start after startup.

service delayed startup

scheduled task delayed startup