Windows Defender Firewall can't start after system rescue, access is denied, error code 0x8007045b

Adam Kessel 66 Reputation points
2022-05-09T14:37:12.79+00:00

Windows 10 Version 21H2 (OS Build 19044.1682)

My Windows 10 networking stack was recently corrupted, which I fixed by reinstalling Win10 from a USB device.

Everything appears to be working fine now except that Windows Defender Firewall can't start.

Event Viewer repeatedly reports:

The Windows Defender Firewall service terminated with the following service-specific error:
Access is denied.

When I select "use recommended settings" (or "restore default settings") under the Windows Defender Firewall control panel, I get:

Windows Defender Firewall can't change some of your settings. Error code 0x8007045b.

I've tried using the Troubleshooter here: https://support.microsoft.com/en-us/windows/automatically-diagnose-and-fix-problems-with-windows-firewall-513e9cf8-19ae-d579-2092-d5e64fe06f5f . Sometimes it says it can't find a problem, sometimes it says it's fixed the problem, but in either case it doesn't actually fix the problem.

I've tried booting into safe mode.

I've tried sfc /scannow and dism /online /restorehealth as well as all of the suggestions here https://answers.microsoft.com/en-us/windows/forum/all/windows-defender-firewall/5c8fce55-8e94-4545-868e-acfe3523ff14

I believe the Defender Firewall failure is preventing me from being able to preview documents in Outlook, as noted here https://learn.microsoft.com/en-us/answers/questions/836899/unable-to-preview-any-ms-office-documents-in-outlo.html

Any ideas how to troubleshoot/fix?

Windows 10 Network
Windows 10 Network
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Network: A group of devices that communicate either wirelessly or via a physical connection.
2,363 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,948 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Adam Kessel 66 Reputation points
    2022-05-09T18:26:39.047+00:00

    Found a solution. I had to go to HKLM\System\CurrentControlSet\Services\BFE in regedit and add 'local service', 'network service' and 'nt service\bfe' all to the security list with at least modify permissions and set those permissions to be recursive for all the keys under BFE. Now Windows Defender finally works again, as do Outlook document previews.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.