Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How to Backup then Resort DHCP server with all Default values and reservation on windows NT4 ?

Posted on 2003-12-11
4
1,147 Views
Last Modified: 2013-12-28
Hi
I have an old DHCP server of Windows NT4 with special Default values and reservation for Network printer and servers. We will close this server. so I have to install DHCP server on a new server[ OS is windows  NT4 also]  then restore all Default values and reservation for Network printer and servers
I tried to backup the old DHCP [dhcp.mdb , dhcp.pat and j500bcc9 files] then restore it on the new DHCP.

The problem is all Default values and reservation for Network printer and servers didn’t appear on the new DHCP server also the Excluded addresses didn’t appear . Only the Active leases menu was restored  with the Dynamic IPs  only Without reservation for Network printer and servers

So please tell me how to do copy the old DHCP with all its properties to the new DHCP

Note, the operating system is windows NT4 with SP6a

Thank you
0
Comment
Question by:nilehawk
  • 3
4 Comments
 
LVL 6

Accepted Solution

by:
Sebo2000 earned 125 total points
ID: 9922639
Try this:


To ensure that the defined DHCP scope and global properties are
not lost, you must make a backup copy of the following file before you
reinstall DHCP.


         %SystemRoot%\System32\Dhcp\Backup\Dhcpcfg
                              

This file contains a copy of the registry entries for the configuration of
the DHCP server. The file is automatically updated by the DHCP Manager
every time the DHCP server is shutdown.



To restore the previous configuration with this file, perform the following
procedure:


1. Remove and reinstall the Microsoft DHCP Server service.

2. Before restarting, reapply any service packs that are installed.

3. Restart the server to allow the installation to finish.

4. Click the Start button, point to Settings, and then click Control
   Panel. Double-click the Services icon, and select DHCP server from the
   Services dialog box. Click Stop, and then click Close. WARNING: Using
   Registry Editor incorrectly can cause serious, system-wide problems
   that may require you to reinstall Windows NT to correct them. Microsoft
   cannot guarantee that any problems resulting from the use of Registry
   Editor can be solved. Use this tool at your own risk.

5. Start Registry Editor (Regedt32.exe) and find the following subkey:


               HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
               \DHCP Server\Configuration
                                                

6. Select the Configuration key, then from the Registry menu, click
   Restore. Type the path to the backup copy of the Dhcpcfg file.

7. Click Yes at the warning message dialog box.

8. Exit Registry Editor.

9. Click the Start button, point to Settings, and then click Control
   Panel. Double-click the Services icon, and then select DHCP Server in
   the Services dialog box. Click Start, and then click Close.



The previously defined DHCP properties should now be in place. You may then
need to reconcile the database information using the steps outlined in the
Reconcile DHCP Information section in the following article in the
Microsoft Knowledge base:

0
 

Author Comment

by:nilehawk
ID: 9940981
hi Sebo2000
i didn't find the registry key  
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DHCP Server\Configuration

but i got what you want me to do. i will export the old key before the installation then restore it back after the reinstallation.

i will try this solution then i will tell you.
 buy the way where is the link for Microsoft Knowledge base:
0
 

Author Comment

by:nilehawk
ID: 9941136
Hi Sebo2000
the solution is working but
1- stop the DHCP service
2- you must delete all the configuration keys from registry then import it [ to prevent unwanted parameter to be added]
3-import the registry files
4- start the DHCP service

the problem now that all reservation didn't appear in the DHCP server while its registry key was imported successfully
please advise

thank you
0
 

Author Comment

by:nilehawk
ID: 10007197
thank you
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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...
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

809 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