Transfer DHCP from Windows Server 2000 to 2008

Transfer method Dynamic Host Configuration Protocol (DHCP) from Microsoft Windows NT Server 4.0 system to Windows Server 2008.

Transfer DHCP from Windows Server 2000 to 2008 Picture 1Transfer DHCP from Windows Server 2000 to 2008 Picture 1 Network administration - New versions always integrate many tools and improve many features to support users. And Windows Server 2008 is no exception. But for many users who used previous server versions such as Windows NT 4.0, Windows Server 2000 or Windows 2003, they were reluctant to switch to this version because the DHCP data base is quite massive .

This article will show you how to move a database. Dynamic Host Configuration Protocol (DHCP) from a system that is using Microsoft Windows NT Server 4.0 or Microsoft Windows 2000 version a system using Windows Server 2008 operating system.

Note:   You can use the Microsoft Windows backup utility ( ntbackup.exe ) to back up and restore DHCP databases on an individual server. Do not use the backup utility to transfer a DHCP database from a DHCP server to another server .

Export the DHCP database from a server that uses Windows NT Server 4.0 or Windows 2000

1. Turn off the DHCP Server service on the server

a. Log in to the source DHCP server using the member group administrator account.

b. Then click on Start | Run and enter the cmd command in the Open box and click OK to open the Command Prompt .

c. In the Conmmand Prompt window, enter net stop dhcpserver and press Enter . A message will appear with the message "The Microsoft DHCP Server service is stopped. The Microsoft DHCP Server service was stopped successfully" ( The Microsoft DHCP Server service is turned off. The Microsoft DHCP Server service is successfully turned off ).

d. Then enter the exit command to close the Command Prompt .

2. Compress the DHCP database using the JetPack utility

  1. Go to Start | Run and enter cmd in the Open box and click OK .
  1. In the Command Prompt window, enter cd% systemroot% system32dhcp . Press Enter .
  1. Enter jetpack dhcp.mdb temp.mdb . Press Enter .
  1. After the database is successfully compressed, enter exit to exit the Command Prompt .

3. Export the DHCP database

Export this DHCP database using the DHCP Export Import utility ( dhcpexim.exe ). You can use this utility in Windows 2000 Resource Kit Supplement 1 , or you can download this utility here.

To export the DHCP database you do the following:

  1. Install dhcpexim.exe utility and then launch this utility.
  1. At the Welcome to DHCP Export Import Tool screen , click on the Export configuration of the local service to a file file ( Export the local service configuration to a file ) and click OK .
  1. In the File name box, enter a name for the output file, and click Save . For example, enter the file name as dhcpdatabase.txt .
  1. Click on the zone or area you want to export and click the Disable the scopes on local machine before export check box ( Remove selected areas on the local machine before exporting ), and then click Export .
  1. Done, click OK .

4. Turn off the DHCP Server service on the server

Turning off the DHCP service on the server will prevent this service from starting after the database has been transmitted. Do the following to turn off the DHCP Server service:

  1. Go to Start | Settings | Control Panel | Services .
  1. In the list of services select Microsoft DHCP Server | Start up and select Disabled . Then click OK .
  1. If the service is running, click Stop , then click Yes to confirm the service is turned off.
  1. When done, click Close to close the Services window.
  1. Dhcpexim.exe utility is required to migrate DHCP databases from a Windows 2000-based server to a server that uses Windows Server 2008. Netsh commands for DHCP are not included in Windows NT 4.0.

Note: If only configuration files are needed, use the following command (instead of dhcpexim.exe utility) on the Windows 2000-based server that you want to export. (do not use dhcpexim.exe).

netsh dhcp dump> C: dhcp.txt

C: dhcp.exe is the name and path of the output file.

Note: The netsh command on a Windows 2000 server does not have an export option. The netsh dhcp server dump and netsh command dhcp server import is incompatible. If you try to import data created by netsh dhcp server dump> C: dhcp.txt using netsh DHCP server import> C: dhcp.txt you will get the following error message on Windows Server 2008 system:

Yêu cầu không được hỗ trợ ( This request is not supported ).

You can transfer the rendered configuration file to a new Windows Server 2008 server with the netsh exec c: dhcp.txt command.

Install DHCP Server service on Windows Server 2008 server

To install the DHCP Server service on a system that currently has Windows Server 2008 installed, do the following:

  1. Go to Start | All Program | Administrative Tools | Server Manager .
  1. In the Server Manager Console tree, right-click Roles and select Add Roles .
  1. Add Roles Wizard appears, click Next .
  1. On the Select Server Roles page, click to select the DHCP Server box. Then click Next .
  1. Check the information on the Introduction to DHCP Server page , then click Next .
  1. Then follow the instructions of the Add Roles Wizard to complete the installation.

Enter the DHCP database

Note: If you are not a member of Backup Operator group, you may receive an Access denied message when performing these operations. If you receive an error message Unable to determine the DHCP server version for server (Cannot check the DHCP server version for the server ), verify that the DHCP Server service is running on the server and account. Whether or not the login is a local admin group member .

Important: Do not use dhcpexim.exe to import a engine in DHCP data into Windows Server 2008. Also, if the destination Windows 2008 server is a member server, and if it is intended to improve it to a browser For domain management, you should move the DHCP database before improving it to a domain driver. Although you can turn the DHCP database into a Windows 2008 domain manager, the process to migrate to a member server will be much easier thanks to the appearance of a local admin account.

  1. First log in as a member user of the admin group. A user account in the group that a member of the local administrative group will not work. If a local admin account does not exist for the domain manager, restart the system in Directory Services Restore Mode and use the administrator account to import this database.

  2. Copy the exported DHCP database file to the local hard disk of the Windows Server 2008 system.

  3. Launching the DHCP service is started on Windows Server 2008 systems.

  4. Click on Start | Run , enter cmd in the Open box and click OK .

  5. In the Command Prompt , enter netsh dhcp server import c: dhcpdatabase.txt all , and press Enter . In which c: dhcpdatabase.txt is the full path and the database file name has been copied to the server.

    Note : When exporting a DHCP database from a Windows 2000 domain manager to the domain of the Windows Server 2008 member server, there may be an error message:

    Lỗi khi tạo và đọc thông báo cấu hình - Acess Denied ( Error analyzing and reading service configuration - Access is denied ).

    You must have local administrative rights to import data.

  6. To resolve this error, add the Windows Server 2008 DHCP server system to the DHCP admin group at the Enterprise level.

  7. If you receive an Access is denied message (access denied) after adding a Windows Server 2008 DHCP server to the DHCP administrative group at Enterprise level mentioned in step 4, make sure that the user account is being used. to enter the database is a member of the admin group. If not, add that account to the group or enter it as a local administrator to complete the import process.

  8. After receiving a message that the command has been successfully executed, exit the Command Prompt .

Authorize DHCP server

  1. Go to Start | All Program | Administrative Tools | DHCP .

Note: You must be entering this server using the member account of the admin group. In the Active Directory domain, you must be logged on to the server using the member account of the Enterprise Administrator group .

  1. In the Console tree of the Snap-in DHCP, expand the new DHCP server. If there is a red arrow in the lower right corner of the Server Object, this server is not authorized.
  1. Right click on Server Object and select Authorize .
  1. Wait a few minutes then right-click on the Server Object and click Refresh . When a blue arrow appears, your DHCP server is authorized.
4 ★ | 135 Vote