Advertisements

Exchange 2013:- Event ID 106, Performance Counter Error

In Exchange, whether it is Exchange 2013 or higher, you may be presented with Event ID 106 complaining that performance counters are missing or already exists etc.

Here is one of many errors below:

You can re-create the performance counters and it should clear that constant event from logging, here is the script:

  • add-pssnapin Microsoft.Exchange.Management.PowerShell.Setup 
  • $files=get-childitem “C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\” *.xml |where-object {!($_.psiscontainer)} 
  • foreach ($file in $files) {remove-perfcounters -definitionfilename $file.fullname}
  • foreach ($file in $files) {new-perfcounters -definitionfilename $file.fullname}

Hope it helps

Advertisements

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *