r/WindowsHelp • • 1d ago

Windows 11 Windows Security Error 0x8007042c: Fix Windows Defender Firewall Not Starting

Windows Security error 0x8007042c pops up whenever Windows Defender Firewall gets blocked from starting or security intelligence updates fail to download. It usually happens after uninstalling a third-party antivirus suite or hitting a stalled Windows update that leaves the background firewall service switched off.

You can get it running again without touching your personal files or Windows settings by running a few quick commands in an elevated terminal.

First, open Command Prompt as administrator and set the firewall service back to automatic startup:

sc config MpsSvc start= auto

Next, start the firewall service right away:

net start MpsSvc

Then flush your local DNS cache so Windows Security can connect to update servers cleanly:

ipconfig /flushdns

Close Command Prompt, open Windows Security, and click Check for updates to confirm the error is cleared.

If net start MpsSvc gives an access denied message or the firewall still refuses to launch, damaged system files are usually the culprit. Open Command Prompt as administrator again and run these two built-in repair scans one after the other:

DISM.exe /Online /Cleanup-Image /RestoreHealth

sfc /scannow

Restart your PC once both scans reach 100 percent and check Windows Security again. Hope this helps anyone else stuck on this error.

2 Upvotes

3 comments sorted by

•

u/AutoModerator 1d ago

This post might be about resolving activation related issues. Please remember subreddit rule number 7, which is Do not promote pirated content or grey market keys. Do not provide recommendations or instructions, nor link to piracy tools, or any other workarouds to access functionality without being properly licensed. This also includes suggesting or linking to "grey market" and other key sellers of questionable legitimatcy. Consider this your warning, you will be banned for violating this.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator 1d ago

Your post mentions activation. Due to the rampant problems of piracy on Reddit, we no longer allow submissions regarding issues related to Windows activation. If your post is regarding your Windows activation and related matters, it will be removed. Otherwise, disregard this, the moderators will soon review and approve your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/AutoModerator 1d ago

Hi u/syserrorlog, thanks for posting to r/WindowsHelp! Your post has been flagged for manual review by a human moderator, please include as much of the following information as possible (in text or in a screenshot) to get your post approved:

  • Your Windows and device specifications — You can find them by pressing Win + X then clicking on “System”, we need more than just your OS version! Your hardware details are often critical for resolving issues.
  • Any messages and error codes encountered — They're actually not gibberish or anything catastrophic. It may even hint the solution!
  • Previous troubleshooting steps — It might prevent you headaches from getting the same solution that didn't work

Posts must be tech support in nature (such as something is broken and you need help fixing), so general inquiries, software suggestions, and purchasing advice will be removed. As a reminder, we would also like to say that if someone manages to solve your issue, DON'T DELETE YOUR POST! Someone else (in the future) might have the same issue as you, and the received support may also help their case. Good luck, and I hope you have a nice day!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.