Results 1 to 6 of 6

Thread: SQL Server 2005 Standard installation error CC WMI

  1. #1
    Brahman Guest

    SQL Server 2005 Standard installation error CC WMI

    SQL Server 2005 Standard Edition was installed on a dual boot computer under
    XP Pro and ran ok.
    Installed Vista as a dual boot system on the same computer.
    When SQL Server installation was initiated I got a Configuration Checker
    error due to WMI.
    Microsoft SQL Server 2005 Setup
    The SQL Server System Configuration Checker cannot be executed due to WMI
    configuration on the machine D975 Error:2147749896(0x80041008)
    Error code.
    Source: setup.rll
    Setup exits.

    I have Visual Studio 2005 installed with .net framework 2 SP1 and 3 SP1
    I had no WMi issues during the installation under XP Pro.
    I unistalled SQL Server under XP Pro using CP ADD/Remove.
    I get the same error message during SQL installation under Vista.

    I tried searches but so far no luck.
    Have you any suggestions?

  2. #2
    Ron Guest

    Re: SQL Server 2005 Standard installation error CC WMI

    Go into services and verify that the Windows Management
    Instrumentation Service is started. Also, VS2005 usually installs SQL
    Server 2005 Express. If it is installed before SQL 2005 Standard,
    there could be some problems.

    Enter wmimgmt.msc into the run (search box in Vista) box and it should
    bringup the WMI console. If it does not or you receive an error, WMI
    is broke. Although there are steps to repair it out there (use
    Google-fu), I would probably do an in place upgrade (reinstall).

    But I do know for a fact that they work perfectly on Vista (SQL Server
    2005 needs all of it's service packs, though) when they are loaded.

    If the WMI service is fine, uninstall VS2005, SQL server 2005 Express
    and reinstall, installing SQL 2005 Standard first.

  3. #3
    Brahman Guest

    Re: SQL Server 2005 Standard installation error CC WMI

    Thanks Ron
    I will try your suggestions and let you know the results

  4. #4
    Brahman Guest

    Re: SQL Server 2005 Standard installation error CC WMI

    I checked services -WMi - started - automatic
    Ran wmimgmt.msc Console opens.
    Right click WMi Control - Properties
    Message -Red Cross WMI error features not available. Upgrade WMI to a newer
    build. OK
    WMI Control(Local) Properties/General
    Failed to connect to <local computer>
    because "Error code: 0x8004100A"

    Did not try Backup/Restore.

    Uninstalled recommened programs.
    Tried installation of SQL Server2005 Standard Edition first.
    CC gives same WMI error.

    CP/Admin Tools/Computer Management/Services and Applications/WMi
    Same error message - Failed to connect to <local computer>

    Any suggestions for a "In place install of WMI"
    Where is this snap-in available?
    How can I correct this error code?

    Thanks for your help

  5. #5
    Ron Guest

    Re: SQL Server 2005 Standard installation error CC WMI

    Although I have never had to repair the WMI, I have had to do some
    batch file repairs to fix problems with a service required for a
    program of mine. Try this:

    I found this batch file and ran it and it fixed my WMI problems on SQL
    Server 2003. Copy this into notepad as save as fixwmi.cmd and then
    from a command line run c:\fixwmi.cmd.

    It takes several minutes to complete and at points it appears that it
    is not running but it is. After it is complete, you see the :END
    statement start the SQL server installation again and you should be


    @echo on
    cd /d c:\temp
    if not exist %windir%\system32\wbem goto TryInstall
    cd /d %windir%\system32\wbem
    net stop winmgmt
    winmgmt /kill
    if exist Rep_bak rd Rep_bak /s /q
    rename Repository Rep_bak
    for %%i in (*.dll) do RegSvr32 -s %%i
    for %%i in (*.exe) do call :FixSrv %%i
    for %%i in (*.mof,*.mfl) do Mofcomp %%i
    net start winmgmt
    goto End

    if /I (%1) == (wbemcntl.exe) goto SkipSrv
    if /I (%1) == (wbemtest.exe) goto SkipSrv
    if /I (%1) == (mofcomp.exe) goto SkipSrv
    %1 /RegServer

    goto End

    if not exist wmicore.exe goto End
    wmicore /s
    net start winmgmt

    Read the forum thread on the following site:

    Then try to install SQL server2005 Standard first.

  6. #6
    Join Date
    Feb 2009
    Cuernavaca Morelos Mexico

    Re: SQL Server 2005 Standard installation error CC WMI

    I tried the script and didn't work, it didn't show error messages nor anything like it, what I did was kill the service winmgmt, copy the whole %windir%\system32\wbem folder from another XP machine where I could install the SQL server and that solve my problem, though the dll's didn't copy to the destination folder the ones that did the job where the config files.

    Thanks for the guidance, without it I wouldn't be able to solve it.
    Last edited by jorian1; 13-02-2009 at 08:59 AM.

Similar Threads

  1. Installation of SQL Server 2005 Enterprise Edition
    By Jochen Rieseberg in forum Windows Server Help
    Replies: 3
    Last Post: 14-01-2014, 08:44 AM
  2. Ms Sql Server 2005 Error
    By angaiah in forum Software Development
    Replies: 2
    Last Post: 07-07-2011, 12:34 AM
  3. Replies: 3
    Last Post: 02-04-2011, 07:33 AM
  4. Upgrade fails: SQL Server Express 2005 to SQL Server 2005
    By Steve BB in forum Small Business Server
    Replies: 3
    Last Post: 11-06-2008, 07:37 PM
  5. Replies: 5
    Last Post: 20-05-2008, 05:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts