question

kennr234-7723 avatar image
1 Vote"
kennr234-7723 asked RobAinscough-9710 edited

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
4 Votes"
kennr234-7723 answered MohammadDabiransari-1057 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.

· 3
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 ·

Hi kennr234-7723,

I am facing this problem right now.
Can you help me out with this problem?

Thank You

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.

RobAinscough-9710 avatar image
0 Votes"
RobAinscough-9710 answered RobAinscough-9710 edited

Same issue with me ... there is no real "answer" provided ... "removed fragments from the directory" ... errr, what fragments???? Registry is massive.

Yet another "correct" answer that is NOT an answer nor a solution?

Microsoft documents website if virtually useless, I have no idea why Microsoft spend the time and money to keep it going and those resource assigned to it???

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.