WMI issues that prevent SCOM Agent install
During the initial install of the agents on the servers I ran across a hand full of failed agent installs. Nothing worked. Couldn’t push the install, and when I tried a manual install on the client it would fail halfway through with errors related to mof files.
Resolution is to fix WMI. And here is exactly how I did it.
Well almost exactly. You will need to send me an email for the files required to do this.
On effected server
1. copy mom_tracing.mof to any location on the server. I used c:\downloads
2. open the command prompt and navigate to c:\downloads and
run the following command without the quotes.
”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 connecting to Root\WMI and doing a recursive Enum of the classes and looking for EventTrace as a class, if necessary).
To fix the error proceed to step 3
3. Copy the contents of the mof folder (email me for this folder) to c:\%SystemDirectory%\system32\wbem
4. Open command prompt and navigate to c:\%SystemDirectory%\system32\wbem
Run the following command without the quotes.
“For /f %s in (‘dir /b *.mof *.mfl’) do mofcomp %s”
Restart WMI services.
Install SCOM agent from file://scomserver/agent/i386
And that’s it. The entire process should take less then a few minutes.
Brad Hearn
Enterprise Server Analyst
Comments
Got something to say?
You must be logged in to post a comment.