Registry Parameters for DHCP Servers

When you change any of these parameters except RestoreFlag, you must restart the computer for the changes to take effect. For the RestoreFlag parameter, you must restart the Microsoft DHCP Server service.

The Registry parameters for DHCP servers are specified under the following key:



..SYSTEM\current\currentcontrolset\services\DHCPServer\Parameters

APIProtocolSupport

Data type = REG_DWORD
Range = 0x1, 0x2, 0x4, 0x5, 0x7
Default = 0x1

Specifies the supported protocols for the DHCP server. You can change this value to ensure that different computers running different protocols can access the DHCP server. The values for this parameter can be the following:

0x1 For RPC over TCPIP protocols
0x2 For RPC over named pipes protocols
0x4 For RPC over local procedure call (LPC) protocols
0x5 For RPC over TCPIP and RPC over LPC
0x7 For RPC over all three protocols (TCP/IP, named pipes, and LPC)

BackupDatabasePath

Data type = REG_EXPAND_SZ
Range = filename
Default = %SystemRoot%\system32\dhcp\backup

Specifies the location of the backup database file where the database is backed up periodically. The best location for the backup file is on another hard drive, so that the database can be recovered in case of a system drive crash. Do not specify a network drive, because DHCP Manager cannot access a network drive for database backup and recovery.

BackupInterval

Data type = REG_DWORD
Range = no limit
Default = 15 minutes

Specifies the interval for backing up the database.

DatabaseCleanupInterval

Data type = REG_DWORD
Range = No limit
Default = 0x15180 (864,000 minutes — 24 hours)

Specifies the interval for cleaning up expired client records from the DHCP database, freeing up those IP addresses for reuse.

DatabaseLoggingFlag

Data type = REG_DWORD
Range = 0 or 1
Default = 1 (true—that is, database logging is enabled)

Specifies whether to record the database changes in the JET.LOG file. This log file is used after a system crash to recover changes that have not been made to the database file defined by DatabaseName. Database logging affects system performance, so DatabaseLogging can be turned off if you believe the system is highly stable and if logging is adversely affecting system performance.

DatabaseName

Data type = REG_SZ
Range = filename
Default = dhcp.mdb

Specifies the name of the database file to be used for the DHCP client information database.

DatabasePath

Data type = REG_EXPAND_SZ
Range = pathname
Default = %SystemRoot%\System32\dhcp

Specifies the location of the database files that have been created and opened.

RestoreFlag

Data type = REG_DWORD
Range = 0 or 1
Default = 0 (false—that is, do not restore)

Specifies whether to restore the database from the backup directory. This flag is reset automatically after the successful restoration of the database.