Solved

Installation Problem - SQL Server 2005

Posted on 2006-06-14
1
799 Views
Last Modified: 2012-06-22
We are experiencing an error when installing the SQL Server 2005 Desktop.

Here's the error from the dialog: The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine <<MACHINE_NAME>>, Error: 2147942405 (0x800700005).

I have seen other postings, and errors on the web relating to BITs, MOM and SMS experiencing this issue on server side installs, but not on desktops. The machine in question is 32 bit Windows XP SP2, with 2 GB of RAM and plenty of disk space, Pentium 4 CPU and the user is an administrator. The SQL Server is running as a local system account.

The machine is a desktop already running a SQL Server 2000 Server deployment.
0
Comment
Question by:march2k
1 Comment
 
LVL 25

Accepted Solution

by:
jrb1 earned 500 total points
ID: 16908265
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=193534&SiteID=1


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 fixed.

 

FIXWMI.CMD
------------------------

@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

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

:SkipSrv
goto End

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

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains all about SQL Server Piecemeal Restore with examples in step by step manner.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now