Hklm software microsoft windows nt currentversion perflib disable performance counters

I want to install SQL Server 2008 November CTP Developer Enu. When "System Configuration Check" it shows:
  • Remove From My Forums
  • Question

  • I want to install SQL Server 2008 November CTP Developer Enu. When «System Configuration Check» it shows:

    Rule «Performance counter registry hive consistency check» failed.

    The performance counter registry hive is corrupted.

    And cannot continue installing. How to solve this problem?

Answers

  • If you were like me and had no values in «HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrent VersionPerflib09», and was unable to add any.  You might try the knowledge base below, it worked for me.  Now running SQL Server 2008 November CTP on Windows XP SP2.  Hope this helps.

    How to manually rebuild Performance Counter Library values

    http://support.microsoft.com/kb/300956

When you want to use your PC for a task that required maximum performance, you do not want to run anything else. In Windows XP however, by default there are a number of services running that can take up memory and CPU time. Most of them do not really contribute to better performance or more memory when turned off, but there is one that can halp a little.

The service that can be turned off to gain a little more CPU time for other tasks is the performance data collector service. This data is used to show details of system performance. If you use the Performance monitor in Windows XP (type perfmon.msc in the Run box of the Start menu).

Windows XP performance monitor

Disabling the collection of performance data is done through a registry change:

  1. Open the Windows registry. Type regedit in the Run box of the Start menu.
  2. In the registry editor, locate the following key:
    HKLMSOFTWAREMicrosoftWindows NTCurrentVersionPerflib
  3. Now create a new DWORD Value and name it Disable Performance Counters.
  4. Assign the value 1 to the new DWORD Value.
  5. Exit the registry editor and reboot your PC.

You can also turn off the counter DLL automatic testing feature in the same registry key, by changing the value of the Configuration Flags subkey from the default 0x10 to 0x04.

According to Microsoft, you can also disable the performance counters for individual services by changing the registry key HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesService_namePerformanceDisable Performance Counters from 0 to 1 (or add the key if it does not exist for a service). So for each service in the registry that has a “Performance” subkey, it is possible to add the “Disable  Performance Counters” to disable the performance option. A bit cumbersome, since you need to check which services all have the performance tracking option, but at least it is possible.

Note: Do realize that a lot of the information collected by the performance counters can be very helpful in analyzing problems on your computer. So if your PC shows errors or has performance problems, make sure to turn the performance counters back on. For gaming however, this little bit of extra PC performance can mean just a bit more gaming performance.

����� 4. ������� ���������� Microsoft. Device Manager ��� Reliability and Performance Monitor
����: 12 ������ 2009, �����������

Device Manager

CLSID-����� ��������: {74246bfc-4c96-11d0-abef-0020af6b0b7a}
����������: devmgr.dll
������������ � ����������� ��������: compmgmt.msc, devmgmt.msc

������ �������� ��������� ����������� ���������� �� ������������� �� ����� ���������� ������������, � ����� ����������� ������ ���������, ������� �� ������������ (��� �������� ������� ������������������� ��������), � ����� ������ IRQ, ������� ��������� ������������.

����� ������� �������� Device Manager ����� ��� ������ ������� rundll32.exe devmgr.dll, DeviceManager_Execute.

������ � ������ ���������, ��� � �� ���������, ���������� �� ����������. ��� ���������� �������� �� ������ ������� ���������, ���������� �������� ������ ���������� ������ ��������. ����� ����� �������� ����� ���������.

Reliability and Performance Monitor

CLSID-����� ��������: {7478EF61-8C46-11d1-8D99-00A0C913CAD4}
����������: wdc.dll
������������ � ����������� ��������: compmgmt.msc, perfmon.msc, perfmon.exe.

�������� RELIABILITY AND PERFORMANCE MONITOR ������������ ������� Windows Vista, �� ��������� � ���������� ���������� ������ ������������ ������� Windows, ����������� ������������� (���. 4.24).

���. 4.24. �������� ���� �������� Reliability and Performance Monitor

������ ������ �������� ������� �� ����������� Monitoring Tools, Data Collector Sets � Reports, �� ������ ��� �� �������� ���� ��������.

�������� � ������ ���������� Reliability Monitor ��������� � ������ Applications and Services/Microsoft/Windows/Reliability-Analysis-Engine.

�������� ���� ��������

�������� ���� �������� ������������ ��� �������� � ������� Reliability and Performance ��������. ��� �������� � ���� ��������� ��������.

Resource Overview ���������� ������ ���� ����������� ��������� �������.

������ ���� ���������� ��������� ������ ����������. � ��� ������� ������ ������������ ������������� ����������, � ����� ������ — ������� ������� ���������� (���� ��������� �������� ������������� �������� ������� ����� ������). ���� �� �������� ������ �� ������� ����, ����� ���������� ������� CPU.

