7.2 KiB
title, description, ms.author, ms.topic, ms.prod, ms.technology, author, ms.localizationpriority, ms.date, ms.reviewer, manager
title | description | ms.author | ms.topic | ms.prod | ms.technology | author | ms.localizationpriority | ms.date | ms.reviewer | manager |
---|---|---|---|---|---|---|---|---|---|---|
Policy CSP - EventLogService | Learn how to use the Policy CSP - EventLogService settting to control Event Log behavior when the log file reaches its maximum size. | dansimp | article | w10 | windows | manikadhiman | medium | 09/27/2019 | dansimp |
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 |
Business | Yes | Yes |
Enterprise | Yes | Yes |
Education | Yes | Yes |
[!div class = "checklist"]
- 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 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.
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 |
Business | Yes | Yes |
Enterprise | Yes | Yes |
Education | Yes | Yes |
[!div class = "checklist"]
- 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 (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.
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 |
Business | Yes | Yes |
Enterprise | Yes | Yes |
Education | Yes | Yes |
[!div class = "checklist"]
- 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 (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.
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 |
Business | Yes | Yes |
Enterprise | Yes | Yes |
Education | Yes | Yes |
[!div class = "checklist"]
- 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 (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.
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