<p>I have an application running under Windows XP, and I'm accessing the Processor and Memory performance counters.  When I try to run the same code and access them on XP Embedded, the counters don't seem to be present.  They are present in the image - I can see them all in perfmon.  What's the missing piece here?</p>

[{'answer_id': 56696, 'author': 'rudigrobler', 'author_id': 5147, 'author_profile': 'https://Stackoverflow.com/users/5147', 'pm_score': 1, 'selected': False, 'text': '<p>Have you added all the WMI components? As far as I know, you need all the WMI components to access the counters!</p>\n\n<blockquote>\n  <p>The Performance Counter Windows Management Instrumentation (WMI) Provider component provides a bridge between the performance registry interface and the WMI interface. This component allows WMI clients to access performance counters through WMI scripts, and allows management applications built using WMI to access performance counters. Without this component, applications must directly use the registry interface or the performance data helper interface to access performance counters. </p>\n</blockquote>\n\n<p>Thank you TimK for the link (<a href="http://msdn.microsoft.com/en-us/library/aa939695.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa939695.aspx</a>)</p>\n'}, {'answer_id': 58802, 'author': 'TimK', 'author_id': 2348, 'author_profile': 'https://Stackoverflow.com/users/2348', 'pm_score': 1, 'selected': True, 'text': '<p>It looks like this is what I was missing: <a href="http://msdn.microsoft.com/en-us/library/aa939695.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/aa939695.aspx</a></p>\n'}]
['https://Stackoverflow.com/questions/56654', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2348/']