When a performance extension DLL is disabled, the performance counters provided by that DLL are not available through Performance Monitor or the Performance Data Helper API. Disabled DLLs are not reloaded when the system is restarted.
If a performance extension DLL becomes disabled unexpectedly, check the application event log for event 1017 or 1018 (the "disable" events) posted by the Perflib source. Then look for other events posted by Perflib that will give the reasons why the system disabled the extension. These events should be noted if you need to call technical support.
You can try reenabling the extension DLL. If the problem persists (that is, the system disables it again) you should contact the vendor of the extension. If the object is a Windows 2000 system object (such as the Process object) contact Microsoft Product Support Services (PSS).
To reenable an extension DLL, Microsoft recommends that you use the ExCtrlList utility from the Windows 2000 Resource Kit. Alternatively, you can use the Registry editor tool (Regedit.exe) that ships with Windows 2000.
Reenabling an Extension by Using ExCtrlLst
- Start Exctrlst.exe. This is a tool from the Windows 2000 Resource Kit.
- Select the first item in the Extensible Performance Counters list box.
- Inspect the Performance Counters Enabled checkbox that appears just below the list box. If the checkbox is selected, the counter is enabled. If it is cleared, then select the checkbox to reenable it.
- Select the next item in the Extensible Performance Counters list box and repeat the previous two steps until all items have the Performance Counters Enabled checkbox selected.
Reenabling an Extension by Using Regedit.exeImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
- Start Regedit.exe. (You cannot use Regedt32.exe because it does not allow searching for registry values.)
- Click to select the following keyHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
- Select Find from the Edit menu.
- In the Find What field, type Disable Performance Counters.
- Click Find Next. This will locate a Performance key that may have this Registry value set to 1.
- If the Registry value is set to 1, set the value to 0 or delete the Registry value.
- Press F3 to find the next occurrence of this Registry value.
- Repeat the previous two steps until there are no Performance keys that have the Disable Performance Counters value set to 1.
Article ID: 248993 - Last Review: Mar 15, 2008 - Revision: 1