Start, stop, or pause the SQL Server Agent service - SQL Server Agent (2024)

  • Article

Applies to: Start, stop, or pause the SQL Server Agent service - SQL Server Agent (1) SQL Server Start, stop, or pause the SQL Server Agent service - SQL Server Agent (2) Azure SQL Managed Instance

This article describes how to start, stop, or restart the SQL Server Agent Service in SQL Server by using SQL Server Management Studio.

You can configure the SQL Server Agent service to start automatically when the operating system starts, or you can start it manually when you need to complete jobs. You can stop or pause the SQL Server Agent service to suspend jobs, operator notifications, and alerts.

Limitations

Microsoft SQL Server Agent must be running as a service in order to automate administrative tasks. For more information, see Configure SQL Server Agent.

Object Explorer only displays the SQL Server Agent node if you have permission to use it.

Permissions

To perform its functions, SQL Server Agent must be configured to use the credentials of an account that is a member of the sysadmin fixed server role in SQL Server. The account must have the following Windows permissions:

  • Log on as a service (SeServiceLogonRight)
  • Replace a process-level token (SeAssignPrimaryTokenPrivilege)
  • Bypass traverse checking (SeChangeNotifyPrivilege)
  • Adjust memory quotas for a process (SeIncreaseQuotaPrivilege)

For more information about the Windows permissions required for the SQL Server Agent service account, see Select an account for the SQL Server Agent service and Configure Windows service accounts and permissions.

Use SQL Server Management Studio

  1. In Object Explorer, select the plus sign to expand the server where you want to manage SQL Server Agent Service.

  2. Right-click SQL Server Agent, and then select either Start, Stop, or Restart.

  3. In the User Account Control dialog box, select Yes.

  4. When prompted if you want to perform the action, select Yes.

Related content

Start, stop, or pause the SQL Server Agent service - SQL Server Agent (2024)

FAQs

How do I start stop or pause the SQL Server Agent service? ›

Right-click SQL Server Agent, and then select either Start, Stop, or Restart.

How do I start and stop a service in SQL Server? ›

In SQL Server Configuration Manager, in the left pane, select SQL Server Services. In the results pane, right-click SQL Server (MSSQLServer) or a named instance, and then select Start, Stop, Pause, Resume, or Restart.

What causes SQL Server Agent to stop? ›

This issue occurs because there are multiple job entries in SQL Server. The issue can also occur if you unintentionally set up multiple subscriptions for your reports in the Reporting Services Configuration Manager.

How do I find out why SQL Server Agent stopped? ›

when SQL Server Agent stopped, there will be an information type Event ID 15457 (Configuration option 'Agent XPs' changed from 1 to 0. Run the RECONFIGURE statement to install.) and an information type Event ID 7036 (The SQL Server Agent(instancename) service entered the stopped state.) in the system log.

How do I ensure SQL Server Agent is running? ›

To check the status of the SQL Server Agent:
  1. Log on to the Database Server computer with an Administrator account.
  2. Start Microsoft SQL Server Management Studio.
  3. In the left pane, verify the SQL Server Agent is running.
  4. If the SQL Server Agent is not running, right-click SQL Server Agent, and then click Start.
  5. Click Yes.

How to set SQL Server Agent to start automatically? ›

Using SQL Server Management Studio
  1. In Object Explorer, click the plus sign to expand the server where you want to configure SQL Server Agent to automatically restart.
  2. Right-click SQL Server Agent, and then click Properties.
  3. On the General page, check Auto restart SQL Server Agent if it stops unexpectedly.
Mar 3, 2023

What is SQL Server Agent Service? ›

SQL Server Agent is a component of Microsoft SQL Server which schedules jobs and handles other automated tasks. It runs as a Windows service so it can start automatically when the system boots or it can be started manually.

How to start SQL Server Agent Service from command prompt? ›

Command Prompt with net Commands
  1. To start the SQL Server Service enter the following command :
  2. net start “SQL Server (MSSQLSERVER)”
  3. To start the SQL Agent Service enter the following command:
  4. net start “SQL Server Agent (MSSQLSERVER)”
May 17, 2018

Is SQL Server Agent service manual or automatic? ›

In general you should have the SQL service running as Automatic so it always runs. The remaining services can be set to Manual so they start on demand. The SQL Server VSS Writer needs to be running as well for backup and recovery. Note that you cannot create a shortcut to the SQL Service because it is a service.

Why did SQL Server services stop automatically? ›

This error may be caused by an unhandled Win32 or C++ exception, or by an access violation encountered during exception handling. Check the SQL error log for any related stack dumps or messages. This exception forces SQL Server to shutdown.

How do I disable SQL Server Agent service? ›

