Specify the maximum log file size (KB)

This policy setting specifies the maximum size of the log file in kilobytes.

If you enable this policy setting, you can configure the maximum log file size to be between 1 megabyte (1024 kilobytes) and 2 terabytes (2147483647 kilobytes) in kilobyte increments.

If you disable or do not configure this policy setting, the maximum size of the log file will be set to the locally configured value. This value can be changed by the local administrator using the Log Properties dialog and it defaults to 20 megabytes.

Supported on: At least Windows Vista
Maximum Log Size (KB)

Registry PathSoftware\Policies\Microsoft\Windows\EventLog\Setup
Value NameMaxSize
Default Value1024
Min Value1024
Max Value2147483647


Administrative Templates (Computers)

Administrative Templates (Users)