Are you a regular user of the Event Viewer in Windows 7? Ever wonder why Microsoft haven’t programmed it to clear itself after a certain amount of entries or time?
As it stands right now, I have tens of thousands of entries in the Event Viewer which is unnecessary and bogs down the loading time. Maybe for a corporate administrator this is required but for average Joe, it isn’t.
What is the Event Viewer?
“Windows NT has featured event logs since its original release in 1993. Applications and operating system components can make use of this centralized log service to report events that have taken place, such as a failure to start a component or complete an action. The system defines three log sources:
- “System”
- “Application”
- “Security”
Microsoft intends the System and Application log sources for use by the Windows operating system and Windows applications respectively. Only the Local Security Authority Subsystem Service (lsass.exe) can directly write to the Security log.”
With that out of the way, on with the guide to show you how to clear the Event Viewer.
Step 1.
Click the Start Menu and type notepad. Click on Notepad from the results.
![Clear the Event Viewer in Windows 7 [How To] clip image002 Clear the Event Viewer in Windows 7 [How To]](http://i1.wp.com/mintywhite.com/wp-content/uploads/2010/03/clip_image002.png?resize=412%2C517)
Step 2.
![Clear the Event Viewer in Windows 7 [How To] clip image003 Clear the Event Viewer in Windows 7 [How To]](http://i2.wp.com/mintywhite.com/wp-content/uploads/2010/03/clip_image003.png?resize=465%2C392)
![Clear the Event Viewer in Windows 7 [How To] clip image004 Clear the Event Viewer in Windows 7 [How To]](http://i2.wp.com/mintywhite.com/wp-content/uploads/2010/03/clip_image004.png?resize=510%2C168)
Your new file should now look like this:
![Clear the Event Viewer in Windows 7 [How To] clip image005 Clear the Event Viewer in Windows 7 [How To]](http://i2.wp.com/mintywhite.com/wp-content/uploads/2010/03/clip_image005.png?resize=87%2C84)
If it doesn’t and it looks like this:
![Clear the Event Viewer in Windows 7 [How To] clip image006 Clear the Event Viewer in Windows 7 [How To]](http://i2.wp.com/mintywhite.com/wp-content/uploads/2010/03/clip_image006.png?resize=85%2C83)
Go back and try again.
Step 3.
Find the batch file we created a second ago and double click it. The command prompt window will now pop-up and run through the batch file commands. Let it finish and it will automatically close.
![Clear the Event Viewer in Windows 7 [How To] clip image007 Clear the Event Viewer in Windows 7 [How To]](http://i0.wp.com/mintywhite.com/wp-content/uploads/2010/03/clip_image007.png?resize=515%2C389)
Now you can go ahead and open up the Event Viewer and have a completely clear view!
Alternatively, you can download the batch file here and run it in the same way.
Search Windows Guides