GPO – Change Event Viewer Log size and retention period
The default of the event viewer log size is 512kb. As well to make this dangerous the logs will overwrite events older then 7 days only. So what happens when you logs fill up in two days from a critical error? You start loosing critical information to help trouble shoot the problem. With today’s availability of disk here is a better way to set these settings using a GPO to automate the process on all of your servers/desktops…
On your server open up you Group Policy Object Editor
Navigate to Computer Configuration\Windows Settings\Security Settings\Event Log
The following settings are to be done for each log separately.
Set your Maximum values in increments of 64kb. I decided to go as close to 5mb so I am using 4992kb.
Set your retention method to “as needed”
Comments
Got something to say?
You must be logged in to post a comment.


