Is there a way I can tell which account turned off the SQL Server Agent?

Heath, Craig 20 Reputation points
2024-06-18T16:12:52.7233333+00:00

I have a little situation that I'm left searching for answers for. Some person or process (I'm being generous as I don't, for one second, believe the culprit is a process) stopped my database server's SQL Server Agent several days back and I'd like to run down who or what did that...and I have no idea where to even start to look.

To be clear: it wasn't a job that was stopped, it was the SQL Server Agent that runs all the jobs that was stopped. I'd very much like to sort out which login was responsible for stopping it. We're running SQL Server 2014 SP3

Any ideas, pointers, explicit directions, séance results, tea leaf readings would be most appreciated.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,165 questions
0 comments No comments
{count} votes

Accepted answer
  1. MikeyQiaoMSFT-0444 1,505 Reputation points
    2024-06-19T06:57:03.5633333+00:00

    Hi,Heath, Craig

    Welcome to Microsoft Q&A fourm!

    I'm glad you found the cause!

    Checking the Windows Event Log is the preferred method for troubleshooting unexpected stops of Windows services.

    Additionally, for SQL Agent service specifically, you can also review the SQL Agent logs to troubleshoot anomalies.

    Moreover, a reliable approach is to configure automatic restart.Refer to this link.

    Lastly, we welcome you to generously share your experiences, as this will help other friends who have similar issues. We also welcome you to start new threads on the forum.

    Best Regards,

    Mikey Qiao


    If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Heath, Craig 20 Reputation points
    2024-06-18T18:04:27.35+00:00

    N/M. I sifted the server logs and found the issue.

    0 comments No comments