Hi @Md. Mahfuzur Rahman,
Please follow the below steps and see if it can help with this issue:
1.run the following cmdlet in Windows Command Prompt with elevated permissions
lodctr /r
2.copy and run the script in Windows PowerShell as admin
$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
New-PerfCounters -DefinitionFileName $f
}
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.