Setting Dependencies (or startup order) for Services

Posted on 2004-11-11
Last Modified: 2010-04-19
I have a Service that uses MS SQL Server as a backend to serve up a database of digital assets.
When the computer is restarted, it seems that sometimes this service starts up before MS SQL Server, cannot find the necessary databases and then is does not serve them up properly.

Now it seems that there is a way that a Service can have Dependencies and that would be just what I need to ensure that the Service starts up AFTER MS SQL Server. However, there seems to be no way to set this in the Services Control Panel.

How can I make sure that this Service does not start until MS SQL Server has completely started?
Question by:Bohumil
    1 Comment
    LVL 82

    Accepted Solution

    You can do it in the registry (use regedt32 on W2k!):

    How to Delay Loading of Specific Services

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
    Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now