������ ���� ���������� ��������� ������ �����. � ��� ������� ������ ������������ ���������� ����������� �� ������� ����� ������ (�� ������� ������������ ��������� �������� 100 �����/�������), � ����� ������ — ������� ��������� �������. ���� �� �������� ������ �� ������� ����, ����� ���������� ������� DISK.

������ ���� ���������� ��������� ������ ������� �����������. � ��� ������� ������ ������������ ���������� �������� ���������� (�� ������� ������������ ��������� �������� 10 �����/�������), � ����� ������ — ������� ���������� ���� (��� ���� ������� ���������� ��� ������ ����, ��� ����������� ��������� �� ������). ���� �� �������� ������ �� ������� ����, ����� ���������� ������� NETWORK.

��������� ���� ���������� ��������� ������ ����������� ������. � ��� ������� ������ ������������ ���������� ������ ������� � ����������� ������ � ������� (�������� — 100 ������ � �������, ������� ���������� ������ ������� � ���, ��� ���������� ��������� ����� ����������� ������ ����������, ��� ��� ������� ����� ������������ ������� ���������� � ����� ��������), � ����� ������ — ������� ������������� ����������� ������. ���� �� �������� ������ �� ������� ����, ����� ���������� ������� MEMORY.

CPU ����� ��������� ������� ������ ����� ���� ����������� ������ ���������, ������� ��������� ��������� � ������ ������. ������������ �� ��������, ��������, PID ��������, ���������� ��������� ��� �������, ������� ������� �������� ����������, � ����� ������� �������� �������� ���������� ������ �����������.

Disk ����� ��������� ������� ������ ����� ���� ����������� ������ ������, ������� � ������ ������ ������������ �� ���� ��� ����������� � ����. ������������ ���� � �����, �������� ��������, ������� �������� � ������, PID-��������, ����������� � ������, � ����� ���������� ����, ����������� ��� ������������ � ������ ������.

Network ����� ��������� ������� ������ ����� ���� ����������� ������ ���������, ������� �������� � �������� ������������. ������������ �������� ��������, ��� PID, IP-�����, � ������� ����������� ����������, ���������� ������������ � ���������� �� ������ ����, � ����� ����� ���������� ���������� ����������� ���� � ������.

Memory ����� ��������� ������� ������ ����� ���� ����������� ������ ���������, ������� � ������ ������ �������� � ����������� �������. ������������ �� ��������, PID, ���������� ������ ������� � ����������� ������ � ������, ��������� � �������������� ����� ��������� ������ (������ ��� ��� ���� �������� � ���� ��������), � ����� ���������� �����, ������� � ������� ����������� ������ (����� ����� � �������), ������� ���������� �������.

Learn More ������ ������� �������� � ���� ����� ������, � ������� ������� ����� ��������� ������ � ������������ �������� RELIABILITY AND PERFORMANCE MONITOR.

  • RESOURCE VIEW HELP. ������������ ������� �� ��������� ���� �������� RELIABILITY AND PERFORMANCE MONITOR.
  • PERFORMANCE MONITOR HELP. ���������� ����� ���������� �� �������� RELIABILITY AND PERFORMANCE MONITOR.
  • DATA COLLECTION HELP. ���������� ������� � ������ � ����������� Data Collector Set �������� RELIABILITY AND PERFORMANCE MONITOR.
  • CREATE A DATA COLLECTOR SET AND DIAGNOSIS REPORT. ���������� ���������� � ���, ��� ����� ��������� �������, ���������� �������� � ������ ������������� ���������� ����������.
  • MONITOR SYSTEM ACTIVITY WITH PERFORMANCE MONITOR. ���������� ���������� � ����������� ��������� ���������� � ������� ��������� ������ ��������.
  • SCHEDULE AND MANAGE DATA. . ���������� ���������� � ������ � ���������, ����������� �������� �� ������������� ���������� ����������.

����� �������� �������� �� ��� ��������� ������ ������ ������������ ��������. � �� ������� ����� ���������� � ������ ��������� ���������� ������������������ ������� � �������� �������. ��� ����� ���� ���������� ��� ��� ��������� ������������������ ������ � ��������� RELIABILITY AND PERFORMANCE MONITOR, ��� � ��� ����� ���������� ������������ � ����������� � �����-�� ������ ������� ����������, ����������� � �������� — ����� ��������� ����������� ������ ��������� ���� ��� ����� �������� ���������
���� �������� �� ���������, ������� ����� �������� �� �����������, �� �����, ��� ����� ������� ������� �������� �� ������.

��������� Monitoring Tools

������ ��������� ������������ ����� �������� ��� ����������� ������ ��������� ������������������ ���������� � �������� �������. �� ������� �� ����������� Performance Monitor � Reliability Monitor. ��������� Performance Monitor �� �������� ���-�� ����� ��� ������������ ������ ��������� Windows, ������� ��� �� ���������� ���� ������������. � ������ � ����������� Reliability Monitor �� ������ �� ����� ���� �������������, ��� ��� �� �������� ��������� ��������� ������� ���������� Microsoft � ����������� � ��������
RELIABILITY AND PERFORMANCE MONITOR ��� ����������.

