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 / Application
Policy ID f1d6bf552ffc
Internal name Channel_Log_Retention_1

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows\EventLog\Application\Retention (enabled) = 1
HKLM\Software\Policies\Microsoft\Windows\EventLog\Application\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