Due to a customer for feedback to me today, in the DHCP to 2003 Windows server 2012 r2 migration went wrong, so I write out the entire migration process, hope to encounter such a situation later brother help,
1. Data backup Windows Server 2003 DHCP Server in order to prevent the migration problems of instant recovery:
New - management tools - DHCP, open DHCP manager
The right mouse button server, backup choice:
Select backup location to store backup files:
The backup is successful, the following graph:
2. To export the Windows server 2003 DHCP server configuration information
Open the CMD window, execute the following command: netsh DHCP server dump & gt; C: \ 2003 dump. TXT will the DHCP server configuration information export, export the results are as follows:
3. The DHCP service is installed on the Windows server 2012 R2 (the installation process is abbreviated)
Installation configured below:
4. Derive the Windows server 2012 R2 DHCP server configuration information
With administrator privileges to open the CMD window, execute the following command netsh DHCP server dump & gt; C: \ 2012 dump. TXT export results as shown in the figure below:
5. Modify the DHCP server configuration information
Copy 2003 dump. TXT and 2012 dump. TXT file of DHCP server at the beginning of 6 lines, and paste it into a new DHCP. TXT, modify specific content is as follows:
Open 2003 dump. TXT, copy the winning six lines, paste the new DHCP. TXT file and modify, add the Netsh front row, will be replaced the add, delete, content is as follows:
Netsh Dhcp Server 192.168.5.100 delete Class "category default routing and remote access" "remote access client user categories" 525241532 e4d6963726f736f6674 0 b
Netsh Dhcp Server 192.168.5.100 delete Class "default the BOOTP category" "the BOOTP client user categories" 424 f4f54502e4d6963726f736f6674 0
Netsh Dhcp Server 192.168.5.100 delete Class "Microsoft Windows 2000 option" "Windows 2000 client Microsoft vendor specific options" 4 d53465420352e30 1 b
Netsh Dhcp Server 192.168.5.100 delete Class "Microsoft Windows 98 option" "Windows 98 client Microsoft vendor specific options" 4 d534654203938 1 b
Netsh Dhcp Server 192.168.5.100 delete Class "Microsoft options" "applies to Windows 98 and Windows 2000 client Microsoft vendor specific options" 4 d534654 1 b
Netsh Dhcp Server 192.168.5.100 Add Class "default network access protection level" "restricted access client default special user classes" 4 d5346542051756172616e74696e65 0 b
Open 2012 dump. TXT, copy the winning six lines, paste the new DHCP. TXT file and modify, add the Netsh front row, and will address changed, the same as 2003, the content is as follows:
Netsh Dhcp Server \ 192.168.5.100 Add Class "default routing and remote access Class" "remote access client user classes" 525241532 e4d6963726f736f6674 0 b
Netsh Dhcp Server \ 192.168.5.100 Add Class "default network access protection level" "restricted access client default special user classes" 4 d5346542051756172616e74696e65 0 b
Netsh Dhcp Server \ 192.168.5.100 Add Class "default the BOOTP Class" "the BOOTP client user classes" 424 f4f54502e4d6963726f736f6674 0 b
Netsh Dhcp Server \ 192.168.5.100 Add Class "Microsoft Windows 2000 option" "for Windows 2000 and higher client Microsoft vendor specific options" 4 d53465420352e30 1 b
Netsh Dhcp Server \ 192.168.5.100 Add Class "Microsoft Windows 98 option" "Windows 98 client Microsoft vendor specific options" 4 d534654203938 1 b
Netsh Dhcp Server \ 192.168.5.100 Add Class "Microsoft options" "apply to all Windows client Microsoft vendor specific options" 4 d534654 1 b
Modified DHCP. BAT file content is as follows:
6. Open the Windows server 2003 DHCP server in the CMD window, will the DHCP. The contents of the TXT file is copied to the CMD window, completes, the diagram below:
7. DHCP data migration
In Windows server 2003 DHCP server running on the netsh DHCP server export c: \ DHCP - new TXT all, export all DHCP configuration information
The export file copy to the Windows server 2012 R2 server C packing list, and then import the CMD window: the netsh DHCP server import C: \ DHCP - new TXT all, import the configuration information
Import is successful, the following graph:
Successful migration
8. The Windows server 2003 DHCP unloading process (abbreviated)
CodePudding user response:
Figure,,, copy and paste not professionalCodePudding user response:
Figure, Desmond tutu,