Windows Service vs. Task Scheduler with startup trigger The Next CEO of Stack OverflowWindows 2008 R2 Task Scheduler FailureGracefully Terminate Console App Run Via Task SchedulerHow do I get a Task Scheduler startup trigger to delayWindows Server R2 Task Scheduler - Open Programs On StartupWindows service trigger start - difference manual vs automatic?Windows Task Scheduler - result code 0xC000005Windows 2003 Task Scheduler Not running in foregroundPause the Windows Task SchedulerWhy Windows is running programs via Task SchedulerJuicebox Job Scheduler as a Windows service?

Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

What is "(CFMCC)" on an ILS approach chart?

If the heap is initialized for security, then why is the stack uninitialized?

Calculus II Question

If a black hole is created from light, can this black hole then move at speed of light?

How did the Bene Gesserit know how to make a Kwisatz Haderach?

How to solve a differential equation with a term to a power?

Do I need to enable Dev Hub in my PROD Org?

Anatomically Correct Strange Women In Ponds Distributing Swords

Why do airplanes bank sharply to the right after air-to-air refueling?

How did people program for Consoles with multiple CPUs?

Why don't programming languages automatically manage the synchronous/asynchronous problem?

Contours of a clandestine nature

Bold, vivid family

Unreliable Magic - Is it worth it?

How do scammers retract money, while you can’t?

Return the Closest Prime Number

What does convergence in distribution "in the Gromov–Hausdorff" sense mean?

Preparing Indesign booklet with .psd graphics for print

Written every which way

Is it my responsibility to learn a new technology in my own time my employer wants to implement?

Why do professional authors make "consistency" mistakes? And how to avoid them?

How to invert MapIndexed on a ragged structure? How to construct a tree from rules?



Windows Service vs. Task Scheduler with startup trigger



The Next CEO of Stack OverflowWindows 2008 R2 Task Scheduler FailureGracefully Terminate Console App Run Via Task SchedulerHow do I get a Task Scheduler startup trigger to delayWindows Server R2 Task Scheduler - Open Programs On StartupWindows service trigger start - difference manual vs automatic?Windows Task Scheduler - result code 0xC000005Windows 2003 Task Scheduler Not running in foregroundPause the Windows Task SchedulerWhy Windows is running programs via Task SchedulerJuicebox Job Scheduler as a Windows service?










2















I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.



I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.



Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)



Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.



In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).



But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.



So my question is:



Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?



Has somebody experience with both methods and can explain better the advantages and disadvantages of both?










share|improve this question

















This question has an open bounty worth +50
reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.


This question has not received enough attention.


