5

I understand that status code 0xc0000008 means Invalid Handle.

How do you resolve this issue (besides a restart)?

What is the best way to determine the cause for this?

Log Name:      Security
Source:        Security
Date:          5/22/2014 8:44:18 AM
Event ID:      521
Task Category: System Event
Level:         Information
Keywords:      Classic,Audit Success
User:          SYSTEM
Computer:      hostname
Description:
Unable to log events to security log:
    Status code:        0xc0000008
    Value of CrashOnAuditFail:  0
    Number of failed audits:    51
  • Does restarting the Event Logging service fix it? – Nathan C May 22 '14 at 16:10
  • @NathanC Can't restart it as it's dependent on Task Scheduler which is refusing restart. – jcarpio May 22 '14 at 21:17
0

An Invalid Handle means that a process tried to open a file and failed. In this case the file was likely the %SystemRoot%\System32\Winevt\Logs\Security.evtx Security Event Log file. You need to start investigating why that file was unable to be opened.

Start by creating a new .evtx file and checking the Overwrite Event Log settings. Make sure another process (local or remote) is not holding onto the it while it scrapes events. Make sure you have enough hard drive space that there is actually room to write to the file. Check for underlying hardware failure and or file system corruption.

If that doesn't sus out something that looks like a possible cause you are going to need to gather more information. SysInteral's ProcMon can be useful here if you attach it the EventLog process (see my answer here for an example of how to do this). If you still do not find anything that looks like an obvious cause your best bet would be to go to Microsoft Support.

  • Created new .evtx (Cleared log; Overwrite has been set all along) but 521's keep coming. – jcarpio May 22 '14 at 21:17
  • @jcarpio - Did you make sure your disk isn't full, your file system is consistent and you don't have underlying hardware issues? If so, proceed to ProcMon and/or Support. There's not enough information here to really figure out what is going on. – user62491 May 23 '14 at 1:32
0

Reboot the server to resolve this issue

ms technet source

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.