locked
How to configure the load sequence of a service that is not part of a service group RRS feed

  • Question

  • I have 4 services that are not part of any service group.  I need to manage the startup sequence of these 4 services so that service "A" starts first then Service "B" starts 2nd and so on.  is this posible on a windows 2008 server? Help!  Any and all info is greatly appreciated. 
    Monday, February 29, 2016 4:55 PM

Answers

  • Hi Dan-pa The best way to do this is to set all the services to Maura,startup mode. Then start them one by one with PowerShell in a script. If they are dependent upon each other you can test for running state before starting each one. See the complete and its uses here https://technet.microsoft.com/en-us/library/ee177001.aspx https://technet.microsoft.com/en-gb/library/hh849825.aspx Yours Ed Please mark this as an answer if it was helpful
    Monday, February 29, 2016 10:27 PM

All replies

  • Hi Dan-pa The best way to do this is to set all the services to Maura,startup mode. Then start them one by one with PowerShell in a script. If they are dependent upon each other you can test for running state before starting each one. See the complete and its uses here https://technet.microsoft.com/en-us/library/ee177001.aspx https://technet.microsoft.com/en-gb/library/hh849825.aspx Yours Ed Please mark this as an answer if it was helpful
    Monday, February 29, 2016 10:27 PM
  • see http://serverfault.com/questions/24821/how-to-add-dependency-on-a-windows-service-after-the-service-is-installed on how to add dependencies via the sc command line tool
    Monday, February 29, 2016 10:35 PM
  • Hi,

    I agree with above. You need run them one by one with script.

    Best Regards,

    Jay


    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, March 1, 2016 10:41 AM