I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.




















    2















    I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.



    I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.



    Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)



    Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.



    In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).



    But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.



    So my question is:



    Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?



    Has somebody experience with both methods and can explain better the advantages and disadvantages of both?










    share|improve this question

















    This question has an open bounty worth +50
    reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.


    This question has not received enough attention.


    I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.


















      2












      2








      2








      I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.



      I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.



      Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)



      Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.



      In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).



      But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.



      So my question is:



      Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?



      Has somebody experience with both methods and can explain better the advantages and disadvantages of both?










      share|improve this question
















      I'm running a desktop application as a service with the help of NSSM (Non Sucking Service Manager), which is a wrapper for applications which aren't made to run as a service to be run as a service.



      I use an old laptop with Windows 10 as a server by running a few applications as Windows services. On the laptop there isn't any user logged in, so that it requires less resources and thanks to the Windows services the applications are always running also when Windows installs new updates and reboots.



      Now I would prefer if the applications could run as Windows services by themselves without the help of another application (NSSM), but I know that it will never happen. The applications are desktop applications and never meant to run as a service; the developers will never enhance them with such feature. (I have already asked it.)



      Actually there is an alternative to running an application as a service and it would be starting the application with Task Scheduler with the "on Windows startup" trigger.



      In both cases the user doesn't have to be logged in and the computer can reboot automatically and the application should be always available in the network. The advantage of the Task Scheduler would be that the application doesn't require any wrapper (NSSM).



      But I'm not quite sure about the reliability of the Task Scheduler. A Windows service in meant to run an application 24/7 and it has many recovery options. Task Scheduler is meant to run an application periodically and not 24/7; therefore there isn't any recovery option.



      So my question is:



      Is the Task Scheduler with the "on windows startup" trigger a valid alternative to a Windows Service or not?



      Has somebody experience with both methods and can explain better the advantages and disadvantages of both?







      automation windows-service task-scheduler






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 13 '18 at 21:55









      freginold

      23116




      23116










      asked Mar 13 '18 at 11:09









      user3220145user3220145

      111




      111






      This question has an open bounty worth +50
      reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.


      This question has not received enough attention.


      I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.








      This question has an open bounty worth +50
      reputation from Nacht ending ending at 2019-04-03 22:22:54Z">in 5 days.


      This question has not received enough attention.


      I am wondering exactly this. Someone please give this a good, thorough answer. I need alternatives to Windows Services.






















          2 Answers
          2






          active

          oldest

          votes


















          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






          share|improve this answer























          • Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

            – Nacht
            yesterday











          • Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

            – Nacht
            yesterday











          • No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

            – Nacht
            yesterday


















          0














          I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
          In that case, I used a resource kit for Windows Server 2003.
          It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*.



          Still, a Google search shows many results:



          1) Using sc.exe
          https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe



          https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters




          Here is an example:



          C:Documents and SettingsAdministrator> sc create asperacentral
          binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
          DisplayName= "Aspera Central"
          start= auto




          2) Using *svrany:
          This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).



          3) Using srvstart.exe:
          https://www.rozanski.org.uk/software



          A tool that I heard not long ago, never used.



          I am sure there are many and many others, but I would give a try to sc.exe of method 1.






          share|improve this answer


















          • 1





            Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

            – user3220145
            Mar 13 '18 at 11:49











          • Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

            – Nihvel
            Mar 13 '18 at 12:03











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f901388%2fwindows-service-vs-task-scheduler-with-startup-trigger%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          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






          share|improve this answer























          • Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

            – Nacht
            yesterday











          • Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

            – Nacht
            yesterday











          • No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

            – Nacht
            yesterday















          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






          share|improve this answer























          • Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

            – Nacht
            yesterday











          • Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

            – Nacht
            yesterday











          • No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

            – Nacht
            yesterday













          1












          1








          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






          share|improve this answer













          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







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered yesterday









          apocalysqueapocalysque

          33927




          33927












          • Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

            – Nacht
            yesterday











          • Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

            – Nacht
            yesterday











          • No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

            – Nacht
            yesterday

















          • Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

            – Nacht
            yesterday











          • Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

            – Nacht
            yesterday











          • No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

            – Nacht
            yesterday
















          Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

          – Nacht
          yesterday





          Another problem with this approach: stackoverflow.com/questions/45867873/… Stopping a service is much better than terminating the process

          – Nacht
          yesterday













          Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

          – Nacht
          yesterday





          Yes but according to that link, ending the task in Task Scheduler simply kills the process. If you want built-in stopping functionality, services seem to win here.

          – Nacht
          yesterday













          No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

          – Nacht
          yesterday





          No, I didn't miss that part. If I have to create a separate task to manage it then to me its defeating the purpose of simplifying the system. I really like your answer by the way. When I said "another problem with this approach" I meant using the Task Scheduler for something like this in general, I didn't mean a problem with your answer.

          – Nacht
          yesterday













          0














          I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
          In that case, I used a resource kit for Windows Server 2003.
          It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*.



          Still, a Google search shows many results:



          1) Using sc.exe
          https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe



          https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters




          Here is an example:



          C:Documents and SettingsAdministrator> sc create asperacentral
          binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
          DisplayName= "Aspera Central"
          start= auto




          2) Using *svrany:
          This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).



          3) Using srvstart.exe:
          https://www.rozanski.org.uk/software



          A tool that I heard not long ago, never used.



          I am sure there are many and many others, but I would give a try to sc.exe of method 1.






          share|improve this answer


















          • 1





            Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

            – user3220145
            Mar 13 '18 at 11:49











          • Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

            – Nihvel
            Mar 13 '18 at 12:03















          0














          I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
          In that case, I used a resource kit for Windows Server 2003.
          It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*.



          Still, a Google search shows many results:



          1) Using sc.exe
          https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe



          https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters




          Here is an example:



          C:Documents and SettingsAdministrator> sc create asperacentral
          binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
          DisplayName= "Aspera Central"
          start= auto




          2) Using *svrany:
          This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).



          3) Using srvstart.exe:
          https://www.rozanski.org.uk/software



          A tool that I heard not long ago, never used.



          I am sure there are many and many others, but I would give a try to sc.exe of method 1.






          share|improve this answer


















          • 1





            Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

            – user3220145
            Mar 13 '18 at 11:49











          • Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

            – Nihvel
            Mar 13 '18 at 12:03













          0












          0








          0







          I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
          In that case, I used a resource kit for Windows Server 2003.
          It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*.



          Still, a Google search shows many results:



          1) Using sc.exe
          https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe



          https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters




          Here is an example:



          C:Documents and SettingsAdministrator> sc create asperacentral
          binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
          DisplayName= "Aspera Central"
          start= auto




          2) Using *svrany:
          This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).



          3) Using srvstart.exe:
          https://www.rozanski.org.uk/software



          A tool that I heard not long ago, never used.



          I am sure there are many and many others, but I would give a try to sc.exe of method 1.






          share|improve this answer













          I could leave you a comment, because Google sometimes is useful, but I remember that long time ago I wanted to achieve the same thing.
          In that case, I used a resource kit for Windows Server 2003.
          It was containing a tool to create a service. Unfortunately, I don't find information about what I was using at that time*.



          Still, a Google search shows many results:



          1) Using sc.exe
          https://support.microsoft.com/en-us/help/251192/how-to-create-a-windows-service-by-using-sc-exe



          https://stackoverflow.com/questions/3663331/when-creating-a-service-with-sc-exe-how-to-pass-in-context-parameters




          Here is an example:



          C:Documents and SettingsAdministrator> sc create asperacentral
          binPath= "C:Program FilesAsperaEnterprise ServerbinDebugasperacentral.exe"
          DisplayName= "Aspera Central"
          start= auto




          2) Using *svrany:
          This was the tool I was using, just remembered. But it is quite old now and I'd not suggest you to use it, even tho I guess it still work (with Windows 7 it does).



          3) Using srvstart.exe:
          https://www.rozanski.org.uk/software



          A tool that I heard not long ago, never used.



          I am sure there are many and many others, but I would give a try to sc.exe of method 1.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 13 '18 at 11:34









          NihvelNihvel

          23529




          23529







          • 1





            Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

            – user3220145
            Mar 13 '18 at 11:49











          • Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

            – Nihvel
            Mar 13 '18 at 12:03












          • 1





            Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

            – user3220145
            Mar 13 '18 at 11:49











          • Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

            – Nihvel
            Mar 13 '18 at 12:03







          1




          1





          Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

          – user3220145
          Mar 13 '18 at 11:49





          Thanks, but It isn't not what I was asking, I know exactly how to create a service and to manage them. I know of all service wrappers available. I asked if somebody has experience with the Task Scheduler as alternative to a Windows service.

          – user3220145
          Mar 13 '18 at 11:49













          Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

          – Nihvel
          Mar 13 '18 at 12:03





          Answer is no. Task scheduler manages the time when an application should start, with the possibility to start "on windows startup".

          – Nihvel
          Mar 13 '18 at 12:03

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f901388%2fwindows-service-vs-task-scheduler-with-startup-trigger%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Club Baloncesto Breogán Índice Historia | Pavillón | Nome | O Breogán na cultura popular | Xogadores | Adestradores | Presidentes | Palmarés | Historial | Líderes | Notas | Véxase tamén | Menú de navegacióncbbreogan.galCadroGuía oficial da ACB 2009-10, páxina 201Guía oficial ACB 1992, páxina 183. Editorial DB.É de 6.500 espectadores sentados axeitándose á última normativa"Estudiantes Junior, entre as mellores canteiras"o orixinalHemeroteca El Mundo Deportivo, 16 setembro de 1970, páxina 12Historia do BreogánAlfredo Pérez, o último canoneiroHistoria C.B. BreogánHemeroteca de El Mundo DeportivoJimmy Wright, norteamericano do Breogán deixará Lugo por ameazas de morteResultados de Breogán en 1986-87Resultados de Breogán en 1990-91Ficha de Velimir Perasović en acb.comResultados de Breogán en 1994-95Breogán arrasa al Barça. "El Mundo Deportivo", 27 de setembro de 1999, páxina 58CB Breogán - FC BarcelonaA FEB invita a participar nunha nova Liga EuropeaCharlie Bell na prensa estatalMáximos anotadores 2005Tempada 2005-06 : Tódolos Xogadores da Xornada""Non quero pensar nunha man negra, mais pregúntome que está a pasar""o orixinalRaúl López, orgulloso dos xogadores, presume da boa saúde económica do BreogánJulio González confirma que cesa como presidente del BreogánHomenaxe a Lisardo GómezA tempada do rexurdimento celesteEntrevista a Lisardo GómezEl COB dinamita el Pazo para forzar el quinto (69-73)Cafés Candelas, patrocinador del CB Breogán"Suso Lázare, novo presidente do Breogán"o orixinalCafés Candelas Breogán firma el mayor triunfo de la historiaEl Breogán realizará 17 homenajes por su cincuenta aniversario"O Breogán honra ao seu fundador e primeiro presidente"o orixinalMiguel Giao recibiu a homenaxe do PazoHomenaxe aos primeiros gladiadores celestesO home que nos amosa como ver o Breo co corazónTita Franco será homenaxeada polos #50anosdeBreoJulio Vila recibirá unha homenaxe in memoriam polos #50anosdeBreo"O Breogán homenaxeará aos seus aboados máis veteráns"Pechada ovación a «Capi» Sanmartín e Ricardo «Corazón de González»Homenaxe por décadas de informaciónPaco García volve ao Pazo con motivo do 50 aniversario"Resultados y clasificaciones""O Cafés Candelas Breogán, campión da Copa Princesa""O Cafés Candelas Breogán, equipo ACB"C.B. Breogán"Proxecto social"o orixinal"Centros asociados"o orixinalFicha en imdb.comMario Camus trata la recuperación del amor en 'La vieja música', su última película"Páxina web oficial""Club Baloncesto Breogán""C. B. Breogán S.A.D."eehttp://www.fegaba.com

          Vilaño, A Laracha Índice Patrimonio | Lugares e parroquias | Véxase tamén | Menú de navegación43°14′52″N 8°36′03″O / 43.24775, -8.60070

          Cegueira Índice Epidemioloxía | Deficiencia visual | Tipos de cegueira | Principais causas de cegueira | Tratamento | Técnicas de adaptación e axudas | Vida dos cegos | Primeiros auxilios | Crenzas respecto das persoas cegas | Crenzas das persoas cegas | O neno deficiente visual | Aspectos psicolóxicos da cegueira | Notas | Véxase tamén | Menú de navegación54.054.154.436928256blindnessDicionario da Real Academia GalegaPortal das Palabras"International Standards: Visual Standards — Aspects and Ranges of Vision Loss with Emphasis on Population Surveys.""Visual impairment and blindness""Presentan un plan para previr a cegueira"o orixinalACCDV Associació Catalana de Cecs i Disminuïts Visuals - PMFTrachoma"Effect of gene therapy on visual function in Leber's congenital amaurosis"1844137110.1056/NEJMoa0802268Cans guía - os mellores amigos dos cegosArquivadoEscola de cans guía para cegos en Mortágua, PortugalArquivado"Tecnología para ciegos y deficientes visuales. Recopilación de recursos gratuitos en la Red""Colorino""‘COL.diesis’, escuchar los sonidos del color""COL.diesis: Transforming Colour into Melody and Implementing the Result in a Colour Sensor Device"o orixinal"Sistema de desarrollo de sinestesia color-sonido para invidentes utilizando un protocolo de audio""Enseñanza táctil - geometría y color. Juegos didácticos para niños ciegos y videntes""Sistema Constanz"L'ocupació laboral dels cecs a l'Estat espanyol està pràcticament equiparada a la de les persones amb visió, entrevista amb Pedro ZuritaONCE (Organización Nacional de Cegos de España)Prevención da cegueiraDescrición de deficiencias visuais (Disc@pnet)Braillín, un boneco atractivo para calquera neno, con ou sen discapacidade, que permite familiarizarse co sistema de escritura e lectura brailleAxudas Técnicas36838ID00897494007150-90057129528256DOID:1432HP:0000618D001766C10.597.751.941.162C97109C0155020