Error Code 0x8007042c: Use These 3 Simple Methods to Fix it

Get Windows updates working again

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Key notes

  • For many users, corrupted files and interference with their antivirus will trigger the 0x8007042c error.
  • This error will make it impossible to perform your routine Windows updates. 

Error Code 0x8007042c is a common problem many computer users face while updating their Windows operating system or installing software.

An error message appears on the screen, indicating that the process cannot be completed due to a problem with the computer. But do not worry. Several simple methods can help you resolve this issue.

What does 0x8007042C mean?

Error Code 0x8007042C is a Windows Update error that appears when updating the operating system or installing software. This error shows a computer problem preventing the process from completing.

Possible causes of Error Code 0x8007042C include:

  • Corrupted system files Corrupted or damaged system files can cause the update process to fail and trigger Error Code 0x8007042C.
  • Firewall interference – Firewall settings or third-party security software can block the update process, causing the error code to appear.
  • Antivirus interference – Antivirus software can also interfere with the update process and trigger Error Code 0x8007042C.
  • Insufficient disk space Lack of sufficient disk space on the computer can cause the update process to fail and result in the error code.
  • Network connectivity issues Network connectivity problems such as slow or unstable internet connection can also result in Error Code 0x8007042C.

The solutions we explore below will help you resolve the error.

How can I fix error code 0x8007042c?

Before going into the solutions below, we recommend you change your internet connection since a bad network may cause the problem.

1. Turn Windows Firewall on manually

  1. Press Windows + R, type services.msc, and hit Enter.
    0x8007042c
  2. Scroll down to Windows Defender Firewall.
  3. Right-click on this service and select Start if it is not running.
    0x8007042c
  4. Double-click on the Windows Defender Firewall service and set the Startup type to Automatic.
  5. Now repeat steps 2 and 3 for the Base Filtering Engine service.

2. Scan and remove malware from the PC

  1. Download Microsoft Safety Scanner from the official Microsoft website,
  2. If prompted, save the file to your desktop; open the setup file and follow the on-screen instructions to install Windows Safety Scanner,
  3. Once installation is complete, open Windows Safety Scanner (it could be listed as msert),
  4. You will be asked to accept specific terms regarding the license agreement; do it, and then hit the Next button.
  5. Select Quick Scan, then hit Next.
  6. Microsoft Safety Scanner will now scan your computer for any lingering malware.
  7. Once the process is complete, please close the Window, press the Start key, and type Windows in the search box; click on Windows Firewall.
    0x8007042c
  8. On the navigation panel on the left, select Turn Windows Firewall on or off.
    0x8007042c
  9. Select Turn on Windows Firewall for each available network location.
  10. Click OK to complete the process.

If the 0x8007042c error persists, move on to the next step.

3. Start associative services

If both steps 1 & 2 failed to resolve the issue, you could try to stop and restart these services using a batch file. It isn’t as complicated as it sounds. Follow these steps:

  1. Press the Start key, and in the search box, type Notepad, then open the Notepad application.
  2. Now copy and paste the script below on Notepad.
    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. Click File and select Save As.
  4. Set the destination as your Desktop, then name the file Repair.bat, and select All Files on the Save as type box (*.*). Next, click Save, then close Notepad.
  5. On your desktop, find the Repair.bat file you just saved; Right-click on it and select Run as administrator.
  6. Once the process is complete, try starting Windows Firewall again, and if it starts successfully, delete the Repair.bat file.

If none helped resolve the error, you should contact Microsoft Support Center for further assistance.

In conclusion, Error Code 0x8007042c is a frustrating problem, but it can be quickly resolved using the methods outlined in this article.

Whether a software conflict or a Windows update problem, the above solutions should help you get back on track and get your computer working correctly.

Always back up important data before making any changes to your system; if all else fails, consult a professional for assistance.

More about the topics: windows 10 fix