Re: WMI Issues

From: David H. Lipman (DLipman~nospam~_at_Verizon.Net)
Date: 10/02/05


Date: Sat, 1 Oct 2005 20:40:57 -0400

From: "Doug R." <dlrik@yahoo.com>

| I am having some WMI issues with XP Pro SP2. I have been trying to install
| SQL Server 2005 Express, while following all of the directions to the letter,
| I still get an error "The sql server system configuration checker cannot be
| executed due to WMI configuration on this machine. Error:2147749891
| (0x80041003).
|
| I have confirmed that the WMI service is running, and i deleted the
| repository folder, with no success.
|
| msinfo32.exe is unable to gather information, "access is denied to windows
| managment inst. server on this computer. Have an admin change your access
| permissions."
|
| I have full admin rights.
|
| Even tried it in another admin account, nothing.
|
| I have been working on this for some time, and i have tried many of the
| solutions found on other newsgroups.
|
| Does anyone have any ideas?
|
| Thnx.
|
| Doug
|

This helps with WMI Initiliazations errors. Maybe it wiill help...

Create a FIXWMI.CMD batch file from the below script and run it and see if this corrects
your problem.

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

-- 
Dave
http://www.claymania.com/removal-trojan-adware.html
http://www.ik-cs.com/got-a-virus.htm


Relevant Pages

  • Re: WMI problems
    ... > | i'm running win2k server and for quite some time the WMI has been hosed up on ... when i right click on wmi and go to properties, ... > if not exist %windir%\system32\wbem goto TryInstall ... > net stop winmgmt ...
    (microsoft.public.win2000.general)
  • Re: De-installation of MS SQL Server generates WMI error: 2148007941
    ... if not exist %windir%\system32\wbem goto TryInstall ... net stop winmgmt ... After running this script, I try to de-install MS SQL Server 2005 ... Any suggestions how to fix this or de-install MS SQL Server 2005? ...
    (microsoft.public.sqlserver.setup)
  • Re: WMI might be corrupted
    ... | Also windows cannot start the windows firewall/ICS service. ... If it doesn't you should post this in a WMI support group. ... if not exist %windir%\system32\wbem goto TryInstall ... net stop winmgmt ...
    (microsoft.public.windowsxp.security_admin)
  • Re: WMI problems
    ... | i'm running win2k server and for quite some time the WMI has been hosed up on ... when i right click on wmi and go to properties, ... if not exist %windir%\system32\wbem goto TryInstall ... net stop winmgmt ...
    (microsoft.public.win2000.general)
  • SQL Server Developer Edtn 2005 - WMI Error during installation - Error:2147500034 (0x8000400
    ... The SQL Server System Configuration Checker cannot be executed due to WMI ... Here are the steps that I am going through during the SQL Server Developer ... if not exist %windir%\system32\wbem goto TryInstall ... net stop winmgmt ...
    (microsoft.public.sqlserver.setup)

Quantcast