I tried to install Microsoft Azure AD Connect (Customize) on a Domain Controller with Windows Server 2016 but i got the following error :
"The event log file is corrupted"
When i look the logs files, i find the error here :
[17:53:52.454] [ 15] [ERROR] InstallSyncEnginePageViewModel: Error occurred while installing sync engine.
Exception Data (Raw): System.ComponentModel.Win32Exception (0x80004005): Le fichier journal d’événements est endommagé
à System.Diagnostics.EventLogInternal.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type, String[] strings, Byte[] rawData, String currentMachineName)
à System.Diagnostics.EventLogInternal.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
à System.Diagnostics.EventLog.WriteEntry(String source, String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData)
à Microsoft.Online.Deployment.Client.Framework.Tracer.TypeDependencies.EventLogWriteEntry(String eventSource, EventLogEntryType eventLogEntryType, Int32 eventId, String message)
à Microsoft.Online.Deployment.Client.Framework.Tracer.TraceToEventLog(EventLogEntryType eventLogEntryType, Int32 eventId, Func`1 traceMessageProvider)
à Microsoft.Online.Deployment.Client.Framework.Tracer.TraceError(Int32 eventId, String messageFormat, Object[] args)
à Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.ThrowSetupTaskFailureException(String exceptionFormatString, String taskName, Exception innerException)
à Microsoft.Azure.ActiveDirectory.Synchronization.Setup.SetupBase.Install()
à Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstallCore(ISyncEngineInstallContext syncEngineInstallContext, ProgressChangedEventHandler progressChangesEventHandler)
à Microsoft.Online.Deployment.OneADWizard.Runtime.Stages.InstallSyncEngineStage.ExecuteInstall(ISyncEngineInstallContext syncEngineInstallContext, ProgressChangedEventHandler progressChangesEventHandler)
à Microsoft.Online.Deployment.OneADWizard.UI.WizardPages.InstallSyncEnginePageViewModel.StartNewInstallation(Boolean skipSyncEngineInstall)
[11:10:03.375] [ 1] [VERB ] ReleaseSyncConfigurationMutex(): Releasing sync config changes mutex.
I have no idea why i got this error.
I open the event log file, everything is ok.
If someone got an idea or already got this error, thank you in advance for the help.
Mika