On Sat, 26 Jan 2008 07:58:01 -0800, Brahman
<Brahman@xxxxxx> wrote:
Quote:
>Ron
>I checked services -WMi - started - automatic
>Ran wmimgmt.msc Console opens.
>Right click WMi Control - Properties
>Message -Red Cross WMI error features not available. Upgrade WMI to a newer
>build. OK
>WMI Control(Local) Properties/General
>Failed to connect to <local computer>
>because "Error code: 0x8004100A"
>
>Did not try Backup/Restore.
>
>Uninstalled recommened programs.
>Tried installation of SQL Server2005 Standard Edition first.
>CC gives same WMI error.
>
>CP/Admin Tools/Computer Management/Services and Applications/WMi
>Control/Properties
>Same error message - Failed to connect to <local computer>
>
>Any suggestions for a "In place install of WMI"
>Where is this snap-in available?
>How can I correct this error code?
>
>Thanks for your help
Although I have never had to repair the WMI, I have had to do some
batch file repairs to fix problems with a service required for a
program of mine. Try this:
<quote>
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
</quote>
Read the forum thread on the following site:
http://forums.microsoft.com/MSDN/Sho...93534&SiteID=1
Then try to install SQL server2005 Standard first.