DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 2530126 - Last Review: July 12, 2013 - Revision: 15.1

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
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 (http://www.microsoft.com/security/scanner/en-us/default.aspx)
  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
  5. Click Quick Scan, then click Next.

    Collapse this imageExpand this image
  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
  10. Click Turn on Windows Firewall for each network location, and then click OK.

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

Method 2: Troubleshoot Windows Firewall problems automatically

Collapse this imageExpand this image
To fix this problem automatically, click the Fix-It image below. If a security notification appears, click Run.
Collapse this imageExpand this image
Fix this problem (http://go.microsoft.com/?linkid=9810866)
Microsoft Fix it 2530126
Collapse this imageExpand this image

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

Method 3: Start Windows Firewall manually

Collapse this imageExpand this image
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
  4. Click the Startup type box,and then click Automatic.

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

Method 4: Start associate services

Collapse this imageExpand this image
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
  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 (https://consumersecuritysupport.microsoft.com/default.aspx?mkt=en-us&st=1&wfxredirect=1) .
Collapse this imageExpand this image

More information

For more information about Windows Firewall, go to Windows Firewall (http://windows.microsoft.com/en-US/windows7/products/features/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 (http://windows.microsoft.com/en-us/windows/security-essentials-download) .

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
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support