��������� Performance Monitor ������������ ����� ActiveX-������, ������� ����� ���������� � �������� ������� ������ ���������� ��������� ������������������ ���������� (���. 4.25). �� ��������� �� ������� �� ���� �������, � ����� ��������� �������, ����� � ����������� ���� ���� ������� ������� ADD COUNTERS….

���. 4.25. ��������� Performance Monitor

������ �� ���������� ������������������ ����� ����� ����������� ������ ���������� ��������� ������������������, �������������� �� ������� 4.26. �� �������� ��������� ��������.

  • ���� ������ ����������, �������� ������������������ �������� ����� ��������� � ��������.
  • ������ ��������� ������������������, ��������� �� ������ ����������. ������� ����� ������ �������� ������ �� �������, ����� ������������ ��������� ��� ���� �������� ������������������, ����� ���� ������� ������ ������� � ������ �� ������ ADD>>. ����� ����, ���� �� ���������� ������ SHOW DESCRIPTION, ����� ����� ���� ����������� �������� �������� ������������������.

    ��� � ������, ��� �������� �������� ������������������ ����� ���������� ��������, ��� ���������, ����������� ������, ���� ��������, �������
    ����������, ��������� IP, TCP, UDP � �.�. ����� ����, � ������������ ������� Windows Vista ��������� ��������� ����� ������� (�������, ��� �� ���).

    • IPV6. �������� �������� ��� ����������� ���������� ����������, ����������, ���������� � �.�. ������� ��������� IPv6.
    • TCPV6. �������� �������� ��� ����������� ���������� ����������, ����������, ���������� � �.�. ������� ��������� TCPv6, � ����� ��� ����������� ���������� ��������, ���������, ����������� � �.�. �������, ��������� � ������� ������� ���������.
    • UDPV6. �������� �������� ��� ����������� ���������� ����������, ����������, ���������� � �.�. ���������� ��������� UDPv6.
    • ICMPV6. �������� �������� ��� ����������� ���������� ����������, ����������, ���������� � �.�. ��������� ��������� ICMPv6.
    • SECURITY SYSTEM-WIDE STATISTICS. �������� �������� ��� ��������� ����� ��������, ��� ���������� ���������, ������������������ � ������� NTLM ��� Kerberos �������������� �� ���� �������, ���������� ��������� �������� KDC TGS �� ���� �������, ���������� ��������� SSL ���������� �� ��������� ������� � �.�.
    • SECURITY PER-PROCESS STATISTICS. �������� �������� ��� ��������� �������� � ���������� ������� ��� ���������� � ������������� ����������� � ������ ������ ��������.
    • WINDOWS WORKFLOW FOUNDATION. �������� ��������� ��������� ��� ���������� �� ����������� ������������ ������� Windows Workflow Foundation.
    • WFP, WFPV4 � WFPV6. �������� ��������� ��������� ��� ���������� �� ����������� Windows Filtering Platform.
    • ISCSI INITIATOR INSTANCE. �������� �������� ��� ��������� �������� � ������ ������ iSCSI.
  • ���� INSTANCES OF SELECTED OBJECT ��������� �������, ��� ������ ���������� ������� ����������� ������� ������������������ (���� ���������� ��������� ����������� �������, ��������, ��������� �����������). ��� ���� � ������� ���� ������ �� ������ ������ ����� ������ ���������, ���� �� ����� �����.
  • ���� ADDED COUNTERS ���������� ������ ��� ����������� ��������� ������������������.

���. 4.26. ���������� ��������� ������������������

����� ����, ��� �� �������� ������ �������� ������������������ � �������� ������ ADD COUNTERS, ��� ����� ��������� � ���� ���������� Performance Monitor. ��� ����, ��� ������ ������� �������� ������������ ���� ���� ����������, ��� � ������, ����� �������� ����� ��������� ����������� ���������, ��� �� ����, ������� ����� �� �������, ������� ������� � ������ ������.

��������� �� ������� ��������� ������������������ � �������� ������� �������� ������, �� � ��������� ������� � ��� ����� �� ���� �� ��� ���������� �������. � ���� ������ ���������� ����������� ������ ��������� ��������� ���� ��������� ������������������ � ����. ��� ����� ���������� ��������� ������ �������� ������������������, ��� �� ������� ��� ������, � ����� ������� ������� �������/DATA COLLECTOR SET ������������ ���� ���������� Performance Monitor (��� ������ ������ ����������� ����������, ����� ������
TASK SCHEDULER ���� ��������). ����� ����� ����� ���� ����������� ������ �������� �������, ����������� �������� � ������ ���������� ��������� ������������������. �� ��������� ��� ������� ��� ������ �������, ���� � �����, � ������� ����� ��������� ������ �������� ������������������, � ����� ������� ������, �� ����� ������� ����� ������� ������, � ����� �� ������ ������� ����� ����� ������ ��������.

