Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to:
SQL Server
This article describes how to use SQL Server Configuration Manager to change the startup options of SQL Server services and to change the service accounts that are used by the SQL Server Database Engine, SQL Server Agent, SQL Server Browser, SQL Server Analysis Services, and SQL Server Integration Services with SQL Server Management Studio, Transact-SQL, or PowerShell. For more information about how to select an appropriate service account, see Configure Windows service accounts and permissions.
Important
When you change the service startup account for the Database Engine and SQL Server Agent, the SQL Server service (the Database Engine) must be restarted for the change to take effect. When the service is restarted, all databases associated with that instance of SQL Server will be unavailable until the service successfully restarts. If you have to change the service startup account of SQL Server or SQL Server Agent, make sure that you do so during regularly scheduled maintenance or when the databases can be taken offline without interrupting daily operations.
Clustered servers
Changing the service account that is used by SQL Server or SQL Server Agent must be performed from the active node of the SQL Server cluster.
When you run on Windows Server 2008 (in a non-default configuration using Domain groups), changing the service account that is used by SQL Server or SQL Server Agent requires SQL Server Configuration Manager to stop SQL Server by taking the resource groups offline.
SKU Upgrade (SQL Server Express to non-Express SKU)
During SQL Server Express installation, the SQL Server Agent service is configured to use the Network Service account but disabled. SQL Server Configuration Manager can change the account assigned for the SQL Server Agent service but the service can't be enabled or started. After SKU upgrade from SQL Server Express to non-Express, the SQL Server Agent service isn't automatically enabled, but can be enabled when needed by using the SQL Server Configuration Manager and changing the service start mode to Manual or Automatic.
On the Start menu, point to All Programs, point to SQL Server, point to Configuration Tools, and then select SQL Server Configuration Manager.
Because SQL Server Configuration Manager is a snap-in for the Microsoft Management Console program and not a stand-alone program, SQL Server Configuration Manager doesn't appear as an application in newer versions of Windows.
Operating system | Details |
---|---|
Windows 10 and Windows 11 | To open SQL Server Configuration Manager, on the Start Page, type SQLServerManager16.msc (for SQL Server 2022 (16.x)). For other versions of SQL Server, replace 16 with the appropriate number. Selecting SQLServerManager16.msc opens the Configuration Manager. To pin the Configuration Manager to the Start Page or Task Bar, right-click SQLServerManager16.msc , and then select Open file location. In the Windows File Explorer, right-click SQLServerManager16.msc , and then select Pin to Start or Pin to taskbar. |
Windows 8 | To open SQL Server Configuration Manager, in the Search charm, under Apps, type SQLServerManager<version>.msc , such as SQLServerManager16.msc , and then press Enter. |
In SQL Server Configuration Manager, select SQL Server Services.
In the details pane, right-click the name of the SQL Server instance for which you want to change the service startup account, and then select Properties.
In the SQL Server <instancename> Properties dialog box, select the Log On tab, and select a Log on as account type.
After selecting the new service startup account, select OK.
A message box asks whether you want to restart the SQL Server service.
Select Yes, and then close SQL Server Configuration Manager.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest SQL, Fabric and Power BI learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayTraining
Module
Configure SQL Server resources for optimal performance - Training
Configure SQL Server resources for optimal performance
Certification
Microsoft Certified: Azure Database Administrator Associate - Certifications
Administer an SQL Server database infrastructure for cloud, on-premises and hybrid relational databases using the Microsoft PaaS relational database offerings.
Documentation
Security Requirements for Managing Services - SQL Server
Learn about security measures that apply to managing SQL Server services. See what roles, group memberships, and permissions you need for configuration access.
Error 1069 when starting SQL Server Service - SQL Server
Provides resolutions for the error 1069 when starting the SQL Server or the SQL Server Agent service. The resolutions for event ID 7041 and event ID 7038 are different.
Select an account for the SQL Server Agent service
The service startup account defines the Microsoft Windows account in which SQL Server Agent runs and its network permissions.
Connect to SQL Server when system administrators are locked out - SQL Server
Learn how to regain access to SQL Server as a system administrator if you're mistakenly locked out.