Migrating DHCP database from Windows 2000 Server to Win2003?

N

NTNEWS

I am trying to do this using both the DHCPEXIM.EXE utility on the Win2000
side to export the database to a file and than importing it on the Windows
2003 side using netsh or DHCPEXIM.EXE. I keep getting an error that Access
is Denied. I am following Q article 325473 and it states I may get that
error if my originla dhcp database was on a DC. Though it was not on a DC, I
get the same error:

"Error initializing and reading the service configuration - Access is
Denied"

I followed the resolve by adding the destination Windows 2003 DHCP server
object to the "DHCP Administrators" group in the Enterprise domain (as well
as the child domain it sits in) and rebooted. No luck, ever after ample time
for replication to happen.

I have to do this for many DHCP database servers at my branch offices as we
have to return the servers for end of lease.
 
G

Gary Fose [MSFT]

Hi,

All of the old methods of moving a DHCP database and configuration from NT to
Windows 2000 or from one Windows 2000 Server to another no longer work when moving
from Windows 2000 (or NT) to Windows 2003. This is because the configuration
information has been moved from the registry to the database in Windows 2003.

This works (from the Windows 2003 deployment guide)

Exporting DHCP Settings
When migrating from an existing DHCP server running Windows NT 4.0 or Windows 2000
Server, the first step is to export the current DHCP settings. Use the following
procedure to export the DHCP database from an existing Windows NT 4.0-based server
or a Windows 2000-based server.

To export the DHCP server settings from a Windows NT 4.0-based server or Windows
2000-based server
1. Run DHCPExim.exe. This opens the DhcpExim dialog box.
To download and install DHCPExim.exe, see the Resource Kit Tools link on the Web
Resources page at http://www.microsoft.com/windows/reskits/webresources.
2. In the DhcpExim dialog box, select Export configuration of the local service to
a file.
3. In the DHCPEXIM Export To File dialog box, enter a file name and location to
save the file, and then click OK.
The target location the file is shown in the DhcpExim Export dialog box.
4. In the DhcpExim Export dialog box, select all of the scopes on the list to
migrate all settings on the server. Alternatively, you can only the specific scopes
you want to export if you are not migrating the entire server. Select the Disable
the selected scopes on local machine before export check box to disable the scopes
on this server before exporting, and then click Export.

Tip
This step might take several minutes to complete, and there is no dialog box to
indicate the progress of the export. You can view the process running on the
Processes tab of the Windows Task Manager.
5. Click OK when a message appears that says “The operation was completed
successfully.”
6. Copy the exported file to a location where you can access it from the new
Windows Server 2003-based server.

Importing DHCP Settings
After exporting the DHCP settings and moving the exported file to a location where
you can access it, you are ready to use the Netsh command-line tool to import the
DHCP settings to the new DHCP server running Windows Server 2003. You might want to
configure the new DHCP server to use the IP address that was formerly used on the
old DHCP server. Before you do this, make sure to disconnect the old server from
the network in order to avoid any IP address conflicts.

To import the DHCP server settings to Windows Server 2003-based DHCP server
1. Install DHCP on the Windows Server 2003-based server. DHCP must be installed
before you can import the file.
2. At the command prompt, type:
netsh DHCP server import <path of export file> all
This imports the configurations of all scopes that you exported from the server
running Windows NT 4.0 or Windows 2000.
For more information about the Netsh command-line tool, see “Netsh” in Help and
Support Center for Windows Server 2003.

Moving from Windows 2003 to another Windows 2003 Server requires only netsh
export/import.

This will take care of it for you.

Thanks,
Gary

--------------------
'--'From: "NTNEWS" <[email protected]>
'--'Subject: Migrating DHCP database from Windows 2000 Server to Win2003?
'--'Date: Tue, 6 Apr 2004 15:39:14 -0400
'--'Lines: 21
'--'X-Priority: 3
'--'X-MSMail-Priority: Normal
'--'X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
'--'X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
'--'Message-ID: <#[email protected]>
'--'Newsgroups:
microsoft.public.win2000.general,microsoft.public.win2000.networking,microsoft.public.win200
0.setup
'--'NNTP-Posting-Host: 67.33.12.43
'--'Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!
TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
'--'Xref: cpmsftngxa06.phx.gbl microsoft.public.win2000.networking:60252
microsoft.public.win2000.setup:26242 microsoft.public.win2000.general:130570
'--'X-Tomcat-NG: microsoft.public.win2000.networking
'--'
'--'I am trying to do this using both the DHCPEXIM.EXE utility on the Win2000
'--'side to export the database to a file and than importing it on the Windows
'--'2003 side using netsh or DHCPEXIM.EXE. I keep getting an error that Access
'--'is Denied. I am following Q article 325473 and it states I may get that
'--'error if my originla dhcp database was on a DC. Though it was not on a DC, I
'--'get the same error:
'--'
'--'"Error initializing and reading the service configuration - Access is
'--'Denied"
'--'
'--'I followed the resolve by adding the destination Windows 2003 DHCP server
'--'object to the "DHCP Administrators" group in the Enterprise domain (as well
'--'as the child domain it sits in) and rebooted. No luck, ever after ample time
'--'for replication to happen.
'--'
'--'I have to do this for many DHCP database servers at my branch offices as we
'--'have to return the servers for end of lease.
'--'
'--'
'--'
'--'
'--'


This posting is provided "AS IS" with no warranties, and confers no rights. Use of included
script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best
directed to the newsgroup/thread from which they originated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top