Just tried to install sql 2005 on my Vista machine for a demo coming soon and was stopped by a WMI error.
Thankfully the following managed to fix it:
cmd... winmgmt /verifyrepository
WMI repository is INCONSISTENT
so I ran winmgmt /salvagerepository
The first time I ran this I got:-
WMI repository salvage failed
Error code: 0x8007041B
Description: A stop control has been sent to a service that other running services are dependent on.
So, I thought Id try once more for luck! This time I got:
WMI repository has been salvaged
and it installed without a problem!