When running an Exchange Server, it is important to keep an eye on the event logs to ensure that everything is running smoothly. One common error that can occur is the "Source MSExchange Common with EventID 106" error. This error can be frustrating and may cause confusion, but fortunately it is relatively easy to fix. In this blog post, we will explain what the error means and how to fix it.
1. To fix it, copy this script and save it as a .ps1 file on the Exchange Server 2013.
add-pssnapin Microsoft.Exchange.Management.PowerShell.Setup
$path = "C:\Program Files\Microsoft\Exchange Server\V15\Setup\Perf"
$items = Get-ChildItem -Recurse $path
$files = $items | ?{$_.extension -eq ".xml"}
Write-Host "Registering all perfmon counters in $path"
Write-Host
$count = 0;
foreach ($i in $files)
{
$count++
$f = $i.directory, "\", $i.name -join ""
Write-Host $count $f -BackgroundColor red
New-PerfCounters -DefinitionFileName $f
}
2. Open the Exchange Management Shell, change directory to where you save the .psl file and run it.
3. Wait for the registration to complete than reboot the server. Run the same file on all your Exchange Mailboxes and CAS servers.
That it! Hope this helps.