Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

migrating dhcp from 2003 to  2008

Posted on 2008-10-22
4
Medium Priority
?
1,081 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
 

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 2000 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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…

885 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