Platform SDK: Performance Monitoring

Deleting Performance Counters

The following steps are necessary to completely uninstall a performance counter. Note that these steps must be performed in the specified order.

  1. Use the unlodctr utility with the .ini and .h files to uninstall the counter information in the registry. This utility succeeds only if a performance key exists in the Services key for the application. See Removing Counter Names and Descriptions from the Registry.
  2. Delete the registry key in the Services key corresponding to the application. See Deleting the Application's Performance Key.