How To Delete Corrupt Event Viewer Log FilesID: Q172156
|
When you launch Windows NT Event Viewer, one of the following error messages may occur if one of the *.evt files is corrupt:
The handle is invalid
When you click OK or cancel on the Dr. Watson error message, you may also receive the following error message:Dr. Watson Services.exe
Exception: Access Violation (0xc0000005), Address: 0x76e073d4
Event Viewer
Remote Procedure Call failed
The Event Viewer Log files (Sysevent.evt, Appevent.evt, Secevent.evt) are always in use by the system, preventing the files from being deleted or renamed. The EventLog service cannot be stopped because it is required by other services, thus the files are always open. This article describes a method to rename or move these files for trouble-shooting purposes.
WARNING: Using Registry Editor incorrectly can cause serous problems that
may require you to reinstall your operating system. Microsoft cannot
guarantee that problems resulting from the incorrect use of Registry Editor
can be solved. Use Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys And
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog
%SystemRoot%\system32\config
%SystemRoot%\system32\config
Additional query words: regedt32 evt rpc error (rpc)
Keywords : ntregistry NTSrvWkst
Version : WinNT:3.51,4.0
Platform : winnt
Issue type : kbprb
Last Reviewed: February 24, 1999