If you are seeing these types of errors in the cdm log here is the solution:
Verify on local Windows XP/2000/2003/2008 etc machine that performance counters are intact and visible using 'perfmon' tool on the local system e.g., for Processor.
If the perfmon counters are corrupted on your machine you’ll see numbers like 1151, 1112, 1167 etc. instead of counters/strings.
Also please check out this Microsoft KB article:
If your counters are corrupted for instance: you can try issuing this command as administrator:
Then recheck the counters to make sure they are repaired.
If the counters are successfully repaired, you will still need to reboot after the rebuild.
Also via regedit, take note of:
In this key, there could be a Disable Performance Counters value that is set to 1. You may have to reset that value to 0, and then Deactivate and Activate the cdm probe.
Also note that by default, some counters are not enabled on Windows machines so they have to be manually enabled. For more info see:
How to manually rebuild Performance Counter Library values
Missing Objects and Counters in Performance Monitor
One solution is to export the registry key from another system and apply it to the subject computer.
Processor performance monitor (perfmon) object is not available:
Some performance objects and counters are not available in the System Monitor tool on your Windows XP-based computer.
This information applies to any Windows system missing the following objects (not just Windows XP)
Also, if you are seeing below errors in cdm.log file:
cdm: Error from GetNameStrings - RegQueryValueEx (Counter): The system cannot find the file specified.
It means that windows standard API RegQueryValueEx is failing to get registry handle for key HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Perflib\009
go to registry editor using regedit command and check the HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Perflib\009
counter value. It should be having counters and its values.
If the counters are not available. Please follow below Microsoft links to manually rebuild Performance Counter.