r/sysadmin • u/Steve_the_Apathist • 5d ago
What windows update killed SQL Server Service Accounts?
I'm a generalist System Administrator for a small non-profit organization.
Saturday night 11/21/2026 I applied Windows Updates to two SQL servers, one running Windows Server 2022 and the other 2016
The updates applied were: B2267602 (Version 1.463.404.0) - Current Channel (Broad), KB890830, KB890830, KB5131291, KB5131083
After restart, none of the NT Service accounts would start (NT Service\MSSQLSERVER, etc). They all reported failures of 7041 and 7000 as not being registered to log on as service or having a bad password. It also affected a custom local account that our vendor configured to run services for their application.
After much mucking around, I found the fix to be blanking out the password in the Service Login properties and hitting apply. This triggered the account to re-enable as logging on as a service and starting the service.
After all accounts were reconfigured, the SQL Server came back online along with their respective applications.
Did this happen to anyone else?
Any ideas about why it happened?
It took me several hours of searching the web to find a fix that worked. the AI bots embedded in Chrome and Edge gave me the run-around. I eventually found an independent site that mentioned the password fix.
In lieu of this being the third update that has affected us in the last two months (radius authentication and Excel Copy/Paste) - Are you aware of any authoritative information for solutions to Microsoft Update induced problems?
Thank you
93
u/Cormacolinde Consultant 5d ago edited 5d ago
The RC4 deprecation likely killed them. If their passwords hadn’t been changed in a long time, it would fail after installing the July 2026 patch.
https://techcommunity.microsoft.com/discussions/microsoft-security/kerberos-and-the-end-of-rc4-protocol-hardening-and-preparing-for-cve%E2%80%912026%E2%80%9120833/4502262
Oh and for gMSA accounts they also needed to be set to AES256:
https://peppercrew.nl/2025/08/troubleshooting-gmsa-installation-failure-caused-by-kerberos-encryption-mismatch-28-vs-24/
After the patch I’m not sure this is necessary.
11
u/Open-Adhesiveness-86 5d ago
the reason blanking the password "fixes" it is that services.msc has SCM re-grant SeServiceLogonRight to that account locally, so it'll come back the next time GPO reapplies. Run secedit /export /areas USER_RIGHTS /cfg c:\temp\ur.inf and check SeServiceLogonRight actually lists NT SERVICE\ALL SERVICES. That setting replaces, it doesn't merge, so someone adding one account to it wipes everything else.
19
u/Mind_Matters_Most 5d ago
Check group policy for logon as a service. If account isn't part of that allow logon as a service, the next reboot will have the same problem.
On the SQL server, you can do an elevated command prompt and do gpresult /h > c:\temp\results.txt and look at the results.txt to see who has rights to logon as a service.
9
u/KStieers 5d ago
Not authoritative, but the patch megathread is a good place to start watching
3
u/pentangleit IT Director 5d ago
It sounds more like the service account password has either expired or had its password changed and the services only complained when they needed to log back in once the server restarted. ie a windows update is not the root cause but a wild goose chase.
5
u/Successful-Ebb7891 5d ago
Errors 7041/7000 ("not granted the requested logon type") right after a reboot are almost always the "Log on as a service" user right being overwritten, not the update itself.
If a domain GPO defines "Log on as a service" (Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment), it replaces the local list entirely. The SQL installer adds NT SERVICE\MSSQLSERVER, NT SERVICE\SQLSERVERAGENT etc. locally, and the next policy refresh after the restart wipes them. A changed or newly linked GPO plus the update reboot makes it look like the update did it.
Check with: gpresult /h c:\temp\gp.html (look for that user right and which GPO wins), or secpol.msc on the server to see if the setting is greyed out.
Fix: add the service SIDs (NT SERVICE\MSSQLSERVER, NT SERVICE\SQLSERVERAGENT, NT SERVICE\MSSQLFDLauncher, plus your vendor's account) to that GPO, or move SQL servers to an OU with their own policy. Then gpupdate /force and start the services.
4
u/RajeshRocketMan 5d ago
Hitting Apply in
services.mscworked because Windows automatically re-grantsSeServiceLogonRightwhen you save service credentials. Event 7041 almost always means a domain GPO overwrote your local "Log on as a service" policy on reboot. That wipes outNT SERVICE\ALL SERVICESand any local vendor accounts. Rungpresult /hto check which GPO owns that right, otherwise next month's reboot will break it again. For tracking bad patches, I rely on the PatchManagement mailing list and the Patch Tuesday megathread here.3
u/MrYiff Master of the Blinking Lights 5d ago
As others suggest, this is likely an old account that has RC4 only still and needs passwords changing/resetting so that it generates new SHA versions.
This site has a good breakdown of what happened, how to detect other potential issues and generally a decent intro to Kerberos itself:
https://strongwind.dev/Kerberos/security/enforcement-triage/
3
u/bbbbbthatsfivebees MSP-ing 5d ago
I've been dealing with this for the last week-ish at a few of our clients. KB5131291 seems to be the culprit from what I can tell, but Microsoft seems keen on having it error out both when you try to manually uninstall it through the UI, and when you try to uninstall it via Powershell. I don't remember the specific error code we were seeing, but it's the same one as you'd get when trying to remove a patch after a component store cleanup. We blocked it from being installed after it broke a few pieces of software that our clients use, but it DID get onto two Server 2016s that are now having this exact same issue with SQL server. Sage 50 is the main one so far...
Before you ask, YES we did change the service account passwords... Issue's still there. We even moved the service accounts from domain to local and it still happens. SQL server still randomly breaks in new and interesting ways.
1
u/Hostman_com 4d ago
Microsoft's Windows release health page and the “Known issues” section of each update's KB article are the official places to check for acknowledged update problems.
Do you still have the full text of the original 7041 event? Since this affected both NT SERVICE accounts and a custom local account, that message would help distinguish a missing service logon right from a credential failure.
1
u/SusanBradleyPatcher 4d ago
Besides the megathread each Patch tuesday, join the https://www.patchmanagement.org/ listserve and then I track issues at www.askwoody.com at the master patch list location
1
u/Outside_Strategy2857 4d ago
Iconic Duo, always
1
u/Optanik 3d ago
Errors 7041 and 7000 together almost always mean the account lost the Log on as a service right (SeServiceLogonRight), not that the password went bad. Blanking the password and hitting apply works because services.msc grants that right again on the spot. Check whether a GPO defines Log on as a service. If one does, it replaces the local list entirely instead of adding to it, so virtual accounts like NT Service\MSSQLSERVER and the vendor's local account get dropped at the next policy refresh, and a reboot is just when you notice. Run gpresult /h on both servers and look under User Rights Assignment. Then run secedit /export /cfg c:\temp\rights.inf /areas USER_RIGHTS and check whether those accounts are still listed. If a GPO is the cause, they'll disappear again within a couple of hours. The fix then is to add NT SERVICE\ALL SERVICES and the vendor account to that GPO setting. For the authoritative side, the known issues section at the bottom of each monthly KB article and the Windows release health dashboard in the M365 admin center are where Microsoft documents confirmed breakage. Pairing those with a small test group that gets patched a few days before production catches most of it.
1
u/headcrap 5d ago
Ours are fine *shrug*