• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 524
  • Last Modified:

Configure size of Directory Service Log on Domain Controller

How can I configure the size of the 'Directory Service' Event Log on all Domain Controllers through a Group Policy setting?
0
albatros99
Asked:
albatros99
1 Solution
 
Neeraj KumarSystem adminCommented:
It is not possible to configure Directory service Event log size by Group policy.

You can define the size via registry

Key path: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\< Log-name >]

Value: MaxSize
REG_DWORD
      
0x10000–0xFFFF0000 ( bytes, in 64 KB increments ) (64 KB–4 GB)
      
0x80000 ( 512 KB )

 You may create a custom ADM file and add it to the Computer Configuration--->Administrative Template to modify this value to achieve it.
0
 
albatros99Author Commented:
This solved my problem, thanks.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now