Solved

Installation Problem - SQL Server 2005

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What does "flush tables;" do exactly? 7 99
Do we need servers??? 5 196
Slow SQL query 12 61
form builder not starting 3 34
CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

772 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