How to solve exchange2013 CU2 performance Counter updating Error 106

Dear All

After fresh installation of exchange2013 Cu2, it is noticed that periodically getting performance counter updating error. During the first installation, i thought the installation is not clean. I reinstall again the exchange2013 + windows2012, i got the same result.

After some research, it is noticed that many people are having the same issues.

What is the root cause?
How do i solve it ?


Experts, please help

Gordon
Gordon TinIT ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

unknown_routineCommented:
See here for the root cause:


http://support.microsoft.com/kb/2870416


To fix it Run copy the script on that page:

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
}

Open in new window



to a text file and rename it as .

Note that this is a Power Shell script.

To run it . Goto Command line and type PowerShell
Then run the file and typeing its name:perfcounters.ps1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Seth SimmonsSr. Systems AdministratorCommented:
step 2 in the resolution states to run from exchange management shell, not regular powershell
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.