Link to home
Start Free TrialLog in
Avatar of tmlaugle

asked on

Set retention for Applications and Services logs in Windows 2008/2012 using the registry

I need to set the retention for one of the logs in the Applications and Services Logs section of Event Viewer for ALL my servers.  This means I need to do it via a preferences registry setting in group policy.

When I made the retention setting for the Windows logs, I was able to add a Value named Retention in the key for the log, for example:  HKLM\System\CurrentControlSet\Services\EventLog\Application --> Retention = 0 (REG_DWORD).  (Yes, I know I could have done this through Administrative Tools, I chose to do it through the registry.)

I know the location of the Applications and Services Logs in the registry:  HKLM\Software\Microsoft\Windows\CurrentVersion\WINEVT\Channels --> <name of the log>.  What I am trying to find out is the name of the value to add.  Will "Retention" work here, as it does for the Windows logs?  Or is there a different Value for these logs?  Any help will be much appreciated.
Avatar of Robin CM
Robin CM
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.