����� ����� ������ ����� ������, � �� ������� ������� ��� � ����������� User Defined �������� Data Collector Set � Reports �������� RELIABILITY AND PERFORMANCE MONITOR. �� � ��� �������� � ����� ������������, �� � ���� ������ �� ��������� �������� ������ ����� �����.

�������� �������� ������������������ �� �� �����, ��� � ������������ �������� ��������� Windows ��������� ����� �������, ��� �������� ������������������, �������������� ���� ������������ ������� ���� �������� ����� ������ � ���, ��� �������� �� ���������� ������������������, � ��������� ����� ��������� �������� ��������� �������� ������������. ���� �� ���������� ��������� ��������� ������������������, ��������� ������� ����������� ���� �����.

������ ������� ���������, �� ������� �������� �������� ��� ����������� ����������, �������� ��������, �������� �� ������� ������� ������. � �� ������� ����� ������ �� ������ � ���, ����� �� �������� ����� ���������� ������� ����, �� � � ���, ���������� �� ����������� ������ ����������� � ����������.

  • PhysicalDisk(_Total)%Current Disk Queue Length. ���������� ���������� ���������, ����������� � ������� �� ������ ���������� �� ���������� ����. ���� �������� ����� �������� ����� ��������� 2, ���� ���������� � ������� ����� ����������� �����.
  • PhysicalDisk(_Total)%Disk Time. ���������� ������� �������, � ������� �������� ������� ���� ��������� �������� ������ � ������. ������� ������� �������� ������� �������� ����� �������� ��� � ������������� ������������ ����� ����������� �����, ��� � � ������������� ������� ��������������� ������ ����������� ������.

����� � ������� ��������� ������������������ ����� ������� �� �������������� ����������� ������. �������� �������� ��� ����� �������� ������ Memory.

  • MemoryAvailable Bytes. ���������� ���������� ����������� ������ � ������, ��������� ������������ �������. �������� ������� ��������, ������� 4 �����, ����� �������� � ������������� ������������ �������������� ����������� ������.
  • MemoryPages/sec. ���������� ���������� ����������� ����� ������ �������� � ����������� ������� � �������. ���������� ������� �������� ������� �������� ������� � ������������� ������������ ��������������� ������ ����������� ������.
  • MemoryPage Faults/se�. ���������� ���������� ������ ������� � ����������� ������ � �������, ��� ������� �����������, ��� ����������� ������ ��������� �� � ����������� ������, � � ����� ��������. ���������� ������� �������� ������� �������� ������� � ������������� ������������ ��������������� ������ ����������� ������.
  • PhysicalDisk(_Total)%Avg. Disk Bytes/Transfer. ���������� ������� ������ ������, ������������ ����� ������� ������ � ����������� ������� �� ����� �������� ������ � ������. ���������� ������� ������� �������� ������� �������� (��������, ������ 4 �����) ������� � ���, ��� ������������ ������� ������� ����� ���������� � ����� ��������. �������������, ����� ��������� ����� ����������� ������.

�, �������, �� ����� �������� � ��������� ������������������, �������� �� �������������� ����������.

  • Processor(_Total)%Processor Time. ���������� ���������� ����������� �������, ������� ��������� ����� ���������� ������ �������. ���������� ������� ������� �������� ����� �������� (������ 80%) ������� � ���, ��� ���������� ����������� ����� ������ ���������.
  • Processor(_Total)Interrupts/sec. ������ ������� ���������� ������� ���������� ����������, ������� ��������� ������������ � �������. ������� ������� �������� ����� �������� ����� �������� � ���, ��� � ������������ ������� ���������� �������� ���������������� ���������, ��������� ���������� ����������.
  • SystemProcessor Queue Length. ���������� ���������� �������, ����������� � ������� ������� � ����������. ���� �������� ������� �������� ������ ������ (��� ���������������� ������), ������ ���� ����������� ����� ������� ���������.

����� � ��������� ������� ������ ���������� ���������� �� ������� ������� ����� ����������.

  • NetworkInterface(«��� ������� �����»)Total Bytes/sec. ���������� ����� ���������� ��������� � ���������� �������, ����������� ����� ������ ������� �����. ���������� ������� ������� �������� ������� �������� ������� � ������������� ������������ ����� ���������� ������� �����, ���� �� ��������� �������������� ������� �����.

��������� ��� ������ �� ���������� ������������������ ��� � � ���������� ������� ������������ ������� Windows, � ����������� �������� Windows Vista ������ ��������� �������� �������� ������, ��������������� ��� ������ �� ���������� ������������������. ��������� �� ���� �������� � ������������ ������� Windows Vista ���� ��������� ������ �������, ��������� �� �������� ��� ���������.

