Migrating the WIN Server 2003 DHCP role to win server R2

Source: Internet
Author: User

The process of migrating the WIN Server 2003 DHCP role to win server R2 and from the win server 2008r2 to 2012R2 are very different because the framework of the win Server 2003 and the framework of the win server 2012r2 There have been some changes.
Due to a customer feedback to me today, there was an error in the win Server 2003 DHCP to 2012R2 migration. So I wrote out the whole migration process and I hope to be helpful to my brother who will encounter such a situation later.

    1. Back up the DHCP server data for Windows Server 2003 to prevent immediate recovery from problems with migration:
      Start---management tools----DHCP, open DHCP Manager

      Right-click Server, select: Backup

      Select a backup location to hold the backup file:

The backup was successful, such as:

2. Export the configuration information for the WIN Server 2003 DHCP server
Open the cmd window and execute the following command: netsh dhcp server dump >c:\2003dump.txt Exports the configuration information for the DHCP server, exporting the results such as:

3. Install DHCP service on Win server R2 (installation process slightly)
Installation configuration complete such as:

4. Export the configuration information for the win server R2 DHCP server
Open the CMD window with administrator privileges, and execute the following command netsh dhcp server dump > C:\2012dump.txt export results as shown in:

5. Modify the configuration information for the DHCP server
to copy the 6-line content from the beginning of DHCP server in the 2003dump.txt and 2012dump.txt files and paste it into 1 new dhcp.txt, as follows:
Open 2003dump.txt, copy its red 6 lines, paste into the new DHCP.TXT file and modify it, add Netsh before each line, replace add with Delete, as follows:
netsh Dhcp Server 192.168.5.100 Delete Class "Default Routing and Remote Access category" "Remote access Client user class" 525241532e4d6963726f736f6674 0 B
Netsh Dhcp Server 192.168.5.100 Delete class "Default BOOTP category" "BOOTP Client User class" 424f4f54502e4d6963726f736f6674 0
Netsh Dhcp Server 192.168.5 . + DELETE Class "Microsoft Windows 2000 Options" "Microsoft Vendor specific options for Windows 2000 clients" 4d53465420352e30 1 b
Netsh Dhcp Ser ver 192.168.5.100 Delete Class "Microsoft Windows 98 Options" "Microsoft Vendor specific options for Windows 98 clients" 4d534654203938 1 b
Netsh D HCP Server 192.168.5.100 Delete Class Microsoft options "Microsoft Vendor specific options for Windows 98 and Windows 2000 clients" 4d534654 1 bnetsh Dhcp Server 192.168.5.100 ADD class "Default network Access Protection level" "Default special user class for restricted access clients" 4d5346542051756172616e74696e65 0 B
/p>

Open 2012dump.txt, copy its red 6 lines, paste into the new DHCP.TXT file and modify it, add Netsh before each line and change the address to the same as in 2003, with the following content:
netsh Dhcp Server \192.168.5.100 Add class "Default Routing and Remote Access class" "Remote access Client user class" 525241532e4d6963726f736f6674 0 B
netsh Dhcp Server \192.168.5.100 Add class "Default network Access Protection level" "Default special user class for restricted access clients" 4d5346542051756172616e74696e65 0 B
netsh Dhcp Server \192.168.5.100 Add class "Default BOOTP Class" "BOOTP Client User class" 424f4f54502e4d6963726f736f6674 0 B
netsh Dhcp Server \192.168.5.100 Add Class Microsoft Windows 2000 Options "Microsoft Vendor specific options for Windows 2000 and later clients" 4d534 65420352e30 1 B
netsh Dhcp Server \192.168.5.100 Add Class "Microsoft Windows 98 Options" "Microsoft Vendor specific options for Windows 98 clients" 4d534654203938 1 B
netsh Dhcp Server \192.168.5.100 Add Class "Microsoft Options" "Microsoft Vendor specific options for all Windows clients" 4d534654 1 b

The contents of the modified Dhcp.bat file are as follows:

6. Open the cmd window of the WIN Server 2003 DHCP server, copy the contents of the DHCP.TXT file into the cmd window, perform the execution, such as:

7.DHCP Data Migration
On the WIN Server 2003 DHCP server, run netsh dhcp server export c:\dhcp-new.txt all, exporting all DHCP configuration information

Copy the exported files to the C packing directory of the win server R2 server, and then perform the import in the cmd window: netsh dhcp server import c:\dhcp-new.txt All, import the configuration information

The import was successful, such as:

Migration success

    1. Win Server 2003 DHCP offload (process slightly)

Migrating the WIN Server 2003 DHCP role to win server R2

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.