SCCM can't connect to local SQL after a Server 2022 upgrade. What should we check?

November 12, 2026 3 answers
Asked by _KINDLY__proceed

Our co-located SCCM and SQL Server stopped working roughly two weeks after an in-place upgrade from Server 2019 to Server 2022. The console only shows Administration, and a site reset fails when it tries to query SQL. A previous upgrade had the same pattern, but the server was reverted from a snapshot.

We keep seeing a socket access permissions error. Local loopback appeared to work, but the FQDN did not. We have also tried changes to service accounts, connection protocols, registry settings and the hosts file. This is an air-gapped DoD environment, so recovery and upgrade deadlines both matter. Where would you go from here?

Answers

ex6-rail

I'd stop making broad configuration changes and get a reliable recovery path in place first. With the same failure appearing after two upgrade attempts and a lot of settings now changed, a parallel rebuild is worth considering rather than relying on a system you no longer trust.

Check the supported SCCM recovery or migration procedure for your site and test the replacement before switching anything over. A return to Server 2019 may buy time, but make sure any compliance exception and the eventual upgrade plan are agreed with the people responsible for them.

Reply to this answer
PLEASE RETURN THE LADDER

The loopback versus FQDN result is the clue I'd chase before changing more SQL permissions. Confirm exactly what address the FQDN resolves to, what address and port SQL is listening on, and whether the same connection test succeeds against each address. Check the SQL error log and Windows event logs around the failure too.

The hosts file and client protocol changes can affect what those tests actually exercise, so document or undo them in a controlled way before drawing conclusions. A successful loopback test alone doesn't prove the site can reach SQL using its configured name and endpoint.

_mostly_carton_:

Also note the exact command, target address and port for each test. That makes it easier to distinguish a name resolution problem from a connection being blocked or refused.

Reply to this answer
index_card_without_lines

The MOF compilation hanging at the repository is another lead, though it doesn't establish that WMI caused the SQL error. Check WMI health and the relevant event logs separately, especially before attempting any repository repair or rebuild. Take a supported backup first and verify the recovery steps.

SCCM depends heavily on WMI, which is one reason a parallel replacement may be less risky than repeatedly upgrading this installation in place. That still needs a tested site recovery or migration plan, not just an operating system reinstall.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions