windows-itpro-docs/windows/client-management/mdm/policy-csp-eventlogservice.md
Vinay Pamnani (from Dev Box) 29e044c903 MDM/CSP metadata changes
2024-01-18 12:26:53 -05:00

11 KiB

title, description, ms.date
title description ms.date
EventLogService Policy CSP Learn more about the EventLogService Area in Policy CSP. 01/18/2024

Policy CSP - EventLogService

[!INCLUDE ADMX-backed CSP tip]

ControlEventLogBehavior

Scope Editions Applicable OS
Device
User
Pro
Enterprise
Education
Windows SE
IoT Enterprise / IoT Enterprise LTSC
Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/EventLogService/ControlEventLogBehavior

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.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

[!INCLUDE ADMX-backed policy note]

ADMX mapping:

Name Value
Name Channel_Log_Retention_1
Friendly Name Control Event Log behavior when the log file reaches its maximum size
Location Computer Configuration
Path Windows Components > Event Log Service > Application
Registry Key Name Software\Policies\Microsoft\Windows\EventLog\Application
Registry Value Name Retention
ADMX File Name EventLog.admx

SpecifyMaximumFileSizeApplicationLog

Scope Editions Applicable OS
Device
User
Pro
Enterprise
Education
Windows SE
IoT Enterprise / IoT Enterprise LTSC
Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/EventLogService/SpecifyMaximumFileSizeApplicationLog

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 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 1 megabyte.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

[!INCLUDE ADMX-backed policy note]

ADMX mapping:

Name Value
Name Channel_LogMaxSize_1
Friendly Name Specify the maximum log file size (KB)
Location Computer Configuration
Path Windows Components > Event Log Service > Application
Registry Key Name Software\Policies\Microsoft\Windows\EventLog\Application
ADMX File Name EventLog.admx

SpecifyMaximumFileSizeSecurityLog

Scope Editions Applicable OS
Device
User
Pro
Enterprise
Education
Windows SE
IoT Enterprise / IoT Enterprise LTSC
Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/EventLogService/SpecifyMaximumFileSizeSecurityLog

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 20 megabytes (20480 kilobytes) and 2 terabytes (2147483647 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.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

[!INCLUDE ADMX-backed policy note]

ADMX mapping:

Name Value
Name Channel_LogMaxSize_2
Friendly Name Specify the maximum log file size (KB)
Location Computer Configuration
Path Windows Components > Event Log Service > Security
Registry Key Name Software\Policies\Microsoft\Windows\EventLog\Security
ADMX File Name EventLog.admx

SpecifyMaximumFileSizeSystemLog

Scope Editions Applicable OS
Device
User
Pro
Enterprise
Education
Windows SE
IoT Enterprise / IoT Enterprise LTSC
Windows 10, version 1703 [10.0.15063] and later
./Device/Vendor/MSFT/Policy/Config/EventLogService/SpecifyMaximumFileSizeSystemLog

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 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 1 megabyte.

Description framework properties:

Property name Property value
Format chr (string)
Access Type Add, Delete, Get, Replace

[!INCLUDE ADMX-backed policy note]

ADMX mapping:

Name Value
Name Channel_LogMaxSize_4
Friendly Name Specify the maximum log file size (KB)
Location Computer Configuration
Path Windows Components > Event Log Service > System
Registry Key Name Software\Policies\Microsoft\Windows\EventLog\System
ADMX File Name EventLog.admx

Policy configuration service provider