05.27
Today I was installing an Operations Manager 2007 R2 Agent on a customer’s server. The installation had almost completed when an error dialog box appeared (shown below) stating that the installation routine failed to uninstall the SDK MOF. The installation routine then initiated a rollback action.
I did a search using the Bing search engine and quickly came across a blog posting by Kare Rude Andersen that addressed the problem and provided a solution. The error is the result of the WMI (Windows Management Instumentation) repository being in an inconsistent state.
If you are receiving the error shown above, right-click on the Computer icon (or My Computer if running an OS prior to Windows Server 2008) and select Properties from the pop-up menu. On the System properties dialog box (shown below), locate the processor and memory information. If a WMI repository inconsistency exists, no information will be shown for these items.
To return the WMI repository to a consistent state, open a command prompt and navigate to the C:\Windows\system32\wbem directory. Run the following command:
winmgmt /verifyrepository
If the result returned by running the above command is “WMI repository is INCONSISTENT,” run the following command to salvage the repository:
winmgmt /salvagerepository
If the repository is salvaged successfully, the above command will complete with the result “WMI repository has been salvaged.” To complete the operation, run the following command:
for /f %s in (‘dir /b *.mof *.mfl’) do mofcomp %s
Apparently, in some cases, it might be necessary to copy *.mof files from another computer running the same OS version and type (x86/x64) and rerun the final command listed above. In my case, this was not necessary. After salvaging the WMI repository, your Operations Manager 2007 R2 Agent should install successfully.







No Comment.
Add Your Comment