dhcp server scopes migration from windows 2003 to WIndows 2012 servers

Hello Experts,

I am looking to export all dhcp server scopes from multiple Windows 2003 dhcp servers onto a new DHCP Windows 2012 server. As far as I know, Powershell is not an option here, because the Windows 2003 OS limitation, so netsh command is my only option here.

However, I am little confused here, as per my knowledge I only have 2 options:

Option 1, export all dhcp scopes and their value onto a CSV using the command netsh dhcp server xxxxxxx scope 172.x.x.0 show optionvalue > c:\SVDS006.csv

Option 2. run the command below to export the dhcp database from windows 2003 server and the import onto a dhcp 2012 server

netsh dhcp server  \\Name or IP Address export c:\w2k3dhcpdb all

Which method is prefer and why?

Need to be able to export then import all DHCP scopes from all Windows 2003 dhcp servers onto a single DHCP 2012 server. All DHCP scopes and their value options [DNS/WINS/domain name,router, and so on] must be imported onto the new DHCP Windows 2012 server.

Can you please provide an example where you export 2 scopes, one from each Windows 2003 server and then import onto a new DHCP Windows 2012 server?

Please provide as much details as you can in all steps
Jerry SeinfieldAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joshua GrantomSenior Systems AdministratorCommented:
You can install Powershell v2.0 on server 2003
http://support.microsoft.com/kb/968929
0
Adam BrownSr Solutions ArchitectCommented:
Both options are essentially the same. The first exports a single scope, while the second exports all scopes. There is another option, which is to right click the server name in DHCP manager, then click Backup. Doing the same on the destination server with the restore option will add all scopes to the new server. Note, though, that I don't know if you can restore multiple backups to a single server without the later restores overwriting the configuration. I haven't tested that and can't find any information on it.

That said, the import is just a matter of getting each exported DHCP file onto a single server, then running
netsh dhcp server import <filename> all

which will import all the scopes from the file you designate. Do that for each file and it will create all of the scopes on that server.
0
Jerry SeinfieldAuthor Commented:
Thanks

can you please provide examples with two possibles scopes from two different dhcp windows 2003 servers and then import onto a new Window 2012 dhcp server? can you please list all your steps with your examples
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

Adam BrownSr Solutions ArchitectCommented:
All you would need to do in that situation is this:
1. Log on to server 1
2. Run netsh dhcp server export C:\dhcpserver1.dll all
3. Copy the file to Server 3
4. Log on to server 2
5. Run netsh dhcp server export C:\dhcpserver2.dll all
6. Copy the file to Server 3
7. Log on to server 3
8. Run netsh dhcp server import c:\dhcpserver1.dll all
9. run netsh dhcp server import C:\dhcpserver2.dll all

And you're pretty much done.
0
Jerry SeinfieldAuthor Commented:
Thanks,

Allow me to ask following questions

Are there any conflict by importing multiple Windows 2003 dhcp server databases onto a single window dhcp windows 2012 server?

Should I stop the dhcp service on the Windows 2012 server every time before importing a new Windows 2003 dhcp database?

Does the Windows 2012 dhcp database will keep all scopes from all different DBs that are being imported?
0
Adam BrownSr Solutions ArchitectCommented:
If you do the Import Export, it should allow you to import all the DHCP information into one DHCP server, assuming none of the databases has a duplicate scope. You shouldn't have to stop the DHCP service before or after importing. Doing so before importing without starting it will prevent you from being able to import. And yes, 2012 DHCP should begin managing the scopes that you import as soon as they are imported.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Natty GregIn Theory (IT)Commented:
what acbrown2010 said
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DHCP

From novice to tech pro — start learning today.