Vista DHCP, Base Filtering service access denied

I can't remember if I'm the good twin or the evil one?

Vista DHCP, Base Filtering service access denied

Postby Mike » Wed Feb 24, 2010 2:27 pm

Had multiple errors with this one, starting out with this one:
Windows could not start the DHCP Client service on Local Computer.

Error 1079: The account specified for this service is different from the account specified for other services running in the same process.


To fix this error, open the Properties for the service and go to the Log On tab. Set it to use This Account: Local Service -or- Network Service and clear the password boxes. Most of the time Local Service will work, but I found a few that required Network Service.

Now we're getting the Error 5: Access Denied message when starting these services, or they don't start because of a dependency.

Base Filtering Engine (BFE)
IPSec Policy Agent
Windows Time
IKE and AuthIP IPSec Keying Modules
DHCP Client
Diagnostic Policy
Network List Service
Network Location Awareness

This is a permissions problem in the registry. You can use SubInACL to fix this. :) Download SubInACL here -> http://www.microsoft.com/downloads/details.aspx?FamilyId=E8BA3E56-D8FE-4A91-93CF-ED6985E3927B&displaylang=en, and install it. Then copy this code and save it in a batch file named reset.cmd

Code: Select all
cd /d "%programfiles%\Windows Resource Kits\Tools"

subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators
subinacl /keyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators

subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators >> %temp%\subinacl_output.txt
subinacl /keyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f /grant=users=r /setowner=administrators


subinacl /subdirectories %programfiles%\ /grant=administrators=f /grant=system=f /grant=users=e

subinacl /subdirectories %windir%\ /grant=administrators=f /grant=system=f /grant=users=e

subinacl /subkeyreg HKEY_LOCAL_MACHINE\system\currentcontrolset "/grant=nt service\trustedinstaller=f" "/grant=nt service\bfe=f" "/grant=local service=f" "/grant=network service=f" "/grant=nt service\dhcp=f" /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators >> %temp%\subinacl_output.txt

subinacl /keyreg HKEY_LOCAL_MACHINE\system\currentcontrolset "/grant=nt service\trustedinstaller=f" "/grant=nt service\bfe=f" "/grant=local service=f" "/grant=network service=f" "/grant=nt service\dhcp=f" /grant=administrators=f /grant=system=f /grant=users=r /grant=everyone=r /grant=restricted=r /setowner=administrators >> %temp%\subinacl_output.txt


Start CMD using the right-click -> Run As Administrator. Change to the directory where you saved reset.cmd, then run reset.cmd. The services should run now. :ugeek:
User avatar
Mike
 
Posts: 24
Joined: Sun Jul 05, 2009 4:51 pm
Location: Belpre, OH

Re: Vista DHCP, Base Filtering service access denied

Postby reward01 » Mon May 02, 2011 8:25 am

I know this is an old post, but I had to say thanks, though! My Server 2008 R2 was getting these errors for days now. Tried everything I could, including going through hundreds of post, registry tweaks, several reboots, etc.. The download & .cmd file fixed all of my problems! I will keep this in my toolbox for future use.

Thanks again for your time to put together the fix (you are OK in my book)!!!
reward01
 
Posts: 1
Joined: Mon May 02, 2011 8:16 am

Re: Vista DHCP, Base Filtering service access denied

Postby rkdarwin13 » Wed Feb 15, 2012 10:40 am

As the previous poster said.. I know this is an old post but: Sweet buttery Jesus if this didn't save my ass. I can confirm this also works in win7 64bit sp1.

I was installing some software I had to cancel and it completely borked my laptop. All the symptoms described here, ran the fix as described and was back in business. Also, it's work nothing that DNS wouldn't resolve, if this is the case for you, also check to see that your host name wasn't wiped out. That happened to me, had to rename the PC, remove and rejoin my domain and then DNS worked again.

Mike - you are my hero... I will immediately set about sacrificing a bull or some goats or something in your honor. Peace.
rkdarwin13
 
Posts: 1
Joined: Wed Feb 15, 2012 10:34 am

Re: Vista DHCP, Base Filtering service access denied

Postby loki5108 » Sun May 13, 2012 9:00 pm

I created an account just to offer my deepest heartfelt thanks for your fix.
I was literally ripping out chunks of hair trying to fix my Base filter engine problem as a result of injected code (which norton didnot stop in time) ,had tried a number of so called fixes but still had a denial hanging over the registry entry & could not see another option other than a (gasp) re-install :o .
Did everything you said but the results came up as invalid, then the penny dropped... I had saved the CMD file in Wordpad instead of Notepad and YaHoo IT WORKED. :D

THANK YOU VERY MUCH FROM DOWN UNDER AUSTRALIA
loki5108
 
Posts: 1
Joined: Sun May 13, 2012 8:40 pm


Return to Windows Vista

Who is online

Users browsing this forum: No registered users and 0 guests

cron