Computer >> Computer tutorials >  >> System >> windows

Fix error 0x8007042c for Windows Update or Firewall

If you’re encountering the error code 0x8007042c when trying to install certain Windows Updates or after a failed upgrade to Windows 11/10 from an older Windows version, then this post is intended to help you. This error can also occur when the Windows Firewall fails to start.

Fix error 0x8007042c for Windows Update or Firewall

Error code 0x8007042c indicates that Windows can no longer turn on the Firewall. The only way to detect this problem is by trying to start Windows Firewall. If it throws out the errorit means that your computer is no longer protected from untrusted networks.

Some users prefer to use other antivirus products rather than the security programs that come with the Windows operating system, and in the process automatically disable the firewall and Windows Defender. These users are the ones most likely to run into the above problem. Windows Firewall monitors the flow of data into and out of your computer. In Windows 10, most programs cannot install as long as the Windows Firewall is turned off. Windows updates will most definitely not install when the firewall is turned off.

If you receive error 0x8007042c when starting Windows Firewall or Windows Update on Windows 11/10, then a Service or Dependency may not be working. If you’re faced with this issue, you can try our recommended solutions presented below in the individual sections and in no particular order to resolve the issue.

Fix Windows Update error 0x8007042c

0x8007042C -2147023828 Error_Service_Dependency_Fail, The dependency service or group failed to start

The suggestions you could try are:

  • Run Windows Update Troubleshooter
  • Check the status of related Windows Update Services.

1] Run Windows Update Troubleshooter

This solution requires you to run the inbuilt Windows Update Troubleshooter and see if that helps to resolve the Windows Update error 0x8007042c issue.

2] Check the status of related Windows Update Services

Fix error 0x8007042c for Windows Update or Firewall

Open Services Manager and ensure the following states of related Services:

  • Windows Event Log  – Automatic | Running
  • Remote Procedure Call (RPC) – Automatic | Running
  • Windows Update – Automatic (Trigger Start)

More suggestions here: Windows Update fails to install or will not download.

Fix Windows Firewall error 0x8007042c

Windows Firewall can’t change some of your settings. Error code 0x8007042c

Fix error 0x8007042c for Windows Update or Firewall

The suggestions you could try are:

  • Turn on Windows Firewall & make sure Windows Firewall Service is running
  • Re-register firewallapi.dll
  • Disable/Uninstall 3rd party security software.

1] Turn on Windows Firewall & make sure Windows Firewall Service is running

This solution requires you turn on the Windows Defender Firewall and also ensure that the Windows Firewall service is running.

Also, you could try to stop and restart the following services using a batch file.

Here’s how:

Press Windows key + R to invoke the Run dialog.

In the Run dialog box, type notepad and hit Enter to open Notepad.

Copy and paste the syntax below into the text editor.

c config MpsSvc start= auto
sc config KeyIso start= auto
sc config BFE start= auto
sc config FwcAgent start= auto
net stop MpsSvc
net start MpsSvc
net stop KeyIso
net start KeyIso
net start Wlansvc
net start dot3svc
net start EapHostnet
net stop BFE
net start BFE
net start PolicyAgent
net start MpsSvc
net start IKEEXT
net start DcaSvcnet
net stop FwcAgent
net start FwcAgent

Save the file with a name and append the .bat file extension – eg; FIX_ERROR0x8007o42c.bat, and on the Save as type box select All Files.

Repeatedly run the batch file with admin privilege (right-click the saved file and select Run as Administrator from the context menu) until it reports no errors.

Try updating again and see if the issue is resolved. If not proceed with the next solution.

Read: Windows Firewall service does not start.

2]  Re-register firewallapi.dll

Re-register the firewallapi.dll and see if that helps. Execute the following in an elevated CMD:

regsvr32 firewallapi.dll

3] Disable/Uninstall 3rd party security software

Third-party AV suites are all known to cause this particular issue. In this case, to fix this issue, you’ll have to remove all third-party antivirus programs from your PC using the dedicated antivirus removal tool to remove all files associated with your antivirus program. The reason is, it’s much more efficient and invasive to use the custom uninstall tools for the AV program from the manufacturer, if available, whenever uninstalling antivirus software, as there are registries and dependencies, installed deep within the OS which the traditional Control Panel uninstaller (appwiz.cpl) might miss in most cases.

TIP: This post offers more suggestions to fix Windows Firewall can’t change some of your settings error message.

Let us know if anything here helped you.

Fix error 0x8007042c for Windows Update or Firewall