Skip to content

Latest commit

 

History

History
72 lines (46 loc) · 4.09 KB

File metadata and controls

72 lines (46 loc) · 4.09 KB
title Start, Stop, or Pause the Service
ms.prod sql
ms.prod_service sql-tools
ms.technology ssms
ms.topic conceptual
helpviewer_keywords
SQL Server Agent, starting
SQL Server Agent, pausing
SQL Server Agent, stopping
ms.assetid c95a9759-dd30-4ab6-9ab0-087bb3bfb97c
author markingmyname
ms.author maghan
ms.manager jroth
ms.reviewer
ms.custom seo-lt-2019
ms.date 01/19/2017
monikerRange = azuresqldb-mi-current || >= sql-server-2016 || = sqlallproducts-allversions

Start, Stop, or Pause the SQL Server Agent Service

[!INCLUDEappliesto-ss-asdbmi-xxxx-xxx-md]

Important

On Azure SQL Database Managed Instance, most, but not all SQL Server Agent features are currently supported. See Azure SQL Database Managed Instance T-SQL differences from SQL Server for details.

This topic describes how to start, stop, or restart the SQL Server Agent Service in [!INCLUDEssCurrent] by using [!INCLUDEssManStudioFull].

You can configure the [!INCLUDEssNoVersion] 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 [!INCLUDEssNoVersion] Agent service to suspend jobs, operator notifications, and alerts.

Before You Begin

Limitations and Restrictions

Security

Permissions

To perform its functions, [!INCLUDEssNoVersion] Agent must be configured to use the credentials of an account that is a member of the sysadmin fixed server role in [!INCLUDEssNoVersion]. 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 [!INCLUDEssNoVersion] Agent service account, see Select an Account for the SQL Server Agent Service and Setting Up Windows Service Accounts.

Using SQL Server Management Studio

To start, stop, or restart the SQL Server Agent Service

  1. In Object Explorer, click 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, click Yes.

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

For more information, see: