Solved

Installation Problem - SQL Server 2005

Posted on 2006-06-14
1
786 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
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…

746 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

18 Experts available now in Live!

Get 1:1 Help Now