Migrating DHCP from Windows 2003 Server to 2008R2

Posted on 2012-08-29
Last Modified: 2012-09-13
I've used this article to assist me ( I liked the screenshots) with the migration of DHCP from 2003 to 2008R2.

Everything went well up until I needed to import the configuration to the 2008R2 server.  The import failed, there were many messages that so and so users was not imported because it already existed, etc.  Per this article, I used this powershell command for the import:

Import-SmigServerSetting -featureid DHCP -User All -Group -Force -path\\2008r2 servername\DHCPData -Verbose

I did not remove the 2003 server from active directly yet, because we are not yet ready to decommision it.  Could that be why the import failed?   Also, why does this command reference "User" and "Group"  if I'm looking to import the IP scope, leases, reservations, etc?   Should I be using a different command for the Import to the 2008R2 server?
Question by:quincycredit
    LVL 7

    Expert Comment

    The main thing is making sure that your old DHCP server is no longer authorized in AD for DHCP.  Once that is complete, you should be in the clear to import.  Also, your command looks correct from what the article is suggesting.  I believe you mainly need to make sure that your 2003 server is no longer authorized.

    Author Comment

    ok, so I should go to DHCP on the 2003 server and de-authorize DHCP before running the import on the 2008R2 server?

    If there are still issues, can I safely re-authorize DHCP on the 2003 server to bring it back to the way it was?
    LVL 7

    Accepted Solution

    Yes and yes.  Deauthorize on the 2003 server, and attempt the import.  If things don't go as planned, you should be able to authorize the 2003 without issue.
    LVL 3

    Expert Comment

    Though I love Powershell, the link you quoted describes one of the most cumbersome method to migrate DHCP. Another, equally verbose and convoluted method is given here:

    The most simple and pain-free method is to use Netsh command:
    netsh dhcp server export C:\temp\dhcpDB all
    netsh dhcp server import C:\temp\dhcpDB all


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
    Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now