Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We upgraded our AD and DHCP to 2008 R2. I used netsh to dump the dhcp database from the old Windows 2003 R2 server and then imported in the new server. What I am finding is that not all of the leases it is handing out are ahowing in the DHCP console. I have tried to reconcile the scope and it doesn't show any errors.

I saw a resolution here that seemed similar, but since I have 150 reservations and I am 24 hours shop, re-creating all these doesn't seem like a great idea.

I'm running out of ideas, so any thoughts would be helpful.

share|improve this question
1  
Is the old server still running? Did you deauthorize it? Did you authorize the new server? Are you checking the console on the server or are you using the DHCP console on a remote computer? If you're looking from a remote computer, are you using RSAT for 2008 R2? –  MDMarra Jun 1 '12 at 17:22
    
Old server is long gone and new server is authorized according to AD. Checking from my workstation with RSAT for 2008 R2. Same result on the server. –  Graham Jun 6 '12 at 22:42
add comment

1 Answer

Perform these steps from new W2K8 DHCP server:

1.Open DHCP mmc

2.Open Command prompt: cmd

3.Type: netsh dhcp server export C:\dhcp.txt all in command prompt and press Enter

4.Delete ALL scope information from within the DHCP mmc

5.Type: netsh dhcp server import C:\dhcp.txt all in command prompt and press Enter

6.Right-click server name within DHCP mmc and choose refresh

At this point I was able to view all of my Address Leases. All entries had a Name that was equal to its Client IP Address, a Lease Expiration of the time of my export, a Type of DHCP/BOOTP, and a very long Unique ID (32 characters). After performing a "Ipconfig /renew" from a workstation, the workstation's Name appeared correctly, the Type changed to just DHCP, and the Unique ID was the MAC address of the workstation.

I then created a command file (renew.cmd) with the command Ipconfig/renew as the only contents. I placed this file on a UNC path (\fileserver\sharename\renew.cmd) that I knew all domain users had access to and then sent them an email with the link to the file and instructions to select "Open" after clicking the link. The proper DHCP registrations just started rolling in after that.

Copied from: http://social.technet.microsoft.com/Forums/en-US/winserverNIS/thread/1b8cd762-3f95-4ff9-9d9e-75b04e067d2a

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.