Which Windows update could stop SQL Server service accounts from logging on?

November 23, 2026 4 answers
Asked by Ruvnelo.8c

After Windows updates and a restart on Server 2016 and Server 2022, SQL Server virtual service accounts and a custom local service account failed with events 7041 and 7000. Applying an empty password in the service logon settings got the services running again.

Is there a known update responsible, and what should I check before the next restart?

Answers

_h47~quendavi.3

Start with the Log on as a service right and the matching deny right. Reapplying the service logon settings can cause Windows to grant the service logon right locally, so a recovery after that change does not necessarily identify the update as the cause.

Export the current user rights from an elevated prompt with secedit /export /areas USER_RIGHTS /cfg C:\temp\ur.inf. Check SeServiceLogonRight, including whether NT SERVICE\ALL SERVICES is present, and check SeDenyServiceLogonRight too. A policy that defines the allow list replaces the configured list rather than adding to it, so a later policy refresh could remove a locally granted right again.

Also review the resulting Group Policy for the server and find which policy defines those rights. Compare the effective settings before and after a policy refresh, then test a service restart when it is safe to do so.

Ruvnelo.8c:

Checking whether the right disappears again after policy refresh sounds useful. The earlier policy checks did not explain the failures.

Reply to this answer
Relduno+7k

I would separate the virtual accounts from the custom local account. NT SERVICE accounts are not ordinary accounts with passwords you maintain, but the local account may have a password or account status problem. Check its expiration and whether the credential configured for its services still matches.

A restart can expose a problem that was already there because the service has to log on again. That said, regular successful restarts make a long-standing credential problem less obvious, not impossible.

Reply to this answer
Zelvaxo+6p

Those update names and the timing alone do not identify a culprit. Compare the exact installed updates, event details and effective policy on both servers, including any changes around the same time. Then check Microsoft's release notes, known issues and update health information for the relevant server versions and KBs.

Keep the full event text and timestamps. If the failure returns, that evidence will be much more useful for a support case than the event numbers alone.

Reply to this answer
Nexravi-3t

Kerberos encryption changes have been suggested as another possibility, but that is not established by these symptoms. Check the actual authentication errors and account types before treating RC4 hardening or a password change as the fix. The local virtual service accounts and a custom local account need separate investigation.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions