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.
• 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With