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:

Exchange 2013:- event id 106, performance counter error
Exchange 2013:- Event ID 106, Performance Counter Error 1

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

    wpChatIcon

    Discover more from COLLABORATION PRO

    Subscribe now to keep reading and get access to the full archive.

    Continue reading