Solved

DHCP Export using "netsh dhcp server export" - does it export EVERYTHING

Posted on 2016-10-04
4
44 Views
Last Modified: 2016-10-04
Hi all,

I need to migrate DCHP from an existing Server 2008 DC to a new Server 2012 R2 DC.

I have read several guides etc and it looks straight forward enough ( I want to use the "netsh dhcp server export/import" method).

I just wanted to double check that use the command netsh dhcp server export "c:\mydhcpexport.txt all" exports EVERYTHING including leases, reservations and scope options etc etc?
0
Comment
Question by:fieldj
  • 2
4 Comments
 
LVL 21

Accepted Solution

by:
RK earned 250 total points
ID: 41827585
Hi,

I have performed this 2 weeks back on one of my DHCP failed server. This is the step i have  performed in order to export/import DHCP.

1)      Export the dhcp configuration by running the command “netsh dhcp server export dhcp.txt all” (where “dhcp.txt” will be the configuration file).
2)      Install the DHCP role on the new server. (You can either not select the authorize DHCP now and perform this afterwards)
5)      Run the command “netsh dhcp server import dhcp.txt all” (where the dhcp.txt is the file you have copied safely).

This will safely import the DHCP configuration. This method should work for you as well.

Good luck
0
 

Author Comment

by:fieldj
ID: 41827591
Thanks, that is the method which I plan to use.

Can you confirm that it does definitely import all of the configuration including leases, reservations and scope options?
0
 
LVL 17

Assisted Solution

by:Learnctx
Learnctx earned 250 total points
ID: 41827638
Using netsh does indeed restore all settings and data, including reservations. As a simple test you can do the backup and import on to a test server. But this is the process I have used in the past to move databases between servers and for upgrades (2003->2008->2012).
0
 

Author Comment

by:fieldj
ID: 41827661
Thanks
0

Featured Post

Does Powershell have you tied up in knots?

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

My GPO's made for 2008 R2 servers were not allowing me to RDP into a new 2012 server by default.  That’s why I tried to allow RDP via Powershell, because I could log into a remote shell without further configuration. Below I will describe how I wen…
Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

863 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

23 Experts available now in Live!

Get 1:1 Help Now