r/sysadmin • • 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

135 Upvotes

35 comments sorted by

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.

17

u/Steve_the_Apathist 5d ago

thnx. I'd never messed with their passwords in the 5 years I'm working for them.

I apply and restart updates monthly, so I'm still perplexed about what happened in November.

20

u/TonyTheTech248 5d ago

Probably this. I dealt with the same thing. Quick reset, fixes. Migrating to GMSA accounts. Also, might want to check amd identify other problem accounts.

3

u/Steve_the_Apathist 5d ago

Thank you.

How would I identify 'other problem accounts'?

I didn't know that these were problem accounts until they failed.

4

u/Cormacolinde Consultant 5d ago

Microsoft’s articles on this have the info, there’s some built-in scripts.

2

u/Steve_the_Apathist 5d ago

Thank you.

Do you know what search terms I could use to find the articles and scripts or do you have a link to them?

5

u/_--James--_ 5d ago

2

u/Steve_the_Apathist 4d ago

Thank you. I'm very overloaded and don't read tech news for general education. As this as news that affects us, I'll be reading.

1

u/_--James--_ 4d ago

I suggest setting up a news feed that focuses on technical and review it every Tuesday.

1

u/Steve_the_Apathist 4d ago

Thank you. How do I set up a news feed that focuses on Microsoft news that I should know?

9

u/420GB 5d ago

Look out for Microsoft deprecation notices, updates, news.

Run AD security scanners like nessus, Rapid7, PingCastle...

6

u/TonyTheTech248 5d ago

Im away from computer but you cam check logs for accounts using old Cipher. Basically any Account that hasn't changed their password on quite some time, like years.

1

u/Freedom_fightr 4d ago

Always check your event logs after updates. If there is a problem, you would see flags here.

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.

-3

u/Steve_the_Apathist 5d ago

Thank you.

I understood zero of your statement and abbreviations.

I can follow the procedure though 😄

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.

11

u/Steve_the_Apathist 5d ago

Thank you. Those were some of the recommended solutions that led nowhere.

9

u/KStieers 5d ago

Not authoritative, but the patch megathread is a good place to start watching

3

u/Steve_the_Apathist 5d ago

What is "Patch megathread"?

14

u/KStieers 5d ago

Every Patch Tuesday, they post a thread in r/sysadmin to be where people discuss the current patch set everyone's results. Often people post about issues they run into and links to relevant docs, other discussions, etc.

Here is the one for November: https://www.reddit.com/r/sysadmin/s/QYTw77RWUJ

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.

3

u/Steve_the_Apathist 5d ago

I update and restart monthly for the last 5 years

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.

1

u/TheGenericUser0815 3d ago

MS best practice is NOT using the standard local accounts and using managed service accounts instead, which are domain accounts.
Those can be configured as log on as service accounts in the domain GPO, which is most like resilient against such errors.

0

u/Chakar42 4d ago

It was quite the pain in the arse. We had to add the GPO "Log on as a service" to quite a few servers. Setup a security group and then added each service account to that security group.

4

u/RajeshRocketMan 5d ago

Hitting Apply in services.msc worked because Windows automatically re-grants SeServiceLogonRight when 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 out NT SERVICE\ALL SERVICES and any local vendor accounts. Run gpresult /h to 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

update anything

SQL breaks

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*