Problem:
Role on server keeps installing, every hour. Let's say is it is the MP role, yet in the MPsetup.log file it shows that the role installed sucessfully but the Compmon.log shows that the services are not installed. You also might find the registry entries for the server are not there. If found several errors in the event log as listed below about the performance counter error. After searching I finally located the "repair" command for the performance counter. After several hours I went back and checked and found the server had stopped repairing/reinstalling and the logs look good. All logs were moving as they should. Below is the data I found in the logs and the command to run.
Windows Event Log:
The performance counter explain text string value in the registry is not formatted correctly. The malformed string is #%$*>)@}#. The first DWORD in the Data section contains the index value to the malformed string while the second and third DWORDs in the Data section contain the last valid index values.
CompMon.log:
Can not get the current execution state for component SMS_MP_CONTROL_MANAGER since it is not installed or completed installing.
Can not get the current execution state for component SMS_EXECUTIVE since it is not installed or completed installing.
Can not get the current execution state for component SMS_COMPONENT_MONITOR since it is not installed or completed installing
Can not get the current execution state for component SMS_OUTBOX_MONITOR since it is not installed or completed installing.
Can not get the current execution state for component SMS_MP_FILE_DISPATCH_MANAGER since it is not installed or completed installing.
Waiting until the next polling cycle in 5 seconds from now.
Checking components ...
MPSetup.log:
Installation was successful.
Resolution:
lodctr /r: c:\windows\system32\perfstringbackup.ini