'Retain old events' (Application)ID: oval:org.secpod.oval:def:14563 | Date: (C)2013-08-13 (M)2023-07-04 |
Class: COMPLIANCE | Family: windows |
This policy setting controls Event Log behavior when the log file reaches its maximum size.
When this policy setting is enabled and a log file reaches its maximum size, new events are not written to the log and are lost.
When this policy setting is disabled and a log file reaches its maximum size, new events overwrite old events.
Note: Old events may or may not be retained according to the "Backup log automatically when full" policy setting.
Fix:
(1) GPO: Computer Configuration\Administrative Templates\Windows Components\Event Log Service\Application\Retain old events
(2) REG: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\EventLog\Application!Retention
Platform: |
Microsoft Windows 7 |