Red “X” on DHCP address lease after migrating from Windows Server 2003 to 2012
After exporting your DHCP configuration/database from Windows Server 2003/8 and importing to Windows Server 2012 R2, there is a nice red x on the address leases. Everything is still functional as clients are still getting leases but leases are not viewable in the DHCP snapin. Perform the following steps to resolve the issue.
- Perform backup of DHCP configuration
- Open a command prompt with Administrator privileges
- Run the following command in bold netsh dhcp server export C:\dhcp.txt all
- Delete the scope that was migrated
- Run the following command in bold netsh dhcp server import C:\dhcp.txt all
- Verify the DHCP snap in is displaying address leases
Note: If step 5 takes too long to complete the DHCP service is stuck starting. Only a reboot will fix this problem.