Red “X” on DHCP address lease after migrating from Windows Server 2003 to 2012

5 Replies

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.

  1. Perform backup of DHCP configuration
  2. Open a command prompt with Administrator privileges
  3. Run the following command in bold netsh dhcp server export C:\dhcp.txt all
  4. Delete the scope that was migrated
  5. Run the following command in bold netsh dhcp server import C:\dhcp.txt all
  6. 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.