Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 2.74 KB

File metadata and controls

60 lines (39 loc) · 2.74 KB
title Autostart SQL Server Agent (SQL Server Management Studio) | Microsoft Docs
ms.custom
ms.date 03/06/2017
ms.prod sql-server-2014
ms.reviewer
ms.technology ssms
ms.topic conceptual
helpviewer_keywords
SQL Server Agent, starting
autostart SQL Server Agent
ms.assetid 2ea332da-0ede-4d2b-b122-c4c10eaca191
author stevestein
ms.author sstein
manager craigg

Autostart SQL Server Agent (SQL Server Management Studio)

This topic describes how to configure [!INCLUDEmsCoName] [!INCLUDEssNoVersion] Agent to automatically restart if it should stop unexpectedly in [!INCLUDEssCurrent].

In This Topic

Before You Begin

Limitations and Restrictions

Object Explorer only displays the [!INCLUDEssNoVersion] Agent node if you have permission to use it.

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 Configure Windows Service Accounts and Permissions.

Using SQL Server Management Studio

To configure SQL Server Agent to automatically restart

  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.