This error took me some time to solve because the default solution didn’t work. The error tells us that performance counters are unable to load. The event logs in my FIM2010R2 synchronization server were filling up quickly. The errors were appearing while running any of my management agents.
Event ID: 6313
Task Category: Server
The server encountered an unexpected error creating performance counters for management agent “Active Directory MA”. Performance counters will not be available for this management agent
Before you use the default solution, delete this registry key first:
And then run these commands from an elevated command prompt, to reload the performance counters for the MA in question:
- unlodctr.exe FIMSynchronizationService
- lodctr.exe “C:\Program Files\Microsoft Forefront Identity Manager\2010\Synchronization Service\Bin\mmsperf.ini”
And the error stays forever away
Disclaimer : The author reserves the right not to be responsible for the topicality, correctness, completeness or quality of the information provided.