question

kennr234-7723 avatar image
0 Votes"
kennr234-7723 asked AndreyBonilla-2039 commented

SQL Server Installer says: MOF compiler could not connect with the WMI server.

Hello. I had to move (some of) my MS SQL Server 2019 install from C: to D: because of space. I ended up needing to reinstall it completely, but product will not reinstall for me. Below is the error message. I already checked the WMI and reset its repository. I also cleared registry keys and deleted on disk files to get a clean install, but no help. Any help is appreciated. Thank you.

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.

sql-server-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

kennr234-7723 avatar image
2 Votes"
kennr234-7723 answered AndreyBonilla-2039 commented

There were several fragments from previous install attempts lodged in the windows registry. Once those fragments were removed from the registry (which took some time and effort), the program installed smoothly. Thanks to all who would have helped me. Thanks.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi kennr234-7723,

I am glad to know that your issue has been solved. In order to close this thread, please accept your solution as answer. Your understanding and cooperation will be grateful.

Best Regards,
Amelia

0 Votes 0 ·

que bueno que se haya resuelto su problema, da la casualidad que tengo el mismo, y si puedes explicar como hiciste eso, te lo agradeceria mucho

0 Votes 0 ·
sonalirathi-5945 avatar image
0 Votes"
sonalirathi-5945 answered

There is incomplete uninstallation of SQL server and we are not able to install in SQL server in your PC due to below errors. • Database Engine services Failed • PerfLib 2.0 counter removal failed with exit code 2. • The MOF compiler could not connect with the WMI server.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.