������ ����������, ������� �� ����������, ����� ��������� lodctr.exe, ��������������� ��� ���������� ��� ������������� ���������� � ��������� ������������������, ������������������ � ������������ �������. ���� ����� ������� ��������� �������� ������������� ������ ���������.

  • lodctr.exe «��� ini-�����». ��������� �������������� �������� ������������������ �� ������ ������, ������������ � ��������������� ini-�����. ����� ini-����, ���������� � ���� ���������� � ��������� ������������������, �������� � ���� ������ drivername, ������������ � ������� [info]. ��������, � �������� %systemroot%system32 ������������ ������� Windows Vista, ��������� ��������� ini-�����, ������������ �������� ������������������: OUTLPERF.ini � pacerprf.ini. � � ����� PerfStringBackup.ini ����������
    �������� ����� ���� ��������� ������������������ � �� ��������.
  • /S:«���� � ����� � ��� ���». ��������� ���������� � ��������� ������������������ � �� �������� � ����. ����� � ������� ����� /R:«���� � ����� � ��� ���» ������ ��������� ����� ������������ ��������� ��������� �� ���������� ����� �����. ����� ����� ��������������� ������ /R ��� ���������� ��� �������������� ������������ ������ ��������� ������������������.

    ����������� ������ ������ ���� �������� ������� ��������� ������, ������� ��� ������ ������������ ��� ������������ � ���������
    ��������� ������������������.

  • /D:«��� ������». ��������� �������� ������������������, ������������ ������ �������. ������ ������� ������������� �������� ��������� REG_DWORD ���� Disable Performance Counters, �������������� � ����� ������� HKLMSYSTEMCurrentControlSetServices«������ ��� �������»Performance, � 1.

    ����� �������� ����������� ����� �������� ������������������, ����� ��������������� ������ /E:«��� ������». ����� � ������� ����� /T:«��� ������» ����� ���������� ��������
    ������������������ ������. � � ������� ����� /Q:«��� ������» ����� ���������� �� ����� ���������� � ���������� ��������� ������������������ ��������������� ������.

    ��� ��������� ���� ����� �������� ������ ������� ������������ ������� Windows Vista. � Windows XP ��� �� ��������������.

  • /M:«xml-����». ������������� ���������� ��������� ������������������ Windows Vista �� ������ ��������, ������������ � xml-�����.

��� ����� ����������, ������� �� ���������� � ������ ������� �����, ����� ��������� ��������� ������ unlodctr.exe. � ������� ������ ��������� ����� ������� �� ������� �������� � ��������� ������������������, ����������� ���������� ���������, ������ ��������� ��� �����������. ������� ������������� ������ ��������� ��������� ����.

  • unlodctr.exe «�������». ������� �� ������� �������� ������������������, ����������� ��������� ���������.
  • unlodctr.exe /m:«���� ���������». ������� �� ������� �������� ������������������, ��������� � ��������� ����� ���������.
  • unlodctr.exe /g:«GUID-����� ����������». ������� �� ������� �������� ������������������, ������������� ����������, �������� ��������������� GUID-�����.
  • unlodctr.exe /p:«��� ����������». ������� �� ������� �������� ������������������, ������������� ����������� ����������.

��������� ������� ��������� ������ ��������� ������������������ �������� � ����� ������� HKLMSOFTWAREMicrosoftWindows NTCurrentVersionPerflib. � ������� ���������� ������ ����� ������� � �� ����������� ����� ����������� ��� ��� ������ ��������� ������������������ � �� ��������, ��� � ��������� ������������� ���������. ������ ����� ������� � �� ���������� ����� ��������� � ���� ��������� ���������.

  • Disable Performance Counters. ���� �������� ������� ��������� REG_DWORD ���� ����� 1, ����� �� �� ������� �������� ������ � ��������� ������������������ ���������� ����������.
  • TotalInstanceName. ������ �������� ���������� ���� �������� � ���� �������� ���������� Total.
  • Updating. ���� �������� ������� ��������� REG_DWORD ���� ����� 0, ����� �� �� ������� �������� ������ � ��������� ������������������ ���������� ����������.
  • Counter. ������ �������� ���� REG_MULTI_SZ �������� � ���� ������ ���� ���������, ��������� � ������������ �������. �� ���������� � ���������� 009 ������ ����� �������.
  • Help. ������ �������� ���� REG_MULTI_SZ �������� � ���� �������� ���� ���������, ��������� � ������������ �������. �� ���������� � ���������� 009 ������ ����� �������.

���� �� ��������� ������ ������������� �������� ������������������ ���������� � ���������� ������ ������� ���������� �������: HKLMSYSTEMCurrentControlSetServices«������ ��� �������»Performance.

  • First Counter � Last Counter. ������ ��������� REG_DWORD ���� ���������� ������ ���������, ��������� ������� �������� � ������ ����� �������.
  • First Help � Last Help. ������ ��������� REG_DWORD ���� ���������� ������ �������� ���������, ��������� ������� �������� � ������ ����� �������.
  • IsMultiInstance. ���� �������� ������� ��������� REG_DWORD ���� ����� 1, ����� �������� ������������������, ������������ � ����� �������, ������������ ������������ ������ ���������� �����������.
  • Library. ������ ��������� ���������� ���� �������� � ���� �������� ����������, � ������� ������� ������� ������ � ������� ����������.
  • Open Timeout. ������ �������� REG_DWORD ���� ���������� ������������ ����� �������� �������� ���������, ��������� � ������ ����� �������.

