FIX: Windows Firewall Error 0x8007042c

When starting Windows Firewall and you get the Error 0x8007042c – “The dependency service or group failed to start” associated with the firewall not being able to start, it is likely due to mainly these two reasons: Windows Firewall or it’s dependencies needed for the firewall service itself to start are not running or there’s a present malware preventing the firewall from starting.

Also, in a few cases, having a 3rd party firewall software can disable Windows Firewall and uninstalling it should fix the problem instantly.

This article will provide a few fixes, which include scanning for and removing malware and starting the Windows Firewall and it’s dependencies. This error applies to Windows Vista through to Windows 10.

Method 1: Starting Windows Firewall Service and its Dependencies

You can start the Windows Firewall services and make sure that they start automatically in the future. Follow these steps to do this:

  1. Press the Windows Key, type services. Right-click on the Services app and then select Run as Administrator. Accept the prompt or enter your credentials when asked. You can also open Services by typing cmd in the start menu, opening as an administrator, typing services.msc and then hitting enter.
  2. In the Services window, scroll until you see Windows Firewall and then double-click on it.
  3. Under the Startup Type option, select Automatic.
  4. If the Service status is Stopped, click Start.
  5. Click Apply and then OK.
  6. In the same Window, search for Base Filtering Engine and then double click it.
  7. Under the Startup Type option, select Automatic.
  8. If the Service status is Stopped, click Start.
  9. Click Apply and then OK.
  10. Restart Windows and then confirm whether Windows Firewall is enabled.

Method 2: Starting Associated Services

It could be possible that services associated with Windows Firewall are not ready. You can run the following commands in an elevated command prompt or using the steps described below.

  1. Press Windows Key + R and then type notepad.

Copy the following commands and paste them in the Notepad window.

sc 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

  1. In the Notepad window, go to File > Save As and then select All Files under the “Save as type” field, select Desktop on the side pane, type repair.bat in the File Name box and then click on Save and close the Notepad window.
  2. Head over to your desktop, right click on the repair.bat file you created in Notepad and select Run as Administrator. Accept any prompts which come up your screen. If you are prompted in the command prompt window to stop a service, type Y and then Enter.
  3. Reboot Windows and try to enable the Firewall now.

You can also try running this script I made for an extensive repair. Right-click on the file and Run as Administrator. Follow the prompts in the command prompt window to get your firewall fixed.

Method 3: Scanning for Malware

The presence of malware can prevent your Windows Firewall from starting as it can block the malware communicating with the home server. Use your existing malware software to scan and remove the malware or follow these steps to install and use an anti malware software,

  1. Download Malwarebytes Anti-Malware by clicking this link.
  2. After downloading it, install it from the download directory.
  3. Go to Scan Tab > Custom Scan. Check all the boxes in the left pane and select your drives on the right pane.
  4. Click on Scan and then Quarantine All after the scan finishes.

Method 4: Scanning and Repairing System Files

The files related with the services can be damaged or deleted by a virus. Using the SFC utility can help fix this problem.

  1. Press the Windows button, type cmd, right-click on it and select Run as Administrator and then press Enter. Accept any prompt when it comes up the screen.
  2. Type sfc /scannow and press Enter. The utility will scan for and fix all missing or damaged system files.
  3. Restart when the process is completed and try to enable Windows Firewall.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.
Back to top button

Expert Tip

FIX: Windows Firewall Error 0x8007042c

If the issue is with your Computer or a Laptop you should try using Restoro which can scan the repositories and replace corrupt and missing files. This works in most cases, where the issue is originated due to a system corruption. You can download Restoro by clicking the Download button below.

Download Now

I'm not interested