Is there any way to undo after clearing a log on Windows 2008 server?

I accidentally cleared a event log. Is there any way I can get it back?


Solution 1:

They are gone, unless you either:

  • Saved the logs as it suggested you do when you clicked clear
  • Have a full system backup

It's also possible but unlikely data recovery software could undelete them. They are stored in C:\Windows\System32\winevt\Logs if you want to use software like GetDataBack or similar to try to recover them.

Solution 2:

Typically the event logs are stored in C:\Windows\System32\winevt\Logs. As ErkiA eludes to, restoring from backup maybe your only option. This is assuming you do a full system backup with somehthing like Backup Exec.

The only other saving grace is if you have Volume Shadow Copy on your Primary Drive. But still, this requires some source which you are actively backing up.