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


Return to Windows Vista

Who is online

Users browsing this forum: No registered users and 0 guests

cron