ADSync error 6313


Неприятная ошибка, которая гадит в журнал Приложение, присутствует и в самом последнем релизе AAD Connect. Раньше народное средство предписывало просто переустановить сервис по быстрому, и ошибка пропадала.

AADSync – The server encountered an unexpected error creating performance counters

Log Name:      Application
Source:        ADSync
Date:          4/12/2016 12:47:11 PM
Event ID:      6313
Task Category: Server
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      AADSync.contoso.com
Description:
The server encountered an unexpected error creating performance counters for management agent “dimonchik.onmicrosoft.com – AAD”.
Performance counters will not be available for this management agent.
Event Xml:
<Event xmlns=”http://schemas.microsoft.com/win/2004/08/events/event”>
<System>
<Provider Name=”ADSync” />
<EventID Qualifiers=”32768″>6313</EventID>
<Level>2</Level>
<Task>3</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime=”2016-04-12T12:47:11.000000000Z” />
<EventRecordID>299400</EventRecordID>
<Channel>Application</Channel>
<Computer>AADSync.contoso.com</Computer>
<Security />
</System>
<EventData>
<Data>steady1.onmicrosoft.com – AAD</Data>
</EventData>
</Event>

Как же быть, если переустанавливать лень?

Нехорошая ошибка лечится быстрее, если принимает Рowershell.

Stop-Service ADSync
Remove-Item -Path HKLM:\SYSTEM\CurrentControlSet\Services\ADSync\Performance
New-Item -Path HKLM:\SYSTEM\CurrentControlSet\Services\ADSync -Name Performance –Force
unlodctr.exe ADSync
lodctr.exe “C:\Program Files\Microsoft Azure AD Sync\Bin\mmsperf.ini”
Start-Service ADSync

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.