Category Archives: Windows Server

Unable to add these performance counters in Windows Server

There are chances that performance counters on the servers gets corrupted because of change\modification in the registry by extensible counters or because of WMI based program which has modified the registry.

\Memory\Available MBytes
\Memory\% Committed Bytes In Use
\Memory\Cache Faults/sec
\Memory\Cache Faults/sec
\PhysicalDisk(*)\%Idle Time
\PhysicalDisk(*)\Avg. Disk Queue Length
\Network Interface(*)\Bytes Total/sec”

 

To rebuild the performance counters run the below command

C:\WINDOWS\System32>lodctr /r

WindowsPC

To confirm the performance counters execute the below command

C:\WINDOWS\System32>lodctr /q

PerformanceCounterVerify

 

Advertisements

How to disable specific performance counters in windows?

Disabling some performance counters in windows is really easy.  You can control performance counters enable and disable from below windows registries

HKLM\SYSTEM\CURRENTCONTROLSET\SERVICES\%SERVICENAME%\PERFORMANCE

%ServiceName% represents any service with a performance counter like PerfDisk,PerfOs etc.

There may be registry keys for “Disable Performance Counters” in any of these locations. If the Key is not available create a Key with DWORD32 Bit and set it value to 1 if you want to disable that performance counter

PerformanceCounterED

Once the value is set to 1 for “Disable Performance Counter” the user will get this message as shown below.

PerformanceCounterED1