Under the miniscule prism

Windows Firewall: Error 0x8007042c

I have had numerous feedback for concerns regarding this particular issue and error for Windows Firewall. I have thus decided to update this post. Let me also take time to inform you that this is applicable for Windows Vista/7/8 and not for Windows XP. If you are still on XP, it would be best to consider moving on to the latest Operating System that Microsoft has to offer. The logic and reason why move from XP is a different conversation altogether.



  • Understanding the Error

Error code 0x8007042c is an error for "The dependency service or group failed to start".
This will indicate that there may not be a problem with the Windows Firewall Service (MpsSvc) but instead with other Services that it needs so that it can start itself.

So here are the necessary Services that Windows Firewall needs on Windows Vista/7/8:
1. Base Filtering Engine (BFE)
2. Windows Firewall Authorization Driver (MPSDRV)

The two services/drivers should be started or running. BFE can be easily seen through the Services Console. But MPSDRV is not visually available in the same console window and instead available only by querying the service in a Command Prompt window.


  • Malware Infection

The first Factor to consider should be Malware infection. There’s a myriad of Malware strains that may stop or corrupt the entries and executable files of Windows Firewall along with other services and drivers it depends on.

If your system has a Malware infection, the state of your currently installed Anti-Malware program would have also been compromised. Thus, I suggest to first run an online scan through your browser.

Suggested online scanners:
Microsoft Online Safety Scanner
ESET Online Scan
Kaspersky Free Virus Scan

If your are unable to get your system or any browser on the internet, then you can download the on-demand scanners that may detect and remove any infection. Save the files in a USB drive then run the file on the infected system. Be careful not to use the USB drive in any other system until you are sure that there is no infection.

1. Microsoft Safety Scanner: 32-Bit and 64-Bit
2. Kaspersky Security Scan
3. ESET Stand-Alone Malware Removal Tool: 32-Bit and 64-Bit
4. Malwarebytes (Do not use the Paid version which may conflict with any existing Anti-Malware program)


  • System Repair and Driver Restart

Repairing services and drivers can be done via the command line of SFC /SCANNOW on an Elevated Command Prompt.

If the command did not fix the issue then reinstalling the drivers might be the best way to do it. Although, to accomplish this will not be an easy feat since both the Base Filtering Engine and Windows Firewall Authorization Driver could not be reinstalled on Windows 7 and 8 unless we repair install the Operating System.

Try running the following commands if SFC /SCANNOW did not resolve the issue with the Windows Firewall:

1. Open a Command Prompt as Administrator. To do this, type CMD in Start Search from the Start Menu. Right click on the result and choose "Run as Administrator".

2. Run now the following command lines:

netsh advfirewall reset
net start mpsdrv
net start bfe 
net start mpssvc 
regsvr32 firewallapi.dll

3. Confirm any boxes that comes up by clicking OK. The result on the last entry must say that it succeeded.

Capture RegSvr32 FirewallAPI
Note: If you receive any errors on any of the command lines, then there is definitely something wrong with any of the drivers and service. This may indicate a Registry error or a Corrupted file.

4. Reboot the system. Do not enable Windows Firewall without restarting first.


  • Windows Firewall Fix – Script File

As an alternative, I have created a batch file for a more robust and comprehensive repair. Extract the file from its zipped container. Once extracted, right-click on the file and choose to “Run as Administrator”.

Download the FWFix from here: FWFix v1.2

Take note that the script is to be used specifically for this error purpose only. I offer no other warranties implicit or explicit for any damages on your system for use or misuse of the script.

12 responses

  1. joe

    Dude thanks a bunch.

    November 1, 2011 at 10:13 AM

    • I’m glad that it was of help.

      November 1, 2011 at 10:20 AM

      • terry

        could you help me,im having trouble with my windows7 system.i cannot not connected to my internet and i cant turn on my firewall.when i try it says error code 0x8007042C.if you could help i would really appreicate it….

        January 24, 2012 at 4:25 AM

  2. Jakob

    It could not use wshelper.dll

    So i had no luck!

    J

    November 6, 2011 at 9:59 PM

  3. Brian

    my base filtering engine and ipsec services will not turn on. I have done various virus and system scans but the file does not even exist. When try to net start bfe, it say bad name… Where I can find this file to add onto may computer. i think the virus deleted the file.

    December 21, 2011 at 11:47 AM

  4. vinod

    dude your formula not work my computer….
    and your all cmd commands are not work

    April 17, 2012 at 2:23 PM

  5. Roach

    I was getting an error 0x6d9 after patching to fix I now am getting 0x8007042c. a restore isn’t possible due to the time elapse. I’ve tried the solutions posted and I am told “wshelper.DLL cannot be loaded” on the first line of input.

    I need help..I have tried multiple fixes without success and now months have gone by without a firewall.

    June 4, 2012 at 11:32 PM

  6. Phil

    Note: If you receive any errors on any of the command lines, then there is definitely something wrong with any of the drivers and service. This may indicate a Registry error or a Corrupted file.

    How would i fix this?

    September 29, 2012 at 10:37 PM

  7. Live

    I’ve tried everything nothing helped.

    December 15, 2012 at 3:53 AM

    • Depending on what has been done or steps you have taken you may want to go ahead and post this to the Microsoft Community Forums http://answers.microsoft.com/en-us/windows.
      Once there, choose your Operating System and post your topic. I’ll gladly monitor any feedback on the issue if you can reply back the link for your post.

      Thanks ~ Jay

      December 15, 2012 at 4:46 AM

  8. Randy

    I had this same problem, after running the FWFix batch file, I still had errors. I searched further and I found this link:

    http://blogs.technet.com/b/asiasupp/archive/2011/12/27/error-code-0×80070424-with-windows-firewall-and-quot-base-filtering-engine-service-quot-not-available-in-services-database-list.aspx

    I was able to import both .reg files and that fixed the issue with the Base Filtering Engine not loading. Once that was fixed, I was able to start the Windows Firewall Service

    I was working on Win 2K8 R2 not Win7

    January 1, 2014 at 12:14 PM

    • Thanks for the feedback. I see if there’s a CLI that needs updating.

      January 3, 2014 at 4:43 AM

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 898 other followers