����������� �������

Содержание

  1. Disable Performance Counters
  2. Description
  3. Change method
  4. Activation method
  5. Disable performance counters windows 10
  6. Чтобы устранить причину появления этого предупреждения
  7. Performance counters are disabled, they use Exctrlst.exe
  8. Enable/disable disk performance counters
  9. Manually rebuild performance counters for Windows Server 2008 64 bit or Windows Server 2008 R2 systems
  10. Symptoms
  11. Cause
  12. Resolution
  13. Ensure that the counters aren’t disabled in the registry
  14. Rebuild all performance counters including extensible and third-party counters

Disable Performance Counters

Data type Range Default value
REG_DWORD 0 | 1

Description

Enables and disables registry-based performance counters for this service.

If the value of this entry is 1, Perflib does not retrieve performance data about these counters from the registry. As a result, System Monitor, and other tools that use the data, cannot display it. Instead, the tools display a value of 0 or 100%, depending on the counter.

The Performance Library (Perflib) uses this entry to disable counters that cause serious errors. This prevents the troublesome counters from jeopardizing the display of all performance counters on the system. You can use this entry to reenable the counters for a service after the counter DLL has been repaired or replaced.

Value Meaning
Enables performance counters for this service.
1 Disables performance counters for this service.

Change method

To change the value of this entry, use Extensible Performance Counter List (Exctrlst.exe), a tool on the Windows 2000 Resource Kit CD.

Activation method

To make changes to this entry effective, restart the Remote Registry Service or restart Windows 2000.

Note

This entry only affects the performance counters for a particular service. To enable or disable all registry-based performance counters on the system, add the Disable Performance Counters entry to the Perflib subkey.

To prevent Perflib from disabling counters, set the 0x2 (10) bit in the value of Configuration Flags.

Tip

If particular performance counters do not appear in your performance monitoring tool, check the Application Log in Event Viewer for events recorded by Perflib. When Perflib detects disabling errors in a counter DLL, it records an event in the log and sets the value of DisablePerformanceCounters to 1 to disable the counters.

Caution

If you set the value of this entry to 1, the performance objects and counters for this service do not appear in any performance tool. You will not be able to use System Monitor, or any tool that uses Performance Library data, to monitor these counters.

Do not edit the registry or use Exctrlst to enable counters that Perflib has disabled, unless the counter DLL has been repaired or replaced. If you do, Perflib will detect the errors and disable the counters again. Or, the troublesome counters can prevent you from monitoring any performance counters on your system.

Disable performance counters windows 10

Дата последнего изменения раздела: 2005-11-18

Анализатор сервера Microsoft® Exchange считывает следующую запись реестра, чтобы определить, отключены ли счетчики производительности логических и физических дисков:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesPerfdiskPerformanceDisable Performance Counters

Если анализатор сервера Exchange обнаружит, что значение параметра Disable Performance Counters существует и ему присвоено значение 1, выводится предупреждение.

На сервере, работающем под управлением операционной системы Microsoft Windows®, публикуются счетчики производительности дисков двух типов:

    используемые подсистемой контроля производительности Microsoft Win32® и инструментарием управления Windows (WMI);

используемые старыми приложениями, вызывающими API-интерфейс IOCTL_DISK_PERFORMANCE для получения показаний необработанных счетчиков.

Счетчики производительности, используемые в Win32 и WMI, включаются по умолчанию в системах Microsoft Windows Server™ 2003 и Windows 2000 Server. Необработанные счетчики в обеих операционных системах по умолчанию отключаются. Если параметр реестра Disable Performance Counters, по умолчанию отсутствующий в обеих операционных системах, добавлен и ему присвоено значение 1, счетчики производительности Win32/WMI отключаются, и сбор данных о производительности по этим счетчикам невозможен.

Проще всего отключить счетчики Win32/WMI с помощью программы «Список расширяемых счетчиков» (ExCtrLst.exe). Эта программа с графическим интерфейсом, включенная в наборы ресурсов для Windows 2000 Server и для Windows Server 2003, позволяет администратору выборочно включать и отключать публикацию счетчиков производительности. Когда программа ExCtrLst.exe используется для отключения объекта производительности, она добавляет в реестр элемент Disable Performance Counters и присваивает ему значение 1. Если затем ExCtrLst.exe используется для включения отключенного счетчика, она изменяет значение параметра Disable Performance Counters на 0. (Следует иметь в виду, что при этом элемент Disable Performance Counters не удаляется.)

