- Go to Start | Run and enter cmd in the Open box and click OK .
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.
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
- In the Command Prompt window, enter cd% systemroot% system32dhcp . Press Enter .
- Enter jetpack dhcp.mdb temp.mdb . Press Enter .
- 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:
- Install dhcpexim.exe utility and then launch this utility.
- 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 .
- In the File name box, enter a name for the output file, and click Save . For example, enter the file name as dhcpdatabase.txt .
- 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 .
- 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:
- Go to Start | Settings | Control Panel | Services .
- In the list of services select Microsoft DHCP Server | Start up and select Disabled . Then click OK .
- If the service is running, click Stop , then click Yes to confirm the service is turned off.
- When done, click Close to close the Services window.
- 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:
- Go to Start | All Program | Administrative Tools | Server Manager .
- In the Server Manager Console tree, right-click Roles and select Add Roles .
- Add Roles Wizard appears, click Next .
- On the Select Server Roles page, click to select the DHCP Server box. Then click Next .
- Check the information on the Introduction to DHCP Server page , then click Next .
- 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.
-
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.
- After receiving a message that the command has been successfully executed, exit the Command Prompt .
Authorize DHCP server
- 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 .
- 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.
- Right click on Server Object and select Authorize .
- Wait a few minutes then right-click on the Server Object and click Refresh . When a blue arrow appears, your DHCP server is authorized.
You should read it
- Move DHCP from 2000 Server / Server 2003 to Server 2008
- Install and configure Windows Server 2008 DHCP Server
- Steps to fix 'Unable to Contact your DHCP Server' error on Windows 10
- Some new points in the network connection of Windows Server 2008 R2
- Diskperf command in Windows
- Steps to prepare for installing Windows Server 2008
- Microsoft rushed to release security updates for Windows XP, Server 2003
- Failover Cluster Management configuration of Server 2008
- Configure Windows Server 2008 to remotely access SSL VPN Server (Part 3)
- How to Install, Configure, and Test Windows Server 2012 R2 Single Subnet DHCP Server
- Set up DHCP server in Windows 2003
- Application security with AppLocker
Maybe you are interested
9 best iOS emulators on Windows computers Technology jokes: Present and future of hackers 20+ images of the secret behind the lives of Japanese businessmen 7 helpful tips to keep your life balanced and happy despite being busy Super machine gun fired 1 million bullets in 1 minute How do astronauts wash their hair in space?