Maximum Log 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 maximum size will be set to the local configuration 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\Security
Value NameMaxSize
Value TypeREG_DWORD
Default Value20480
Min Value20480
Max Value2147483647

eventlog.admx

Administrative Templates (Computers)

Administrative Templates (Users)