Важно!
Эта статья содержит сведения о редактировании реестра. Перед редактированием реестра убедитесь, что вы знаете, как восстановить реестр в случае возникновения неисправности. Сведения о восстановлении реестра см. в разделе справки «Восстановление реестра» файла Regedit.exe или Regedt32.exe.

Чтобы устранить причину появления этого предупреждения

Откройте редактор реестра, например, Regedit.exe или Regedt32.exe.

Перейдите к разделу реестра: HKLMSYSTEMCurrentControlSetServicesPerfdiskPerformance

В правой области щелкните правой кнопкой мыши параметр Disable Performance Counters и присвойте ему значение . Можно также удалить элемент Disable Performance Counters, чтобы вновь включить счетчики.

Закройте редактор реестра и перезапустите все приложения, собирающие данные о производительности, чтобы изменение вступило в силу.

Performance counters are disabled, they use Exctrlst.exe

If you read here, it mean one of my gadgets (System Monitor II, Network Monitor II, Drives Monitor or Top Process Monitor) not work properly. Its connected with a needed counter was missing from the list. This can occur if the counter has been disabled intentionally or if the counter has been disabled by the operating system itself due to it faulting 3 times. When a counter is disabled, a simple registry value is set that tells the OS to ignore it. This value is set under the Performance key of the service in question. If the Disable Performance Counters entry is set to 1 then the counter is disabled, like so:

Now, you can always reenable a performance counter manually by editing the registry, but they are not always easy to find depending on the service name they are listed under. We have a tool that can come in handy in these situations, the Extensible Counter List tool, or Exctrlst.exe. This tool shows a list of all installed performance counters, sorted either by DLL name, service or Counter ID. With this, you can easily see if a counter is enabled or disabled, and set them however you wish. This utility is part of the Windows 2000 resource kit, and can also be downloaded from my site.

Once downloaded, start the installation and follow the installation wizard. The default install location for this will be:

C:Program FilesResource Kit or C:Program Files (x86)Resource Kit for 64bit OS.

To launch the utility, just double click the executable — Exctrlst.exe.

NOTE: Be sure that you run it under Administrator rights.

When it opens, you should see a window very similar to this:

Now look through the list for the performance counter which you are missing. For System Monitor II and Top Process Monitor it is PersOS, for Network Monitor II it is PerfNet and for Drives Monitor it is PerfDisk. Please don’t forget about TcpIP counter for Network Monitor II. For example, if the disk counters are missing, search for PerfDisk. Once you click the performance counter you are interested in, verify if the Performance Counters Enabled box is checked or not. If the box is not checked, then the performance counter is disabled. To reenable it, all you have to do is place a check mark in the box. The registry change happens immediately, so all you have to do is close the tool when you are done. In case Windows 7 you must restart your computer.

I would also suggest that you have a look at the below articles as well.

Enable/disable disk performance counters

In Microsoft Windows NT and Windows 2000 counters for the objects Logical Disk (partition) and Physical Disk (drive) are disabled by default because a performance hit of a few percent can occur if they are enabled. You must run the diskperf command prior to monitoring disk activity with Performance Monitor and/or Drives Monitor gadget.

Diskperf is included in Windows XP, Windows Server 2003, Windows Server 2008, Windows Vista, Windows Server 2008 R2, Windows 7 and Windows 10 so that it can be used to remotely enable or disable physical or logical disk performance counters on computers running Windows 2000.

To enable the logical entities, at the command prompt, type: diskperf -y

Both Logical and Physical Disk Performance counters on this system are now set to start at boot. In Windows 10 no reboot is required.

The most useful counters for identifying disk bottlenecks are LogicalDiskAvg Disk Queue Length and PhysicalDiskAvg Disk Queue Length. (Read more about Disk Queue Length)These counters display the average number of all requests (read and write) that are queued and waiting to be services for the selected disk. If the queue lengths are more than 2 over a long period of time, this could indicate a disk bottleneck. Actually it generally does if the queue length is not the side-effect of a RAM starved system.

To disable the disk counters use command: diskperf -n

To turn on physical disk counters: diskperf -yd

To turn off physical disk counters: diskperf -nd

To turn on logical disk counters: diskperf -yv

To turn off logical disk counters: diskperf -nv

Manually rebuild performance counters for Windows Server 2008 64 bit or Windows Server 2008 R2 systems

This article helps solve an issue where some performance counter libraries become corrupted and need to be rebuilt.

Original product version: В Windows Server 2012 R2
Original KB number: В 2554336

Symptoms

When you use the Performance Monitor tool, some counters may be missing or don’t contain counter data. The performance counter libraries may become corrupted and need to be rebuilt.

You may see the following errors in the application log:

Cause

This behavior may occur if certain extensible counters corrupt the registry, or if Windows Management Instrumentation (WMI)-based programs modify the registry.

Resolution

To resolve this issue, use the following methods.

Ensure that the counters aren’t disabled in the registry

The counters may be disabled via registry settings. Check the following registry locations to ensure that the counters haven’t been disabled:

