DHCP Service Cannot Start (Error 5)

Zanz

New Member
I've searched through here a bit and it seems like others have had this problem, hoping I can find a solution.

Recently bought a new machine after my old computer's motherboard died. HP desktop running Vista Home Premium, 3GB ram, 3 ghz processor. Networking was working fine at home, and I was actually enjoying the whole experience more than I expected coming into Vista. Yesterday I took the computer to a LAN party, and as soon as I got there the problems began.

On startup at the LAN party, I noticed that the network connection icon had the red x, and said network status unknown. After about an hour of searching around, I found that the issue stemmed from the DHCP Service's inability to start properly. (Also, ironically, the system event viewer service is unable to start as well, which restricts me from viewing the error log, as far as I can tell.)

Some system info I've seen requested before related to this problem:

Code:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.

C:\Users\Newman>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : COMP-2
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : NVIDIA nForce Networking Controller
   Physical Address. . . . . . . . . : 00-1F-C6-4C-15-23
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::d8eb:388b:25a4:6728%10(Preferred)
   Autoconfiguration IPv4 Address. . : 169.254.103.40(Preferred)
   Subnet Mask . . . . . . . . . . . : 0.0.0.0
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . : 192.168.1.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter Local Area Connection* 6:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : isatap.{687AE678-1483-4490-B512-B43F9E138
B11}
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 14:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 02-00-54-55-4E-01
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

C:\Users\Newman>net start dhcp
System error 5 has occurred.

Access is denied.


C:\Users\Newman>sc sdshow dhcp

D:(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;NO)(A;;CCDCLCSWRPWPDTLOCRSDRCWD
WO;;;BA)(A;;CCLCSWRPWPDTLOCRRC;;;SY)

I'm at my wit's end here... I've even gone so far as to attempt a system restore from many different restore points, they continuously encounter unexpected errors and do not work. Any help is appreciated.

~Zanz
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Shao,

Thank you for the post, but the link in that thread did not solve my problem...

When I attempt to start the DHCP Service (I've set it to manual now, otherwise the boot sequence of my computer takes forever as it tries in vain to start the service, and I've been restarting a lot), it takes a while and gives an error that the service did not respond in a "timely manner." Should I be still be logging on to the service as "Local Service" even though I've added "Network Service" with those permissions?
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
I do not know why, but DHCP seems not to have enough permissions in the registry?
Would you verify and post the permissions given to DHCP (including special permissions if any) in:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Configurations

And the permissions given to trustedinstaller in:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters
 

My Computer

Permissions in Registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp:
SYSTEM: Full Control, Read
LOCAL SERVICE: Read
NETWORK SERVICE: Full Control, Read
Administrators (Comp-2\Administrators): Full Control, Read
Users (Comp-2\Users): Read
(?) Account Unknown (S-1-5-32-556): Read
Dhcp: Read, Special Permissions

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Configurations:
SYSTEM: Full Control, Read
LOCAL SERVICE: Read
NETWORK SERVICE: Read
Administrators (Comp-2\Administrators): Full Control, Read
Users (Comp-2\Users): Read
(?) Account Unknown (S-1-5-32-556): Read
Dhcp: Full Control, Read

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters:
Trusted Installer: Full Control, Read
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Apologies, I believe I think I found what you're looking for:

Dhcp Special Permissions:

Query Value
Create Subkey
Enumerate Subkey
Notify
Read Control
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Well, everything lokks fine, just maybe a "user" having no read rights in DHCP and DHCP/cofigurations

In these 2 keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp\Configurations

Add the user: "Network configuration operators" with read rights only.
The name of the user is a translation of the french registry, so it may be different.
Mahe sure that in the last key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters
SYSTEM
ADMINISTRATORS
USERS
Have read rights only.
Rebooy and try to start the service.
These modifications cannot hurt the system!
If does not work, we'll try something else, i have to check one more thing on my side.

 

My Computer

The translation of Network Configuration Operators must be wrong, Windows is not allowing me to add a user with that name... Any ideas?

The permissions in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters are all read where you say they should be.
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
You have to find the right name ;)
In permissions, click on ADD then in the new window, click Advanced and new window click Find Now.
In the list find the user similar (almost) to "network configuration operator"
 

My Computer

Here's an image of my options after I follow your instructions: None of them seem to go very well with your translated one:
 

Attachments

  • thing2.png
    thing2.png
    8.9 KB · Views: 389

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Sorry, not important as this user is an "ultimate" one.

And for this, did you check?
Mahe sure that in the last key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DPS\Parameters
SYSTEM
ADMINISTRATORS
USERS
Have read rights only.
 

My Computer

I did check that, and they have only Read rights, that's correct.

I don't understand what you mean by "ultimate" one, should I be adding anything or did you say I don't need to add one?
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Oh, alright. By the way I apologize for any noobish aspects of my handling of this situation... I'm completely lost with Vista and slightly frustrated.
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Do not worry, this is a weird problem but we'll find a solution.
I assume that you are the only admin and that you did not modify passwords during the session as this problem occurs because of a lack of permissions.
Well, we will try to trick by giving full rights to the network service on the following keys.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip

Give full control permissions to Network Service
Close Regedit and reboot
Check if DHCP runs.
 

My Computer

Both of those already had full permissions... I reset them (unchecked then rechecked boxes) and rebooted, same issue remains.
 

My Computer

System One

  • CPU
    AMD 64 X2 Dual Core 6000+
    Memory
    3 GB
    Hard Drives
    360 GB SATA
Could be an AV software / Firewall problem especially if you cannot open the event viewer.
Did you try to disable UAC?
Have a look in the reliability and performance monitor console.
The reliability monitor should give you informations on all failures.
Have look too in the system/lan diagnostics.
 

My Computer

Back
Top