- Go to Start | Run and enter cmd in the Open box and click OK .
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
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:
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:
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:
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.
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.
Copy the exported DHCP database file to the local hard disk of the Windows Server 2008 system.
Launching the DHCP service is started on Windows Server 2008 systems.
Click on Start | Run , enter cmd in the Open box and click OK .
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.
To resolve this error, add the Windows Server 2008 DHCP server system to the DHCP admin group at the Enterprise level.
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.
Authorize DHCP server
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 .