Hey guys…
I’m trying to help a guy at work with his home computer…DHCP Service isn’t started, and won’t start.
Even when I run the Services page as administrator, when I go to start DHCP it gives an “Access Denied” message.
I’ve googled, and found several people having this problem, but no fixes.
This is the closest thing I found:
The one time where I noticed how useful Fast Switching is, I was trying to figure out why a certain security policy was causing various services in Vista to fail to start. Services like Windows Time and the DHCP Client simply wouldn’t start, saying “Access is Denied”. The upshot of this was the machine wasn’t seeing the network or anything, so accessing the machine’s logs, file system and registry wasn’t possible remotely. However, as with many who are roadtesting Vista, I keep my machine in a strictly embargo-ed, isolated OU in the Active Directory, so security by default wouldn’t let me access it. Fortunately, before the services failed, I had enabled the local administrator account. So, what I did was Switch away from the account and log in as the administrator account.
By the way, as an aside, if you have a machine called BLAHBLAH, the login you’d usually use for a local account is “BLAHBLAH\administrator” (as the domain is the default context for logging in). A much faster way of logging into local accounts is to use .\ as in “.\administrator”.
Anyway, as administrator, I could change various settings I obviously couldn’t do as the other, non-administrator account. The error, “Access is Denied” made me wonder if this was a ACL permission issue. I first tried to start the DHCP Client service as administrator and it failed. I followed a hunch and went to the Services registry key (HKLM\System\CurrentControlSet\Services) and found the DHCP Client key. I figured, it was trying to start this service as Local Service. Therefore, maybe there was a permissions issue with Local Service and this key. It turned out to be correct - adding Local Service to the DHCP Client registry key with Full Permissions allowed me to switch back to the other account and the service started correctly (I should point out, this was tried very late on today, so as yet, haven’t got an adequate explanation as to why Vista’s playing up like this…).
(Here is the full article, but that was the only relevant part.)
Problem is, I’m not experienced enough actually EDITING a registry to know exactly how to do that. I’ve found the DHCP key, and there’s all kinds of stuff in there, but I don’t know how to upgrade the Local Service account to Full Permission in there.
Ideas? Help? Another solution would be welcome, too, if someone knew of some other way to fix this, but it sounds dead-on like what I’m seeing, so I think I’m close…