%servicename% represents any service with a performance counter. For example: PerfDisk, PerfOS, etc.

There may be registry keys for DisablePerformanceCounters in any of these locations. As per the article Disable Performance Counters, this value should be set to 0. If the value is anything other than 0 the counter may be disabled.

  • A value of 1 means the counter is disabled.
  • A value of 2 means the 32-bit counter is disabled.
  • A value of 4 means the 64-bit counter is disabled.

Rebuild all performance counters including extensible and third-party counters

To rebuild all performance counters including extensible and third-party counters, type the following commands at an Administrative command prompt. Press ENTER after each command.

Rebuild the counters:

Resync the counters with Windows Management Instrumentation (WMI):

Stop and restart the Performance Logs and Alerts service.

Stop and restart the Windows Management Instrumentation service.

Create a new Data Collector Set (don’t use an existing Data Collector Set).

Sometimes, running lodctr /R may not recover all counters. If you notice this happening, verify the file c:windowssystem32PerfStringBackup.INI contains the proper information. You can copy this file from an identical machine to restore the counters. There may be slight differences in this file from machine to machine. But if you notice a drastic difference in size, it may be missing information. Always create a backup copy before replacing. There’s no guarantee that copying this file from another machine will restore all counters. If possible, compare the file to backups of the machine to see if the file size has reduced at some point in time.

For many counters, the location of the ini files to install perf counters is under windowswinsxs , such as the ini files for IIS.

If you see the following errors:

You’ll need to use the counter install ini files in the directory c:Windowswinsxs .

Multiple folders may exist for counters that you need to repair. In those cases, you might need to use trial and error to find the correct ini files.

In this example, try installing the infoctrs.ini from each folder using:

When it’s successful, you’ll see the following entry in the application log:

You need do the same for the following counters:

After which you’ll see:

Following these steps, rerun WINMGMT /RESYNCPERF .

So in a vain and foolish attempt to figure out why Sampletank 4 crashes CbB every time I insert it I ran Microsoft’s Sysinternals Process Monitor on Cakewalk and noticed something a bit odd.  CbB seems to be querying the registry key HKLMSOFTWAREMicrosoftWindows NTCurrentVersionPerflibDisable Performance Counters over and over and over and over and over again.  And since it doesn’t exist, it keeps getting an error.  This can’t be good.  It could be something about my machine (I develop software so I have a ton of development tools installed) .  But it really should only check it once I’d think.

To reproduce this, run procmon and filter for process name contains cakewalk.  Start Cakewalk.exe make a new blank project.  I’m running the most recent build 2019.03 (Build 20, 64 bit).  I’m not sure if it was doing this before I updated this morning.

Oddly enough running procmon causes Sampletank 4 not to crash on insert.  Perhaps there is some sort of multi-thread race condition in CbB?  This machine is a i9-9960x with 16 physical cores.  ST4 works fine in Cubase and Reaper but in CbB and SONAR Plat it crashes (without a crash catcher) every time I add it.

c1WH0D.jpg

As far as I know, there is no way to safely delete them except programatically (they’re intended for apps to create and remove during install) but it is trivial to do from a PowerShell command-line console. Just run this command:

[Diagnostics.PerformanceCounterCategory]::Delete( "Your Category Name" )

HOWEVER: (EDIT)

You can delete the registry key that’s created, and that will make the category vanish.

For a category called «Inventory» you can delete the whole key at HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesInventory … and although I wouldn’t be willing to bet that cleans up everything, it will make the category disappear. (If you run Process Monitor while running the Delete() method, you can see can a lot of other activity happening, and there doesn’t seem to be any other changes made).

It’s important to note that as I said originally: when you get that error from Visual Studio, it might be that it’s already deleted and you need to refresh the view in VS. In my testing, I had to restart applications in order to get them to actually get a clean list of the available categories.

You can check the full list of categories from PowerShell to see if it’s listed:

[Diagnostics.PerformanceCounterCategory]::GetCategories() | Format-Table -auto

But if you check them, then delete the registry key … they’ll still show up, until you restart PowerShell (if you start another instance, you can run the same query over there, and it will NOT show the deleted item, but re-running GetCategories in the first one will continue showing it.

By the way, you can filter that list if you want to using -like for patterns, or -match for full regular expressions:

[Diagnostics.PerformanceCounterCategory]::GetCategories() | Where {$_.CategoryName -like "*network*" } | Format-Table -auto
[Diagnostics.PerformanceCounterCategory]::GetCategories() | Where {$_.CategoryName -match "^SQL.*Stat.*" } | Format-Table -auto

Понравилась статья? Поделить с друзьями:
  • Hklm software microsoft windows nt currentversion image file execution options
  • Hklm software wow6432node microsoft windows nt currentversion svchost netsvcs hpsvc
  • Hklm software wow6432node microsoft windows currentversion uninstall
  • Hklm software wow6432node microsoft windows currentversion run что это
  • Hklm software policies microsoft windows windowsupdate au