Jan22

Written by:David Aldridge
1/22/2010 5:46 PM 

I tried to move DHCP services from Windows 2003 to Windows 2008 by doing a backup on Windows 2003 and a restore on Windows 2008.

This, however, does not work and seems to break the DHCP server install on Windows 2008.  Uninstalling the DHCP server role and reinstalling it does not seem to work and I had errors like "The syste, cannot find the file specified" when I tried to look at the bindings.

To recover from this I did the following:

1.  Uninstall the DHCP Server role.
2.  REBOOT.
3.  Delete the contents of the C:\Windows\System32\DHCP directory.
4.  Reinstall the DHCP Server role.

This put the DHCP server back in working order.  I then proceeded to do it the correct way:

On the Windows 2003 DHCP server, open up a command prompt and type:

netsh DHCP server a.b.c.d export C:\2k3DHCPDB all

Where a.b.c.d is the IP address of the Windows 2003 DHCP server.

Now copy the 2k3DHCPDB file to the Windows 2008 DHCP Server and stop the Windows 2003 DHCP server.

On the Windows 2008 DHCP server, do the following:

1.  Install the DHCP Server role.
2.  Stop the DHCP Server service.
3.  Delete the file C:\Windows\System32\DHCP.mdb
4.  Start the DHCP Server service.
5.  Run a command prompt as Administrator.
6.  Type "netsh DHCP server e.f.g.h import C:\2k3DHCPDB"
7.  Stop the DHCP Server service.
8.  Start the DHCP Server service.

Where e.f.g.h is the IP address of the Windows 2008 DHCP server.  Now I had a functional DHCP server in 2008...

Tags:

1 comment(s) so far...

Re: Event ID 7023 after trying to transfer DHCP services from Windows 2003 to Windows 2008

exactly what I was looking for, thanks

By RtVD on  3/29/2011 12:24 PM

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment  Cancel 
You must be logged in and have permission to create or edit a blog.