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

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/66009/viewspace-1056465/

你可能感兴趣的:(SQL Server Configuration Manager – Cannot connect to WMI provider – Invalid class [0x80041010])