Fixing Lost PerfCounters in .NET

Here is a question I recently answered on the MS .NET Framework Newsgroup:

Question:

"Can anyone tell me how to restore the ".NET CLR Networking" - performance counters in my system?"

Answer:

Open a command prompt and navigate to:  

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\ (for v1.1 framework)

OR

C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\ (for v1.0 framework)

type:

lodctr _NetworkingPerfCounters.ini

This will attempt to reload the .NET Networking perf counters.

Note: you can also use this to reload any other perfcounters via different INI files in that folder.

No Comments