Policy CSP - EventLogService


EventLogService policies

EventLogService/ControlEventLogBehavior
EventLogService/SpecifyMaximumFileSizeApplicationLog
EventLogService/SpecifyMaximumFileSizeSecurityLog
EventLogService/SpecifyMaximumFileSizeSystemLog

EventLogService/ControlEventLogBehavior

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

  • Device

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 aren't written to the log and are lost.

If you disable or don't 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.

ADMX Info:

  • GP Friendly name: Control Event Log behavior when the log file reaches its maximum size
  • GP name: Channel_Log_Retention_1
  • GP path: Windows Components/Event Log Service/Application
  • GP ADMX file name: eventlog.admx

EventLogService/SpecifyMaximumFileSizeApplicationLog

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

  • Device

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 (2,147,483,647 kilobytes) in kilobyte increments.

If you disable or don't 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.

ADMX Info:

  • GP Friendly name: Specify the maximum log file size (KB)
  • GP name: Channel_LogMaxSize_1
  • GP path: Windows Components/Event Log Service/Application
  • GP ADMX file name: eventlog.admx

EventLogService/SpecifyMaximumFileSizeSecurityLog

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

  • Device

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 (2,147,483,647 kilobytes) in kilobyte increments.

If you disable or don't 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.

ADMX Info:

  • GP Friendly name: Specify the maximum log file size (KB)
  • GP name: Channel_LogMaxSize_2
  • GP path: Windows Components/Event Log Service/Security
  • GP ADMX file name: eventlog.admx

EventLogService/SpecifyMaximumFileSizeSystemLog

Edition Windows 10 Windows 11
Home No No
Pro Yes Yes
Windows SE No Yes
Business Yes Yes
Enterprise Yes Yes
Education Yes Yes

Scope:

  • Device

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 (2,147,483,647 kilobytes) in kilobyte increments.

If you disable or don't 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.

ADMX Info:

  • GP Friendly name: Specify the maximum log file size (KB)
  • GP name: Channel_LogMaxSize_4
  • GP path: Windows Components/Event Log Service/System
  • GP ADMX file name: eventlog.admx

Policy configuration service provider