Showing posts with label checking. Show all posts
Showing posts with label checking. Show all posts

Wednesday, March 7, 2012

Problem Installing SQL Express 2005

When it is checking my PC configuration, I get the error message:


TITLE: Microsoft SQL Server 2005 Setup

The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine KODY Error:2147942527 (0x8007007f).

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=70342


BUTTONS:

OK


I do not know how to fix the problem. Please help!

Sincerely, Kclemens

The OS's affected are: Win 2003, Win2003 SP1(x86, IA64, x64), and XP PRO SP2 and higher

This error can also be seen if WMI is corrupt on your machine. Try these cmd line statements:

Mofcomp.exe %windir%\system32\wbem\cimwin32.mof Regsvr32 wbemupgd.dll regsvr32 wbemsvc.dll wmiprvse /regserver|||

I ran those and on these 2 I got the error message:

Mofcomp.exe %windir%\system32\wbem\cimwin32.mof|||

The error message that you received didn't come through in your post. Can you please repost the error?

-Jeffrey

|||

Can you try with this

Create a Bat file and execute.

=========================

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

Problem Installing SQL Express 2005

When it is checking my PC configuration, I get the error message:


TITLE: Microsoft SQL Server 2005 Setup

The SQL Server System Configuration Checker cannot be executed due to WMI configuration on the machine KODY Error:2147942527 (0x8007007f).

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.06&EvtSrc=setup.rll&EvtID=70342


BUTTONS:

OK


I do not know how to fix the problem. Please help!

Sincerely, Kclemens

The OS's affected are: Win 2003, Win2003 SP1(x86, IA64, x64), and XP PRO SP2 and higher

This error can also be seen if WMI is corrupt on your machine. Try these cmd line statements:

Mofcomp.exe %windir%\system32\wbem\cimwin32.mof

Regsvr32 wbemupgd.dll

regsvr32 wbemsvc.dll

wmiprvse /regserver|||

I ran those and on these 2 I got the error message:

Mofcomp.exe %windir%\system32\wbem\cimwin32.mof|||

The error message that you received didn't come through in your post. Can you please repost the error?

-Jeffrey

|||

Can you try with this

Create a Bat file and execute.

=========================

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