SQL Express failed to install due WMI configuration.

Hi All,

My Visual Studio 2005 Professional Edition(RTM) Setup failed on install SQL Express Edition. So I tried to install this from WCU directory and I receveid a message:

"The SQL Server System Configuration Checker cannot be executed due to WMI
configuration on the machine mymachine Error:2147749917(0x8004101d)."

Then I tried with the full SQL 2005 Developer Edition (RTM) with same result.

Looking on SQLSetup0032_mymachine_SCC.log I have:

"
Processing article WMIServiceReadRegWorking
Scc Error:  50024 (0xc368)
Error code: 2147749917 (0x8004101d)
Calling callback function for reason: 0x2
Callback function returned TRUE  "

I have tried recompiling all WMI classes, WMI DCOM permissions, changing
security with WMI snap-in and nothing this solved the problem.

Can someone help me please

Thanks in advance

Washington Moreira


Answer this question

SQL Express failed to install due WMI configuration.

  • Koei

    Hi All,

    Well, I decided to do some crazy things Idea. Using CIM Studio on path root\default I changed two Providers instances(RegProv and RegPropProv) as follows:

    HostingModel from LocalServiceHost to NetworkServiceHost
    ImpersonationLevel from 1 to 3

    Doing this after more or less 40 hours of work I have SQL 2005 installed!!! Big Smile

    Settings for ImpersonationLevel is very confuse, because in this documentation:
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/__win32provider.asp
    this
    parameter is reserved for future use.

    Another documentation:
    http://msdn.microsoft.com/library/default.asp url=/library/en-us/wmisdk/wmi/provider_hosting_and_security.asp
    says that ImpersonationLevel should be set to 1 as impersonation.
    But on wbemImpersonationLevelEnum the value 3 means impersonation.
    OK. Afterwards I returned this parameter to value 1.

    Only as info, on Windows XP SP2(differ from Windows 2003 SP1) the providers in question has the follwing settings:
    HostingModel LocalSystemHost    (not LocalServiceHost)
    ImpersonationLevel 1

    For security I disabled remote permissions on WMI path (root\default).

    Thanks.

    Washington Moreira

  • fermo111

    Can you post the a more detailled, step by step, procedure with CIM Studio please.

    Best regards.

  • SQL Express failed to install due WMI configuration.