You can’t retrieve a SQL Server service account password from the database engine, the Windows registry, or SQL Server Configuration Manager. SQL Server stores the account name and the service’s startup configuration, but it never stores the password itself in a form you can read back. The password lives with Windows, which keeps only a credential verifier, not the original text. What you can do is confirm which account the service runs under, determine whether it’s a built-in virtual account (which has no password to find), and if the password is genuinely lost, reset it in a controlled way that keeps the instance starting correctly.

That distinction matters because “find the password” usually means one of three different things: identifying the account, recovering a password someone set and forgot, or fixing a service that won’t start because the stored credential is stale. Each has a different answer, and only one of them is really about a password at all.

The short answer, and why the password isn’t there to find

When you install SQL Server, Setup asks for an account for each service (Database Engine, Agent, Analysis Services, Reporting Services, and so on). For a domain or local account, you supply a password once. Setup hands that credential to the Windows Service Control Manager, which stores it in a protected part of the registry tied to the service registration. SQL Server itself records the account identity and configuration but not the secret. On every later start, Windows—not SQL Server—presents the stored credential to the operating system so the service can log on.

Windows protects that stored secret with the Local Security Authority (LSA). Even administrators can’t read it back in plaintext through any supported interface. The credential is encrypted so the service can use it without a human typing the password each time. That’s the whole point of service accounts: the password is a deployment detail, and the running system doesn’t need a recoverable copy.

There’s a second reason there’s often nothing to find. Modern SQL Server defaults frequently use virtual accounts such as NT SERVICE\MSSQLSERVER for the default instance or NT SERVICE\MSSQL$INSTANCENAME for a named instance. These are per-service identities managed by Windows. They have no password you set, know, or can recover—Windows authenticates them internally. If your service runs as one of these, the question “what’s the password?” has no answer because no password exists. The same is true for built-in accounts like NT AUTHORITY\NetworkService and NT AUTHORITY\LocalSystem, which also don’t use a password you manage.

So before hunting, establish which situation you’re in. If the account is a virtual or built-in account, you’re done—there is no password. If it’s a domain or local user account, the password exists somewhere in your organization’s credential management, not inside SQL Server.

Step 1: Identify the account each service actually runs under

You need the real, current identity, not what you remember from installation. There are several reliable ways to check, and they should agree.

Through SQL Server Configuration Manager. Open it, expand SQL Server Network Configuration or SQL Server Services, and look at the “Log On As” column for each service. This is the account Windows uses to start the service. It reflects the current registration, so it’s a good first check.

Through the Services console. Run services.msc, find the SQL Server service (for example SQL Server (MSSQLSERVER) or SQL Server (INSTANCE)), open Properties, and check the Log On tab. This is the same underlying registration, shown from the Windows side.

Through Transact-SQL, from inside the instance. Connect with an account that has rights to read service information, and run:

This dynamic management view reports the account each SQL Server–related service runs under, along with whether it’s running and how it starts. It’s convenient because it works from a query window, but it reflects what the engine sees, so cross-check against Configuration Manager if anything looks off.

A quick reconciliation: the account in sys.dm_server_services should match the “Log On As” entry in Configuration Manager and the Log On tab in Services. If they disagree, someone changed one path and not the other, or you’re looking at the wrong instance—common on servers hosting multiple named instances.

What success looks like: you can name the exact account string for each service, for example CONTOSO\svc_sqlengine or NT SERVICE\MSSQLSERVER. If it’s a virtual or built-in account, stop here; there is no password. If it’s a domain or local user account, continue—but understand you’re now looking for a credential your organization manages, not one SQL Server holds.

Step 2: Recognize the account types that have no password to recover

This step prevents wasted effort, because a large share of “find the password” requests are aimed at accounts that never had a recoverable one.

Virtual accounts (NT SERVICE<service name>) are created and managed by Windows per service. They log on with a system-managed credential. You can’t set, view, or reset a password because there isn’t one in the ordinary sense; Windows handles authentication. They’re a sensible default precisely because there’s no password to lose or leak.

Built-in service accounts—NT AUTHORITY\LocalSystem, NT AUTHORITY\NetworkService, and NT AUTHORITY\LocalService—also don’t use a managed password. They carry well-known privileges and authenticate to local resources directly, with limited network identity. If your service uses one of these, the “password” question dissolves.

Managed service accounts and group managed service accounts (gMSAs) in Active Directory are a middle case. A standalone managed service account has a password that AD manages and rotates automatically; you don’t know it and don’t need to. A group managed service account extends this across multiple servers, with AD handling the credential. In both cases the password is real but intentionally unrecoverable by you—that’s the design. If your SQL Server runs as a gMSA, the correct answer to “what’s the password?” is “AD manages it; nobody retrieves it.”

