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

Some Useful Windows Networking Commands

# Checking WinRM connections PS C:\Windows\system32> netstat -ano|select-string ":5985" TCP 0.0.0.0:5985 0.0.0.0:0 LISTENING 4 TCP…

Proposal: Network Optimization (Simplified)

Kim ConnectNetwork Optimization Proposal June 23, 2017 Overview 1.    Project Background and Description We are…

Bandwidth Calculator

Convert Kbps to GB/month Formula =A2*60*60*24*30/8/1000/1000 (use Excel) ------------------------------------------------ 20000 Kbps = 6480 Gb/month 950…