“Windows could not start the Windows Event Log service on Local Computer. Error 13: The data is invalid.”

On a windows 2k8R2 server the eventlog service wont start. When i try to start the service the machine returns:

“Windows could not start the Windows Event Log service on Local Computer. Error 13: The data is invalid.”

Event viewer won’t open either.

obviously, i don’t have an event log for this error.

i’ve already tried clearing the event logs. that didnt do anything.

SOLUTION:

go to regedit.exe

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\

EventLog

Delete the EventLog container

After that restart server.