Event 106: Performance counter updating error. Counter name is Time in Resource per second, category name is MSExchange Activity Context Resources

Another small wrapup. On my Exchange server, I had this annoying error every 15 minutes:

Although this notification is pretty harmless, it’s still amazingly annoying. Especially since it is categorized as Error.

To solve this error, we need to modify an XML file, and then rebuild the performance counter. Follow these steps:

  1. Open Notepad as Administrator. You need to have elevated rights
  2. Click File -> Open -> Navigate to C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\ 
    if you installed Exchange in a custom location, navigate to that directory + V15\Setup\Perf\
  3. Open InfoWorkerMultiMailboxSearchPerformanceCounters.xml 
  4. The XML file contains several whitespaces that cause the error. Therefor, press Ctrl+H (Search and Replace) and search for “> ” (without quotes). Replace every “> ” for “>”
  5. Save the file
  6. Now, open Exchange Management Shell als Administrator.
  7. Run the following command: New-PerfCounters -DefinitionFileName “C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf\InfoWorkerMultiMailboxSearchPerformanceCounters.xml” 
    And again: if you installed Exchange in a custom location, replace C:\Program Files\… with that path…

That should be all.

Still got errors? It may be necessary to rebild all performance counters. In the Exchange Management Shell, run the following lines:

More info also here: https://support.microsoft.com/en-us/help/2870416/-performance-counter-updating-error-after-you-install-an-exchange-server-2013-cumulative-update

 

 

 

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz