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%.
Event Type: Warning
Event Source: DhcpServer
Event Category: None
Event ID: 1020
Scope, 10.156.32.0, is 81 percent 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_MACHINESYSTEMCurrentControlSetServicesDhcpserverParameters.