Article ID: 2530126 - View products that this article applies to.
Expand all | Collapse all

On This Page

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. If that doesn't work, try Method 2 to troubleshoot Windows Firewall problems.

Method 1: Scan for and remove malware

Collapse this imageExpand this image
assets folding start collapsed
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.

    Collapse this imageExpand this image
    2687675
  5. Click Quick Scan, then click Next.

    Collapse this imageExpand this image
    2687676
  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.

    Collapse this imageExpand this image
    2728548
  10. Click Turn on Windows Firewall for each network location, and then click OK.

    Collapse this imageExpand this image
    2728549
If you still receive error 0x8007042c when you try to turn on Windows Firewall, go to Method 2
Collapse this imageExpand this image
assets folding end collapsed

Method 2: Troubleshoot Windows Firewall problems automatically

Collapse this imageExpand this image
assets folding start collapsed
To fix this problem automatically, click the Fix-It image below. If a security notification appears, click Run.
Collapse this imageExpand this image
assets fixit1
Fix this problem
Microsoft Fix it 2530126
Collapse this imageExpand this image
assets fixit2

If you still receive error 0x8007042c when you try to turn on Windows Firewall, go to Method 3
Collapse this imageExpand this image
assets folding end collapsed

Method 3: Start Windows Firewall manually

Collapse this imageExpand this image
assets folding start collapsed
You can start the Windows Firewall services manually 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.

    Collapse this imageExpand this image
    2728550
  4. Click the Startup type box,and then click Automatic.

    Collapse this imageExpand this image
    2687680
  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.

    Collapse this imageExpand this image
    2687681
  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
Collapse this imageExpand this image
assets folding end collapsed

Method 4: Start associate services

Collapse this imageExpand this image
assets folding start collapsed
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= 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
  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.
    Collapse this imageExpand this image
    2728555
  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.
Collapse this imageExpand this image
assets folding end collapsed

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: July 12, 2013 - Revision: 15.1
Applies to
  • Windows 7 Enterprise
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Ultimate
  • Windows 7 Home Basic
Keywords: 
kbsurveynew kbprb kbexpertisebeginner kbsmbportal kbcip KB2530126

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com