Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows could not start the DHCP Server service on Local Computer

Posted on 2015-01-30
5
Medium Priority
?
1,457 Views
Last Modified: 2015-06-24
Hi all,
While trying to delete some scopes from my DHCP server (Windows Server 2012 R2), my dhcp server service suddenly stopped.
Tried to restart the service and received error:
Windows could not start the DHCP Server service on Local Computer.
 Error 4312: The object identifier does not represent a valid object.

Tried to reboot the server and the issue is still persists. How to resolve this??
0
Comment
Question by:SuzenJ
[X]
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
  • 2
  • 2
5 Comments
 
LVL 9

Expert Comment

by:Christopher Jay Wolff
ID: 40579601
It sounds like you deleted an object.  Are you familiar with DHCP backup and restore?  You should have the benefit of automated backups.  This article from TechNet describes it in a pretty succinct way for 2008, anyone know if this works for 2012?

https://technet.microsoft.com/en-us/magazine/ff621490.aspx

Maybe you were using powershell to clean up your scopes, but if not, here is a description of using powershell and shows a "whatif" switch that should allow you to see what will happen before you actually delete a scope.  Hope this helps.

https://technet.microsoft.com/en-us/library/jj590677.aspx
0
 
LVL 9

Expert Comment

by:Christopher Jay Wolff
ID: 40579647
Hi again.

Have to go, but wanted to share this excerpt below from Microsoft Server 2012 Pocket Consultant.  (650 pages in your pocket?  Really?)

Although you can enable and configure logging separately for IPv4 and IPv6, the two protocols use the same log files by default. The default location for DHCP logs is %SystemRoot%\System32\DHCP. In this directory, you’ll find a different log file for each day of the week. The log file for Monday is named DhcpSrvLog-Mon.log, the log file for Tuesday is named DhcpSrvLog-Tue.log, and so on.

Also lots of stuff on DHCP that may be useful for you until someone comes along here.  I haven't yet found out if the backups overwrite or create additional backups, since overwriting would wipe out your good backup with your current failing situation.  Also, the missing object the service needs, may not be in the backup related to DHCP service.
0
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 40579971
i would try removing everything in dhcp (outside business hours) and creating again
if that doesn't work, i would remove that and the dhcp role; add dhcp role again and create scopes
0
 

Accepted Solution

by:
SuzenJ earned 0 total points
ID: 40583436
Hi guys,
Thanks for the suggestions and assistance on this matter.
I've fixed the issue by deleting all the files inside the DHCP folder and able to start the service after that.
Tried to restore from the backup earlier, but the the backup files was corrupted too.
To recover the scopes, I exported the scopes from server 2 and imported them to the server 1.
Still feeling weird, how could a deleted scope led to corruption of DHCP server service.
I've delete hundred of scopes in server 2008 but never encountered this issue.
0
 

Author Closing Comment

by:SuzenJ
ID: 40593226
I've tested the solution and it was proven working.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.

636 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