Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Install Error: The MOF compiler could not connect with the WMI server

I needed to move (some of) my sql install from C: to D: because of space. SQL installer insists some of it stay on C:. Then I needed (decided) to reinstall it, but sql would not do the reinstall. Gave me error: MOF compiler could not connect with the WMI server. Looked for sqlmgmproviderxpsp2up.mof on windows 10, but not seen. Reset WMI repository, no help. Checked WMI service is running. Cleared sql keys in registry and sql files on disks for cleaner install, but no help. Error message first occurs during install of Slp_Config_Install_Core_WMI_Provider_Cpu64.

[Microsoft SQL Server 2019 Setup. The following error has occurred:

The MOF compiler could not connect with the WMI server. This is either because of a semantic error such as an incompatibility with the existing WMI repository or an actual error such as the failure of the WMI server to start.]

All help provided is appreciated. Thank you.

like image 245
kennr Avatar asked Sep 06 '25 23:09

kennr


1 Answers

• The MOF compiler could not connect with the WMI server.

Its happen your previous sql server uninstallation improper. That's why you have to uninstalled previous version from your system and then install new version.

https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d

after download troubleshoot and perform uninstalled all sql server and using uninstallation of your old version.

like image 135
Jagadeshwar Reddy Avatar answered Sep 11 '25 02:09

Jagadeshwar Reddy