Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Network & Sharing

Vista - DHCP Service Cannot Start (Error 5)

Reply
 
Old 06-19-2008   #1 (permalink)


Vista Home Premium 32bit
 
 

DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #2 (permalink)


Mojave Ultimate x64
 
 

Re: DHCP Service Cannot Start (Error 5)

There is a link in here that might be of assistance: Cannot start Dhcp client
My System SpecsSystem Spec
Old 06-19-2008   #3 (permalink)


Vista Home Premium 32bit
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #4 (permalink)


Ultimate SP1 x64 & x86
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #5 (permalink)


Vista Home Premium 32bit
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #6 (permalink)


Ultimate SP1 x64 & x86
 
 

Re: DHCP Service Cannot Start (Error 5)

Quote  Quote: Originally Posted by Zanz View Post
Permissions in Registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp:

Dhcp: Read, Special Permissions
What are the special permissions?
My System SpecsSystem Spec
Old 06-19-2008   #7 (permalink)


Vista Home Premium 32bit
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #8 (permalink)


Ultimate SP1 x64 & x86
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #9 (permalink)


Vista Home Premium 32bit
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Old 06-19-2008   #10 (permalink)


Ultimate SP1 x64 & x86
 
 

Re: DHCP Service Cannot Start (Error 5)

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 System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
DHCP Client Service Won't Start - Error 1068 Network & Sharing
DHCP client service does not start Vista networking & sharing
The Windows Firewall service terminated with service-specific error 13 (0xD). (cannot start firewall) Vista security
DHCP Client service does not start because of dependency failure Vista networking & sharing
DHCP Service Fails to Start with "Access Denied" Error Vista networking & sharing


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46