Solved

migrating dhcp from 2003 to  2008

Posted on 2008-10-22
4
1,071 Views
Last Modified: 2012-05-05
I am trrying to migrate a dhcp database from server 2003 to 2008
using the cammands

netsh dhcp server export C:\dhcp.txt all
and
netsh dhcp server import c:\dhcpdatabase.txt all

scope comes across however address leases has a red cross and the reservations are empty

any ideas ?
0
Comment
Question by:titn003
  • 2
4 Comments
 
LVL 51

Expert Comment

by:Netman66
ID: 22782905
0
 

Author Comment

by:titn003
ID: 22784871
already tried that

Interestingly i can see the the resevations, leases etc on the console of the windows 2003 server but not the server 2008 server

Colud the issue be that i am going from a 32 bit os to a 64 bit version of Windows

0
 
LVL 51

Expert Comment

by:Netman66
ID: 22787240
You never mentioned that...

Very likely, yes.

I can't imagine you could restore a 32 bit DB into a 64-bit DHCP service correctly and still be able to see it via the 64-bit console.

Do a search on the 64-bit machine for dhcpmgmt.msc and see if you get more than one hit.  There should be a 32-bit WOW version locally.  If it works from that console then your issue is certainly one of 32-64bit migration.

You may have to recreate it on the 64-bit box.

0
 
LVL 31

Accepted Solution

by:
Henrik Johansson earned 500 total points
ID: 22817454
Propably similar to when upgrading to 2003, you nead to dump the configuration to a script with
  C:\>netsh dhcp server dump > dhcp-script.netsh
and execute the script with
  C:\>netsh exec dhcp-script.netsh

You'll not get the leases this way, but you get the configuration including reservations.

http://support.microsoft.com/kb/325473
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

932 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

11 Experts available now in Live!

Get 1:1 Help Now