Importing DHCP Settings

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

After exporting the DHCP settings and moving the exported file to a location where you can access it, you are ready to use the Netsh command-line tool to import the DHCP settings to the new DHCP server running Windows Server 2003. You might want to configure the new DHCP server to use the IP address that was formerly used on the old DHCP server. Before you do this, make sure to disconnect the old server from the network in order to avoid any IP address conflicts.

To import the DHCP server settings to Windows Server 2003–based DHCP server

  1. Install DHCP on the Windows Server 2003–based server. DHCP must be installed before you can import the file.

  2. At the command prompt, type:

    netsh DHCP server import <path of export file> all
    

    This imports the configurations of all scopes that you exported from the server running Windows NT 4.0 or Windows 2000.

For more information about the Netsh command-line tool, see "Netsh" in Help and Support Center for Windows Server 2003.