Monday, January 19, 2009

change MaxSize of EventLog via registry

to overwrite a pre-existing registry entry value

PS> New-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\Eventlog\Application -Name MaxSize -PropertyType DWord -Value 512 -force

'512' is in decimal format; it means 512KB

No comments:

Post a Comment