• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 272
  • Last Modified:

dhcp windows 2003

i have a windows 2003 server that i use as my dhcp server. i am de-commissioning this server so i setup a new windows 2003 server that will become the new dhcp server. is there a way to copy over the dhcp info from the old server to the new.
3 Solutions
Hi Jeff,
log in as the administrator on your old 2k3 server and from the cmd prompt, type " netsh dhcp server export c:\dhcplist.txt all "
this will export a txt file called dhcplist.txt to the c: drive, copy this to the new 2k3 server c: drive and from the cmd prompt type " netsh dhcp server import c:\dhcplist.txt all "
You can use the netsh tool to export your current DHCP database to a txt file:

netsh dhcp server export C:\dhcp.txt all.

Then import that file using netsh into the new DHCP database.
netsh dhcp server import c:\dhcpdatabase.txt all,

You can view detailed instructions in the following MS Knowledge Base article.


JeffBeallAuthor Commented:
thanks for the help. it worked like a charm
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now