You are currently offline, waiting for your internet to reconnect

“0x8007042c” error message when you try to start Windows Firewall

Symptoms
When you try to start Windows Firewall, you receive the following error if the Firewall service is disabled or if your computer is infected with malware:
0x8007042c
Resolution
To resolve this issue, scan for and remove malware by following the steps in Method 1.

Method 1: Scan for and remove malware

If you haven't scanned your computer for viruses or malware recently, we strongly recommend that you do this. You can use the Microsoft Safety Scanner to remove malware from your computer. To do this, follow these steps:
  1. Go to the following Microsoft website: Microsoft Safety Scanner
  2. Click Download Now. Follow the instructions to download and install the Microsoft Safety Scanner. When you are prompted, save the file to your desktop.
  3. When the installation is complete, go to your desktop and double-click the Microsoft Safety Scanner icon. It may be listed as msert.
  4. Click the Accept all terms of the preceding license agreement check box, and then click Next two times.

  5. Click Quick Scan, then click Next.

  6. The Microsoft Safety Scanner will scan your computer and remove all malware.
  7. Click Start, and then typeWindows Firewallin the Search programs and filesbox (Windows 7) or in the Start search box (Windows Vista).
  8. Click Windows Firewall.
  9. In the navigation pane (left pane) of Control Panel, click Turn Windows Firewall on or off.

  10. Click Turn on Windows Firewall for each network location, and then click OK.

If you still receive error 0x8007042c when you try to turn on Windows Firewall, go to Method 2

Method 2: Start Windows Firewall

You can start the Windows Firewall services and make sure that they start automatically in the future. To do this, follow these steps: 
  1. Click Start , and then type Services in the Search box.
  2. Right-click Services. and then click Run as administrator. If you are prompted, enter your administrator user name and password, and then press Enter.
  3. Scroll until you see Windows Firewall, and then double-click Windows Firewall.

  4. Click the Startup type box,and then click Automatic.

  5. If Service status is Stopped, click Start.
  6. Click Apply, and then click OK.
  7. Scroll until you see Base Filtering Engine, and then double-click Base Filtering Engine.
  8. If Service status is Stopped, click Start.

  9. Click Apply, and then click OK.
  10. Restart Windows and confirm whether Windows Firewall is enabled.
If you still receive error 0x8007042c when you try to turn on Windows Firewall, go to Method 4

Method 3: Start associate services

To stop and then restart these services by using a batch file, follow these steps:
  1. Click Start, type Notepad in the Search box and then click Notepad in the programs list.
  2. Select the following text, right click the selected text, and then click Copy. Right-click anywhere in the Notepad window, and then click Paste.
    sc config MpsSvc start= autosc config KeyIso start= autosc config BFE start= autosc config FwcAgent start= autonet stop MpsSvc net start MpsSvc net stop KeyIso net start KeyIsonet start Wlansvcnet start dot3svcnet start EapHostnet net stop BFE net start BFEnet start PolicyAgentnet start MpsSvcnet start IKEEXTnet start DcaSvcnet net stop FwcAgent net start FwcAgent
  3. In Notepad, Click File, click Save As, and then type Repair.bat in the File name box
  4. Click the Save as type box, and then click All Files (*.*).
  5. In the left pane, click Desktop, and then click Save.
  6. On the File menu, click Exit.
  7. On your desktop, right-click the Repair.bat file that you saved in step 5, and then click Run as administrator.

    Important If you are prompted for confirmation to stop a service, press Y on the keyboard, and then press Enter.
  8. Try to start Windows Firewall again. If you can start Windows Firewall, delete the Repair.bat file. To do this, right-click Repair.bat, click Delete, and then click Yes.
If you still receive error 0x8007042c when you try to start Windows Firewall, you may want to contact Microsoft Consumer Security Support Center. To do this, go to https://consumersecuritysupport.microsoft.com.
More information
For more information about Windows Firewall, go to Windows Firewall.

Microsoft offers Microsoft Security Essentials, a free security program that will help protect your computer from malware. For more information about Microsoft Security Essentials, go to Consumer Security Support Center.
Properties

Article ID: 2530126 - Last Review: 08/05/2016 07:22:00 - Revision: 16.0

Windows 7 Enterprise, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Ultimate, Windows 7 Home Basic

  • kbsurveynew kbprb kbexpertisebeginner kbsmbportal kbcip KB2530126
Feedback
&t=">