Policy

Control Event Log behavior when the log file reaches its maximum size

This policy setting controls Event Log behavior when the log file reaches its maximum size. If you enable this policy setting and a log file reaches its maximum size, new events are not written to the log and are lost. If you disable or do not configure this policy setting 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.

Policy
Pack Microsoft Windows
Category Windows Components / Event Log Service / Setup
Policy ID 277eaaa920e9
Internal name Channel_Log_Retention_3

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\EventLog\Setup\Retention (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\EventLog\Setup\Retention (disabled) = 0

Policy notes

This policy setting controls Event Log behavior when the log file reaches its maximum size. If you enable this policy setting and a log file reaches its maximum size, new events are not written to the log and are lost. If you disable or do not configure this policy setting 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.

Related policies