none
dhcp additional help

    Întrebare

  • Hi all,

    I am going to migrate Windows 2003 R2 32 bit DHCPservers to Windows 2008 R2 servers.

    From this link,

    For detailed steps, please refer to the following article and same thread.

    Migration of DHCP Server from Windows Server 2003 to Windows server 2008

    We need to export and import registry key and do you know why? where is it located?

    I am going to use netsh dhcp server export/import

    since it could take one week to switch, do I need to switch to Windows 2008 R2 servers immediately after exporting dhcp db?

    Thank you!

    Thank you.

    25 aprilie 2012 14:13

Răspunsuri

  • Hello,

    That is in case where you have performed custom changes on registry keys.

    See this document for its location: http://support.microsoft.com/kb/173396

    It is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration

    You can use dhcmpmig like mentioned in the article but this is not supported by Microsoft. For that, I would recommend testing that in a test environment before using it in your production one.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    25 aprilie 2012 14:50
  • In addition to Mr X  suggestion, you can check this wiki article.


    Export the DHCP reservations, from the Old server which is to be migrated using netsh: 

            netsh dhcp server [ip address] scope [scope address] dump>c:\temp\dhcpscope.txt

    Example:
          
    netsh dhcp server 192.168.100.10 scope 192.168.100.0 dump>c:\DHCPDump\DHCP.txt


    Edit the exported file in notepad 'DHCPReserv.txt', Simply do a Find and Replace for the Windows Servers 2003 DHCP server IP you ran the export on and change to the Windows Server 2008 DHCP server IP you are importing to.

    On the Windows Server 2008 DHCP server, make sure you create the new scope first, and ten just simply run the following command:
    netsh exec c:\DHCPDump\DHCP.txt


    Thanks

    25 aprilie 2012 22:54

Toate mesajele

  • Hello,

    That is in case where you have performed custom changes on registry keys.

    See this document for its location: http://support.microsoft.com/kb/173396

    It is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration

    You can use dhcmpmig like mentioned in the article but this is not supported by Microsoft. For that, I would recommend testing that in a test environment before using it in your production one.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    25 aprilie 2012 14:50
  • In addition to Mr X  suggestion, you can check this wiki article.


    Export the DHCP reservations, from the Old server which is to be migrated using netsh: 

            netsh dhcp server [ip address] scope [scope address] dump>c:\temp\dhcpscope.txt

    Example:
          
    netsh dhcp server 192.168.100.10 scope 192.168.100.0 dump>c:\DHCPDump\DHCP.txt


    Edit the exported file in notepad 'DHCPReserv.txt', Simply do a Find and Replace for the Windows Servers 2003 DHCP server IP you ran the export on and change to the Windows Server 2008 DHCP server IP you are importing to.

    On the Windows Server 2008 DHCP server, make sure you create the new scope first, and ten just simply run the following command:
    netsh exec c:\DHCPDump\DHCP.txt


    Thanks

    25 aprilie 2012 22:54
  • Thanks for our help.

    Can we use netsh to export and import dhcp db instead of migration tool?

    I just checked our Windows 2003 DHCP servers and no value in these keys.  So,

    I do not worry about it.  right?

    Thank you.

    26 aprilie 2012 14:21
  • Thanks for our help.

    Can we use netsh to export and import dhcp db instead of migration tool?

    I just checked our Windows 2003 DHCP servers and no value in these keys.  So,

    I do not worry about it.  right?

    Thank you.

    Yes.

    Since there is no custom updates, you can proceed with no problems.


    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.   

    Microsoft Student Partner 2010 / 2011
    Microsoft Certified Professional
    Microsoft Certified Systems Administrator: Security
    Microsoft Certified Systems Engineer: Security
    Microsoft Certified Technology Specialist: Windows Server 2008 Active Directory, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Network Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows Server 2008 Applications Infrastructure, Configuration
    Microsoft Certified Technology Specialist: Windows 7, Configuring
    Microsoft Certified Technology Specialist: Designing and Providing Volume Licensing Solutions to Large Organizations
    Microsoft Certified IT Professional: Enterprise Administrator
    Microsoft Certified IT Professional: Server Administrator
    Microsoft Certified Trainer

    26 aprilie 2012 14:27
  • Hi Mr X,

    >since it could take one week to switch, do I need to switch to Windows 2008 R2 servers immediately after exporting dhcp db and importing to

    Windows 2008 R2 DHCP server? Can I wait for one week to switch to Windows 2008 R2 servers?

    Thank you.

    26 aprilie 2012 15:02
  • Hi,

    Why you need to import the database after a week? You can export the data when Windows 2008 DHCP server is ready. Exporting the DHCP database will contain the configuration information at this time.


    Best Regards,

    Aiden


    Aiden Cao

    TechNet Community Support

    27 aprilie 2012 01:32
    Moderator
  • Hi Aiden,

    Thank you for your help and advice.

    When I export the windows 2003 DHCP DB, do I need to stop the DHCP service before exporting?

    Thank you.

    1 mai 2012 14:13
  • No need to stop the DHCP service.

    Thanks

    1 mai 2012 14:59