There are plenty of articles covering this, but most of them walk you through installing features, etc. Here’s a quick braindump of one of my migrations of DHCP from a Windows Server 2003 DHCP server to a new one running Server 2012 R2.
On the Server 2012 R2 server:
- Elevated PowerShell prompt, run: Install-WindowsFeature Migration
- Run the migration tools command prompt from Server Manager->Tools
- Create a folder to store your migration package: C:tempWIN2K3MIG
- Create a package for the downlevel server
C:Windowssystem32ServerMigrationTools> .SmigDeploy.exe /package /architecture x86 /os WS03 /path C:tempWIN2K3MIG
On the Server 2003 server:
- Copy the package created in step 4 above to the source server
- Stop the DHCP server service (PowerShell: Stop-Service DHCPServer)
- Run SmigDeploy.exe out of the package folder, a PowerShell prompt will appear
- PowerShell: Get-SmigServerFeature
- Create a folder to hold your exported config: md C:tempsmig_dhcp
- PowerShell: Export-SmigServerSetting -FeatureId DHCP -Path C:tempsmig_dhcp
Back on the Server 2012 R2 server again:
- Elevated PowerShell prompt, run: Add-PSSnapin Microsoft.Windows.ServerManager.Migration
- PowerShell: Stop-Service DHCPServer
- PowerShell: Import-SmigServerSetting -FeatureId DHCP -Path ‘\2003serverc$tempsmig_dhcp‘ -Force -Verbose
- PowerShell: Start-Service DHCPServer
- Authorise the new DHCP server, and de-authorise the old one