The practical takeaway: confirm the account type before assuming a password exists. For virtual accounts, built-ins, and managed service accounts, the recovery task is a non-task. Only classic domain user accounts and local user accounts have a password a human set and might need to recover or reset.

Step 3: If it’s a domain or local user account, look where credentials are actually managed

Once you’ve confirmed the service runs as an ordinary domain or local account, the password isn’t in SQL Server—it’s in your organization’s credential practices. That’s not a dodge; it’s the accurate location.

Domain accounts: the password is set and governed in Active Directory. Your directory team, or whoever administers the account, holds or can reset it. Many organizations store service-account credentials in a privileged access management (PAM) system, a password vault, or a documented secrets store. Check there first. If the account is documented in a configuration management database or an infrastructure runbook, the credential reference is usually there too.

Local accounts: a local Windows account’s password is managed on that server. If it was set by whoever built the machine, the record may be in a build document or vault. There’s no supported way to read a local account’s password back from Windows either; the same LSA protection applies.

SQL Server logins are a separate thing. Don’t confuse the service account with SQL Server logins. The service account is a Windows identity the service runs under. SQL Server logins are database-engine principals. If what you actually need is a SQL login’s password, that’s a different problem: SQL Server stores a password hash for SQL logins, never the plaintext, so you can’t recover the original there either. You can reset a SQL login’s password with ALTER LOGIN ... WITH PASSWORD, but you can’t read the old one. If the goal is access rather than the literal string, resetting the login password or using Windows authentication is the supported path.

It’s worth pausing on why you need the password. If it’s to grant another person or system access, you usually don’t need the existing password—you need to reset it or provision a different credential. If it’s to configure a dependent service or application, the right move is to retrieve the credential from the vault that owns it, not to extract it from SQL Server. If it’s because the service won’t start, that’s the next scenario, and it has its own fix.

Step 4: If the service won’t start because the stored password is stale, fix the registration—don’t hunt the old one

A very common real-world version of this question: the service account’s password was changed (often by a domain policy or a rotation), and now the SQL Server service fails to start with a logon failure. The symptom is a service that won’t come up, with Windows reporting that the service couldn’t log on—event log entries around logon failure and service start errors. In that case you don’t need the old password at all. You need to update the stored credential to the current one.

Here’s the workable order, with prerequisites first.

Prerequisites: you must know the current password of the service account (from the vault or the directory team), and you need local administrator rights on the server. You should also confirm the account still has the “Log on as a service” right and, for a domain account, that it isn’t locked out or disabled. If the account is locked or disabled, fix that in AD first—updating the password won’t help a disabled account.

1: Open SQL Server Configuration Manager (or the Services console, Log On tab) on the server. 2: Select the affected service, open its properties, and update the password field to the current password. 3: Apply the change and start the service. 4: Confirm the service reaches the Running state, then verify the instance accepts connections.

Success check: the service shows Running in both Configuration Manager and Services, and an application can connect (for example, SELECT @@SERVERNAME; returns the instance name). Failure check: if it still won’t start, re-read the error—a wrong password, a disabled account, or a missing “Log on as a service” right each produce distinct messages. Fix the specific cause rather than repeating the password entry.

Stop condition: if the service account is a domain account and you can’t confirm its current password, or if directory changes are outside your authority, stop and involve your directory or identity team. Guessing passwords risks lockouts and can compound the outage. Similarly, if multiple dependent services (SQL Server Agent, Full-Text, Reporting Services) share the account, update them together or they’ll fail in sequence.

Don’t try to “recover” the stale password from the registry or via third-party password-dumping tools. Those approaches rely on reading protected LSA secrets, are frequently blocked on hardened systems, can trip security monitoring, and are not a supported administrative method. The supported fix is to set the current credential in the service registration, which is exactly the step above.

Step 5: Consider rotating the credential instead of recovering it

If you can’t find the password anywhere legitimate, the cleanest resolution is usually a planned rotation rather than a recovery. This is often safer than trying to unearth an old secret, and it aligns with how service accounts should be managed anyway.

The rotation sequence for a domain account looks like this. First, change the password in Active Directory (or have the directory team do it), coordinating a maintenance window. Second, immediately update the stored credential in SQL Server Configuration Manager for every service using that account, because the moment the password changes, the old stored credential is invalid. Third, restart the affected services and confirm they start and accept connections. Fourth, update the credential everywhere else it’s used—linked servers, SQL Agent job steps that use the account, backup software, monitoring, and any application connection strings that reference it.

The failure mode to avoid is changing the password in AD and then discovering you don’t know all the places it’s stored. Inventory the consumers before rotating. A service account that runs SQL Server often also appears in Agent subsystems, in maintenance plans, and in external tooling; each holds its own copy of the credential and will break independently. Success check: every consumer works after rotation, and the old password is confirmed dead. If a consumer fails, it’s holding the stale copy—update it there too.