Using SQL Server Management Studio
  1. In Object Explorer, connect to an instance of the SQL Server Database Engine, and then expand that instance.
  2. Expand SQL Server Agent.
  3. Expand Jobs, and then right-click the job that you want to disable or enable.
  4. To disable a job, click Disable. To enable a job, click Enable.
Mar 3, 2023

What does SQL Agent service stopping due to a stop request from a user process or the OS? ›

This means that SQL Server was stopped "gracefully" - either manually or by some process (scheduled job, maybe, or application of a service pack) that stops the service. If the login failures are from Windows logins, it could be that your network became unavailable as part of whatever it was that was going on.

How do I get SQL Server Agent in SQL server? ›

Since the Agent is disabled by default, you'll see blank status, signifying that SQL Service is not running. Right-click, then choose Start from the menu to get SQL Server Agent up and running.

Why can't I see SQL Server Agent? ›

This is most likely due to the wrong version of SSMS being installed. If you're absolutely sure you have the correct version of SQL server installed on your server, which you can test by opening services. msc and checking if the SQL Server Agent is present.

How do I find out why SQL Agent job failed? ›

Expand the "SQL Server Agent" node in the Object Explorer. Expand the "Error Logs" node under the SQL Server Agent node. Right-click on the "Current" log file and select "View Agent Log". This should open the current SQL Server Agent log, where you can see information about job executions, including failures.

How to stop SQL agent job? ›

Expand SQL Server Agent, expand Jobs, right-click the job you want to stop, and then click Stop Job. If you want to stop multiple jobs, right-click Job Activity Monitor, and then click View Job Activity. In the Job Activity Monitor, select the jobs you want to stop, right-click your selection, and then click Stop Jobs.

How do I stop SQL distribution agent? ›

Connect to the Publisher or Distributor you want to disable in Microsoft SQL Server Management Studio, and then expand the server node. Right-click the Replication folder, and then click Disable Publishing and Distribution.

Top Articles
What supplies do I need to start a balloon business?
Countries in the EU and EEA
Duralast Gold Cv Axle
Craigslist St. Paul
Kreme Delite Menu
Manhattan Prep Lsat Forum
Jefferey Dahmer Autopsy Photos
Professor Qwertyson
Do you need a masters to work in private equity?
Tyrunt
Farmers Branch Isd Calendar
Which aspects are important in sales |#1 Prospection
Student Rating Of Teaching Umn
Select Truck Greensboro
Ave Bradley, Global SVP of design and creative director at Kimpton Hotels & Restaurants | Hospitality Interiors
Spelunking The Den Wow
Craigslist Heavy Equipment Knoxville Tennessee
Athens Bucket List: 20 Best Things to Do in Athens, Greece
Studentvue Columbia Heights
Tygodnik Polityka - Polityka.pl
2020 Military Pay Charts – Officer & Enlisted Pay Scales (3.1% Raise)
Curver wasmanden kopen? | Lage prijs
Tips on How to Make Dutch Friends & Cultural Norms
Ups Drop Off Newton Ks
Reborn Rich Kissasian
Danielle Ranslow Obituary
Breckiehill Shower Cucumber
Victory for Belron® company Carglass® Germany and ATU as European Court of Justice defends a fair and level playing field in the automotive aftermarket
Vht Shortener
Xxn Abbreviation List 2023
Ihs Hockey Systems
My Reading Manga Gay
Possum Exam Fallout 76
FSA Award Package
Trust/Family Bank Contingency Plan
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Does Circle K Sell Elf Bars
Jambus - Definition, Beispiele, Merkmale, Wirkung
Nextdoor Myvidster
Blue Beetle Movie Tickets and Showtimes Near Me | Regal
RALEY MEDICAL | Oklahoma Department of Rehabilitation Services
Thelemagick Library - The New Comment to Liber AL vel Legis
Natasha Tosini Bikini
White County
Menu Forest Lake – The Grillium Restaurant
Theatervoorstellingen in Nieuwegein, het complete aanbod.
Ty Glass Sentenced
Cvs Minute Clinic Women's Services
Diccionario De Los Sueños Misabueso
O'reilly's Eastman Georgia
Comenity/Banter
Latest Posts
Article information

Author: Mrs. Angelic Larkin

Last Updated:

Views: 6332

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mrs. Angelic Larkin

Birthday: 1992-06-28

Address: Apt. 413 8275 Mueller Overpass, South Magnolia, IA 99527-6023

Phone: +6824704719725

Job: District Real-Estate Facilitator

Hobby: Letterboxing, Vacation, Poi, Homebrewing, Mountain biking, Slacklining, Cabaret

Introduction: My name is Mrs. Angelic Larkin, I am a cute, charming, funny, determined, inexpensive, joyous, cheerful person who loves writing and wants to share my knowledge and understanding with you.