OpsMgr 2007: Agent Installation fails with Error 25205.Failed to uninstall SDK MOF

OpsMgr 2007: Agent Installation fails with Error 25205.Failed to uninstall SDK MOF

  • Comments 3
  • Likes

Here's another common issue you might run into.  This one causes the agent setup to fail due to a missing WMI class:

========

Issue: The installation of the Operations Manager 2007 Agent may fail and you may see the following in the
setup log on the client:

InstallMOF: Custom Action Data. C:\Program Files\System Center Operations Manager 2007\mom_tracing.mof
CompileMOF: CompileFile() failed. Error Code: 0x80041001. C:\Program Files\System Center Operations Manager 2007\mom_tracing.mof
MSI (s) (A4!24) [10:32:27:030]: Product: System Center Operations Manager 2007 Agent -- Error 25218.Failed to uninstall SDK MOF. Error Code: -2147217407 (IDispatch error #3585).

Error 25218.Failed to uninstall SDK MOF. Error Code: -2147217407 (IDispatch error #3585).

You may also see the following event logged:

Event Type:     Error
Event Source:   MsiInstaller
Event Category: None
Event ID:       10005
Description: Product: System Center Operations Manager 2007 Agent -- Error 25205.Failed to uninstall SDK MOF. Error Code: -2147217407 (IDispatch error #3585).

Cause: This can occur if the EventTrace class is missing from the root\wmi namespace on the client.

Resolution: To resolve this issue, copy mom_tracing.mof from Program Files\System Center Operations Manager 2007 on a working machine to the same directory on the affected machine. Then on the affected machine run:

mofcomp mom_tracing.mof

This will most likely lead to an error looking for the EventTrace class in WMI which the mom_tracing.mof is dependent upon. This can be verified by running wbemtest and connecting to Root\WMI, then doing a recursive Enum of the classes and looking for EventTrace as a class.

To fix the error copy *.mof and *.mfl over from the windows\system32\wbem directory on a working machine to the same directory on the affected machine. Then open a command prompt, switch to the windows\system32\wbem dir and run the following command:
For /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

Lastly, restart the WMI service and the agent should install successfully.

Hope this helps!

Adrian Doyle | Support Escalation Engineer

Comments
Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment