Microsoft Windows DHCP Team Blog

The world's most deployed DHCP Server! Deploy and discuss about your fav. server, here!

Blogs

How to override the system default for the threshold for the event 1020.

  • Comments 2
  • Likes
 

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
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_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcpserver\Parameters.

Comments
  • What should the value be 0.90 or 90 for 90%

  • Hey Jeffrey,

    It should be 90 and not 0.90

    Raunak Pandya

    DHCP Server Team

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment