Monday, 12 March 2007

Sql 2005 and WMI issues

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
this returned:
WMI repository is INCONSISTENT

so I ran winmgmt /salvagerepository

The first time I ran this I got:-
WMI repository salvage failed
Error code: 0x8007041B
Facility: Win32
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!

Enjoy!

Ross

1 comment:

NQT said...

Hi Ross.

I have the same problem, and tried this method, but the result I got is an error due to Access denied to WMI.

Another blog suggests running the command with elevated privileges, but I don't know how to set higher privileges. I am already administrator on this computer.

Please advice. Thanks much for your help.

Trang