There is an option in gpedit.msc to enable "Application: Specify the maximum log file size "
Computer Configuration\Policies\Administrative Templates\Windows Components\Event Log Service\Application\Specify the maximum log file size (KB)
But I wan t to enable from registry key. How can I enable?
Create a
REG_DWORD
type key with nameMaxSize
having log size (KB) as the value in following path.OR
Save text file containing following and save as
any_name.reg
. Double click to apply. Here00000400
is the log file size in hexadecimal. (This is a windows 8 registry file)Delete above register key to disable.
group policy edit - registry mapping