Backing up DHCP database using Netsh

by Mitch Tulloch [Published on 12 Aug. 2009 / Last Updated on 16 March 2009]

You can use the Netsh command to back up the DHCP database of your DHCP server.

You can use the Netsh command to back up the DHCP database of your DHCP server. This can be important because the DHCP database contains information about your DHCP server, scopes, reservations, options, leases, and registry keys. By default, Windows Server automatically backs up the DHCP database files and registry configuration every 60 minutes and saves the backed up information in the \System32\DHCP\Backup folder, but you can use Netsh to manually back up the DHCP database at any time as follows:

netsh dhcp server backup "C:\DHCPbackups"

The above command backups up DHCP registry configuration to C:\DHCPbackups\DhchCfg, and backs up the DHCP database file (.mdb) to the C:\DHCPbackups\new folder.

The Author — Mitch Tulloch

Mitch Tulloch is a widely recognized expert on Windows administration, networking, and security. He has been repeatedly awarded Most Valuable Professional (MVP) status by Microsoft for his outstanding contributions in supporting users who deploy and use Microsoft platforms, products and solutions. Mitch has published over two hundred articles on different IT websites and magazines, and he has written or contributed to almost two dozen books and is lead author for the Windows 7 Resource Kit from Microsoft Press. For more information, see www.mtit.com .

Latest Contributions

Featured Links