SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010]

kitesky發表於2011-11-22

1. Disable UAC;

2. Excute mofcomp.exe "C:Program Files (x86)Microsoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof"

[@more@]If you run into any compilation error like - An error occurred while processing item 1 defined on lines 4 - 7 in file C:Prog
ram Files (x86)Microsoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof:
0X80041002 Class, instance, or property 'Name' was not found.
Compiler returned error 0x80041002

follow the below steps.

1. Stop WMI service
2. Navigate to the folder “C:WindowsSystem32wbem” and rename the repository folder to repository_old
3. Rerun the same cmd again
C:Program FilesMicrosoft SQL Server100Shared>mofcomp "C:Program FilesMicrosoft SQL Server100Sharedsqlmgmproviderxpsp2up.mof"

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/66009/viewspace-1056465/,如需轉載,請註明出處,否則將追究法律責任。

相關文章