Windows Group Policy's

Group Policy Specify The Maximum Log File Size

Windows Group Policy Name :- Group Policy - Specify the maximum log file size(KB)

Requirements :-

  • At least Windows Vista

Description :-

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.

Note :-

Notepad

Main Directory :-

Sub Directory :-

Policy Path :-

Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Event Log Service -> Application

Policy Path :-

configure-group policy - Specify the maximum log file size

Policy Path :-

output-group policy - Specify the maximum log file size

Note :-

Notepad

After changing group policy options, you need to update group policy. If you do not update group policy then settings will not effect. To update it just simply type below command and also sample image is shown.

Command :-

gpupdate /force

output-update-group-policy
Notepad

In about command we used "/force" option, this will help up to update policy options forcefully.