Posted On March 31, 2019

How to migrate DHCP Server

kimconnect 0 comments
blog.KimConnect.com >> Networking >> How to migrate DHCP Server
1. Run these commands on the existing DHCP server (currently Windows Server 2003)
net stop dhcpserver
cd %systemroot%\system32\dhcp
jetpack dhcp.mdb temp.mdb
netsh dhcp server export C:\dhcp.txt all

2. Import the dhcp database onto the new server
Copy the dhcp.txt file from the original server onto new server's c:\ drive
Run these shell commands:
Import-Module ServerManager
Add-WindowsFeature -IncludeManagementTools dhcp
Add-DhcpServerInDC dhcpservername dhcpipaddress
netsh dhcp server import c:\dhcp.txt all
restart-service dhcp -force

3. Test to see if the new server now assume the DHCP role by running these commands on a workstation with DHCP enabled
ipconfig/release
ipconfig/renew
ipconfig /all | find /i "DHCP Server"

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Discover Active Ports on a Windows Machine

PS C:\Users\kimconnect> get-nettcpsetting | select SettingName,DynamicPortRangeStartPort,DynamicPortRangeNumberOfPortsSettingName DynamicPortRangeStartPort DynamicPortRangeNumberOfPorts----------- ------------------------- -----------------------------AutomaticInternetCustom 49152 16384DatacenterCustom 49152 16384Compat 49152…

Router Console Methods

Router Console Methods: Configure Management Interface: mgmt intf Reset evaluation period: ssh into ESXi /etc/vmware/vmware.lic…

HP Procurve Cheat Sheet

Steps (9 total) 1. Config Files and Flash Files #show config --- Show config file#show…
Other project: DragonCoin.com