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.
- 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.
