How to override the system default for the threshold for the event 1020.
Question: How can I change the threshold value for firing of event 1020. Event 1020 fired by the DHCP server is fired whenever the amount of free addresses in a scope is less than 80%.
E.g:
Event Type: Warning
Event Source: DhcpServer
Event Category: None
Event ID: 1020
Date: 3/08/2005
Time: 19:50:48
User: N/A
Computer: NETSERVER
Description:
Scope, 10.156.32.0, is 81percent full with only 35 IP addresses remaining.
For some people they might want to change this threshold value of 80%. For them firing this warning at 90% might make more sense of it the threshold could be lower that 80%. For these purposes, to override the system default of 80%, what can I do?
Answer:I believe there is indeed a registry key which can override the default threshold for logging event 1020. The reg key is named "DhcpAlertPercentage" and is of type REG_DWORD. You can create it under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcpserver\Parameters.