Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Installation Problem - SQL Server 2005

Posted on 2006-06-14
1
Medium Priority
?
855 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 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

971 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