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 HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\EventLog\System
Value NameMaxSize
Value TypeREG_DWORD
Default Value1024
Min Value1024
Max Value2147483647

eventlog.admx

Administrative Templates (Computers)

Administrative Templates (Users)