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

来源:这里教程网 时间:2026-03-02 10:09:47 作者:

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"

相关推荐