A Quick Tip To Modify The Interval For DHCP Database Cleanup

by [Published on 18 Feb. 2010 / Last Updated on 31 May 2009]

This article explains how you can modify a registry entry to change the default interval for DHCP Database cleanup process.

DHCP Server must delete the "expired records" from its database (dhcp.mdb file) so that it releases space for new IP Addresses. By default, it does every 4 hours. You can modify this value by hacking the following registry entry:

  • KEY Name: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCPServer
  • Entry Name: DatabaseCleanupInterval
  • Type: REG_DWORD
  • Value: (in minutes), default is 4 hours.

 

The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.

Latest Contributions

Featured Links