- Creating the application's performance key.
- Adding counter names and descriptions to the registry.
- Removing counter names and descriptions from the registry.
- Creating other registry entries.
- Use unlodctr to remove the counter names and descriptions.
- Remove the application's performance key. See the information in the Platform SDK documentation about "Creating the application's performance key" for specifics.
Symptoms that occur as a result of leaving the application's performance key in the registry after unloading counter names and descriptions may vary depending on how the extension is implemented. However, one typical symptom is extra Event 1008 messages added to the Application Event Log by the Perflib source. When the performance monitor reads all counters for the first time, the extension's Open procedure is called. A typical task for the Open procedure is to read what range of object indexes it supports from the registry. These index values are stored in the First Counter, First Help, Last Counter, and Last Help registry values under the application's performance key. This fails the Open procedure call because unlodctr deletes these values, which in turn causes Windows NT to post Event 1008 to the Application Event Log.
As a user of a vendor's software, after uninstalling, if you find Event 1008 in the Application Event Log for the Perflib source, which indicates that the software's performance extension is failing the Open procedure, you should contact the vendor of the product so the vendor can correct its uninstall procedure. However, you may be able to correct the situation yourself.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
- To completely remove a performance monitor extension, first identify the service name of the product that supported the custom counters.
- Use RegEdt32.exe to traverse to the following subkey:
where <application> refers to the service name in step 1.
- Select the Performance subkey and from the Edit menu, click Delete. This action deletes the Performance subkey and all its values.
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
ID do Artigo: 247226 - Última Revisão: 21 de nov de 2006 - Revisão: 1