OpsMgr 2007: "Error 25218: Failed to uninstall SDK MOF" when installing SP1

image

Here’s an issue we see on a fairly regular basis around here that I thought would be worth a quick post.  This one is concerning an error you may get when trying to install Service Pack 1 for System Center Operations Manager 2007: “Error 25218: Failed to uninstall SDK MOF”.  The details are below, and thanks to Amit Verma for writing this one up:

Issue: When attempting to install OpsMgr 2007 SP1 you may get the following error:

Error 25218: Failed to uninstall SDK MOF

The MOMReporting.log may also show the following errors:

MSI (c) (04:54) [13:29:38:030]: Product: System Center Operations Manager 2007 -
Update 'Microsoft System Center Operations Manager 2007 SP1' could not be
installed. Error code 1603. Additional information is available in the log file
<path>\MOMSP1Upgrade3.log.
MSI (c) (04:54) [13:29:38:030]: Note: 1: 1729
MSI (c) (04:54) [13:29:38:030]: Transforming table Error.
MSI (c) (04:54) [13:29:38:030]: Transforming table Error.
MSI (c) (04:54) [13:29:38:030]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:030]: Transforming table Error.
MSI (c) (04:54) [13:29:38:030]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Transforming table Error.
MSI (c) (04:54) [13:29:38:046]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (04:54) [13:29:38:046]: Product: System Center Operations Manager 2007 -- Configuration failed.

Cause: This can be caused by a problem with WMI.

Resolution: To resolve this issue follow the steps below:

1. Open a CMD prompt and navigate to the "C:\Windows\System32\Wbem" folder.

2. Run the following command:

for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s
for /f %s in ('dir /b /s *.dll') do regsvr32 /s %s

3. Try installing the SP1 upgrade again.

Usually this is all it takes and you’re good to go. 

J.C. Hornbeck | Manageability Knowledge Engineer