For local accounts the same logic applies, scoped to the one server. For managed service accounts and gMSAs, rotation is automatic and you don’t do any of this; that’s a strong argument for using them where your environment supports it.

Why “just read it from the registry” doesn’t work

People often expect the credential to sit in a readable registry key under the service’s configuration. It doesn’t in usable form. Windows stores service credentials in the LSA secret store, encrypted and access-controlled so that only the service control infrastructure can use them to log the service on. There’s no supported API that returns the plaintext to an administrator. Tools that claim to dump LSA secrets exist, but they operate by exploiting access to protected memory or by running with elevated rights in ways that hardened environments detect and block. Relying on them is a security risk, an operational risk, and often a policy violation.

The same applies to SQL Server’s own configuration. The registry holds the service account name and startup parameters, and SQL Server’s configuration tables hold instance settings, but not the service password. Configuration Manager displays the account and lets you set a password; it does not display the existing one. If you open the service properties expecting a “show password” option, you won’t find one—because the design never kept a readable copy.

The honest framing: the password isn’t “hidden” in SQL Server waiting to be found. It was deliberately not stored in recoverable form. That’s a feature, and the correct response is to manage the credential through the mechanisms that own it—the directory, the vault, and the service registration—rather than to extract it.

A worked decision path you can apply today

Here’s the sequence in plain terms, so you can move from question to action without re-deriving it.

First, identify the account. Use sys.dm_server_services, Configuration Manager, and the Services console, and confirm they agree. You now know the exact identity and its type.

Second, branch on type. If it’s a virtual account, a built-in account, or a managed service account/gMSA, there is no recoverable password—stop, and if you needed “the password” for access, use the supported access path instead (Windows authentication, a reset, or AD-managed credentials). If it’s an ordinary domain or local user account, continue.

Third, locate the credential where it’s managed. For a domain account, the directory team or the password vault. For a local account, the server’s build documentation or vault. SQL Server is not the source, and reading it back isn’t supported.

Fourth, match the action to your real goal. If the goal is access, reset or re-provision rather than recover. If the goal is to fix a service that won’t start after a password change, update the stored credential in the service registration to the current password and start the service. If the goal is to eliminate the problem, plan a rotation and update every consumer, or migrate to a managed service account so rotation is automatic.

Fifth, verify. After any change, confirm the service is Running in both Configuration Manager and Services and that the instance accepts connections. Check dependent services individually, because they fail separately.

Edge cases and limits worth knowing

A few situations complicate the clean path. Multiple instances on one server each have their own service and account; updating one doesn’t touch the others, and a shared domain account means one password change affects all of them at once—inventory before rotating. Clustered instances register the service under cluster control, so credential updates may need to go through the cluster’s service configuration, and a failed update can affect failover; coordinate with the cluster owner. Reporting Services and Analysis Services run as separate services with their own accounts and their own stored credentials, and Reporting Services in particular may hold credentials for its database connection and execution accounts, which are managed in its configuration rather than in the Database Engine. SQL Server Agent has its own service account and, separately, job-step credentials; a job that fails after a rotation is usually holding a stale proxy or credential, not the service password.

There’s also a version and platform dimension. The exact menus in Configuration Manager vary slightly across SQL Server versions, and on Linux the service is managed by systemd rather than the Windows Service Control Manager—there’s no Windows-style stored credential to read or reset, and the service typically runs under a configured system user or a managed identity depending on the deployment. The principle holds everywhere: the running system doesn’t expose a recoverable copy of the password, and the supported fix is to manage the credential at its source.

Finally, distinguish “I need the password” from “I need the service to work.” Most of the time the real requirement is the second, and the supported answer—update the credential to the current one, reset access, or use an account type that doesn’t need a password you manage—gets you there without trying to recover a secret that was designed to be unrecoverable.

FAQ

Can I see the SQL Server service account password in SQL Server Management Studio? No. SSMS can show you the account name and server settings, but not the service password. Configuration Manager lets you set the password, not read the existing one.

I found a tool that claims to recover service account passwords—should I use it? Such tools typically target protected Windows credential storage. On hardened systems they’re often blocked, they can trigger security alerts, and using them may violate policy. The supported route is to update the registration with the current password or reset the credential at its source.

What if the service account is NT SERVICE\MSSQLSERVER? That’s a virtual account with no password you manage. There’s nothing to recover; Windows handles authentication. If you need access, use a different supported path.

The service won’t start after a password change—what do I do first? Confirm the account isn’t locked or disabled, then update the stored password in SQL Server Configuration Manager or the Services Log On tab to the current password, and start the service. If you can’t confirm the current password, involve your directory team rather than guessing.

Is a SQL Server login password recoverable? No—SQL Server stores a hash, not plaintext. You can reset a SQL login’s password with ALTER LOGIN, but you can’t read the original.