Welcome to Aquilaweb

MVP David Allen's weblog advising on
System Center Operations Manager

WMI

After implementing Operations Manager in your environment you may find some of your servers experiencing WMI problems. This can result in not being able to collect data or monitor what you need as the WMI queries in the rules and monitors will fail.

Here are some simple command sets to reset and re-register WMI which in my experience I have found to solve many WMI issues.


Resetting WMI


  1. net stop winmgmt
  2. c:
  3. cd %windir%\system32\wbem\
  4. rmdir /s /q Repository
  5. rmdir /s /q Logs
  6. mkdir Logs
  7. net start winmgmt


Re-registering WMI


  1. net stop winmgmt
  2. c:
  3. cd %windir%\system32\wbem\
  4. for %i in (*.dll) do RegSvr32 /s %i
  5. for %i in (*.mof, *.mfl) do Mofcomp %i
  6. net start winmgmt






03 Aug, 2008 | David



« Prev item - Next Item »
---------------------------------------------

Comments


You also might want to try this.

http://www.scom2k7.com/wmi-...

Tim McFadden - 04 Aug, 2008 - 01:39:22
--------------------------


You also might want to try this.

http://www.scom2k7.com/wmi-...

Tim McFadden - 04 Aug, 2008 - 01:39:57
--------------------------




Leave comment

This item is closed, it's not possible to add new comments to it or to vote on it