MSSQLSERVER dependencies

  • Good Morning

    One of our servers has encountered a problem in that SQLSERVER Agent is no longer showing as a dependency of MSSQLSERVER when viewing the properties of the Service.

    However, SQLSERVER Agent is showing that it depends on MSSQLSERVER when viewing the properties of the Service.

    How do I correct this, as, at present, when we restart MSSQLSERVER, we need to manually start SQLSERVER Agent

    Thanks

  • You can edit the registry key for the SQLAgent and MSSQLSErver to make then depends but be careful when editing registry keys.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • Do you know which keys?

  • HKLM\system\currentcontrolset\services and check for MSSQLServer and SQLServerAgent paths and you will find the details within those keys.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

  • The services are setup correctly.  SQL Server Agent is not a dependency of MSSQLSERVER, meaning that the SQL Server Agent does not have to be running for SQL Server to run.

  • Michael,

    He says that his SQLAgent services does not show that it depends on MSSQLSERVER service. Actually what he says is right SQLAgent depends on MSSQLServer services but MSSQLServer does not depends on SQAGent as what you say.

    Cheers,
    Sugeshkumar Rajendran
    SQL Server MVP
    http://sugeshkr.blogspot.com

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply