I upgraded my WindowsXP computers from SP2 to SP3 so that I could add them to my SCOM infrastructure but I kept getting the following error each time I try to remotely deploy the SCOM agent from the management server:
The Agent Management Operation Agent Install failed for remote computer My_WinXP_Comp-4.mydomain.com.
Install account: mydomain\jmilano
Error Code: 80070643
Error Description: Fatal error during installation.
Microsoft Installer Error Description:
For more information, see Windows Installer log file “C:\Program Files\System Center 2012\Operations Manager\Server\AgentManagement\AgentLogs\My_WinXP_Comp-4AgentInstall.LOG
C:\Program Files\System Center 2012\Operations Manager\Server\AgentManagement\AgentLogs\My_WinXP_Comp-4MOMAgentMgmt.log” on the Management Server.
When you look at the log file “C:\Program Files\System Center 2012\Operations Manager\Server\AgentManagement\AgentLogs\My_WinXP_Comp-4AgentInstall.LOG”, the error shows as:
InstallHSPerfCounters: Failed to install agent perf counters. Error Code: 0x80070057.
Error 25211.Failed to install performance counters.. Error Code: -2147024809 (The parameter is incorrect.).
The solution, at least for me, is to RDP to the computer and run a Command prompt with the following:
Nothing seems to happen, but the command actually triggers the rebuilding of the Performance Counters on that computer. There is one other step which needs to be completed. It seems that when you try to deploy the SCOM agent to any computer, and the installation fails for whatever reason, the following registry key remains on the server and this stops the re-installation from being successful:
In my case, on my WinXP computer, not only did I rebuild the Performance Counters, but I had to remove the above reg key in order to successfully deploy the SCOM agent from the management server to this computer.