Hi @gianlucaast ,
(01) 2023-03-22 14:24:18 Slp: 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.
Please refer to this thread:
You can download this troubleshooter. It help you automatically repair issues when you're blocked from installing or removing programs. It also fixes corrupted registry keys.
There is another way.
Please follow the below steps to remove all components of previous installed SQL Server completely:
- Remove all SQL Server components from 'Programs and Features'
- Backup the registry
- Delete the following keys in regedit:
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server
--HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer
- Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and delete all the sub-keys referencing SQL Server
- Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete all the keys referencing SQL Server
- Reboot the machine
In addition, please use an administrator account to reinstall SQL Server on your computer(Right click->run as administrator).
Best regards,
Seeya
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".