Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, May 26, 2017 9:18 PM
Hi All,
We have 2003 Domain Controller (abc.con.com) and a 2008 Member server (xyz.con.com) in same LAN. Currently DHCP is running on 2003 DC. I'm a member of Domain Admin, Enterprise Admin & DHCP Administrators. With my credentials I Installed DHCP server on 2008 server and at the end I got an error :- Installation succeeded with error - "Attempt to configure DHCP server failed with error code 0x80070005. Access is Denied".
I uninstalled & re-installed DHCP with same error. still, I went ahead and restarted the server and when opened the DHCP console there was some weird name on DHCP with a negative red mark. I deleted it and added localhost and right click and imported the data of DHCP from 2003 DC . It created the scope but no reservations and lease data was there. So I closed the dhcpmgmt console and re-opened it then it again went to red-negative mark with some weird name. I re-added localhost and tried to restart DHCP server and now DHCP server service wont start. Error while starting DHCP server service is : "The DHCP Server service terminated with the following error:
The system cannot find the file specified." Event id 7023. Please advise as if I'm missing something.
All replies (4)
Monday, May 29, 2017 9:22 AM ✅Answered
Hi,
There are some suggestions to you
1Please perform the following steps to uninstall DHCP:
(1) Uninstall the DHCP role.
(2) Rebooted the server
(3) Deleted all the files and folders from the C:\Windows\System32\DHCP folder
(4) Installed the DHCP role
Check your DHCP Server after uninstall.
2>>"Attempt to configure DHCP server failed with error code 0x80070005. Access is Denied".
If reinstall DHCP doesn’t work , please try to configure below. Right click on IPv4 and then select Properties. Click on the Advanced tab and then click on Credentials. Check user name whether it is a member of DHCPAdministrators. Inside of server manager, right click on the DHCP server and click Authorize. Restart the server one last time.
3>>I went ahead and restarted the server and when opened the DHCP console there was some weird name on DHCP with a negative red mark.
Please provide a screenshot of error message.
At the same time, you can also check the authorized DHCP nodes whether contains error entries in ADSIEDIT in DC.
(ADSI Edit (Adsiedit.msc) is an MMC snap-in. You can add the snap-in to any .msc file through the Add/Remove Snap-in menu option in MMC, or just open the Adsiedit.msc file from Windows Explorer. The following figure illustrates the ADSI Edit interface. In the console tree on the left, you can see the major partitions Domain, Configuration, and Schema. The figure shows the Builtin container of the Contoso.com domain selected. In the details pane on the right, you can see the Builtin groups of Active Directory.)
4>>I deleted it and added localhost and right click and imported the data of DHCP from 2003 DC
Please perform the following steps to make a migration from 2003 to 2008:
(1): Dump the configuration file use command “netsh dhcp server dump >filename.txt ”
(2): cope the file to 2008 server and store in disk C root directory.
(3): replace 2003‘s DHCP name with 2008’s DHCP name in the file.
(4): import the file to 2008 DHCP use commend “netsh exec C :\filename.txt”
(5): restart 2008 DHCP server.
If there is any other concern, please don’t hesitate to let me know.
Best Regards,
Frank
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Tuesday, May 30, 2017 3:02 PM
Thanks so much Frank,
I've the next outage on coming Sunday . Ill try and let you know. Thank you.
Monday, June 5, 2017 7:59 AM
Hi,
Just checking in to see if the information provided was helpful. Please let us know if you would like further assistance.
Best Regards,
Frank song
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
If you have feedback for TechNet Subscriber Support, contact [email protected].
Monday, June 5, 2017 3:47 PM
Hi Frank,
I just want to thank you for your help. I was successfully able to migrate the DHCP. When I installed DHCP I still received same error 0x80070005 even after deleting DHCP folder and also when I open DHCP mmc I received some weird name on DHCP with negative mark. I deleted it from mmc snap in and added name with "localhost" and then I recovered the database with DHCP via command prompt (netsh dhcp) and it worked and my DHCP is now renewing the lease for machines. Also configured credentials windows with a id which is a part of Domain users & DHCP Admins. For some reason I cannot open DHCP snapin on 2008 server but it works perfectly when i open same snapin from other DHCP servers. Anyways my DHCP is now renewing the lease and its working fine :). Thank you so much.