Helping millions of people navigate the world of technology.

Can’t Turn on Windows Firewall? Here Is the Fix

Quick Tips
  • In most cases, running the Windows Firewall troubleshooter should fix this problem.
  • Consider resetting the Windows Firewall settings to default.
  • Check the registry entries related to the firewall to ensure they are configured properly.

Try Basic Fixes

  • Disable third-party antivirus programs: Third-party antivirus programs on your PC can sometimes interfere with the Windows Firewall and prevent it from working correctly. Temporarily disable your antivirus program and turn on the Windows Firewall again.
  • Scan for malware: Your PC may be infected with malware. To overrule this possibility, scan your PC for malware with Windows Defender to check if that is the case.

Fix 1: Download and Run the Windows Firewall Troubleshooter

Microsoft offers a dedicated troubleshooter for identifying and fixing issues related to the Windows Firewall. Since it does not come baked into Windows, you must download the Windows Firewall Troubleshooter first.

Double-click the downloaded file and click Next to run the troubleshooter. Wait for the troubleshooter to run, then check if you can enable the firewall.

Run Windows Firewall

Fix 2: Run the SFC and DISM Scans

Sometimes, problems with your PC’s system files can disrupt Windows processes and prevent you from turning on the firewall. Running the SFC (System File Checker) and DISM (Deployment Image Servicing and Management) scans can help you replace problematic system files with their cached versions.

Step 1: Press the Windows + S keyboard shortcut to open the search menu. Type terminal in the search box, right-click on the first result, and select Run as administrator.

Open Terminal as Admin

Step 2: Type the following command in the console and press Enter to run the SFC scan:

SFC /scannow
SFC Scan on Windows 11

Step 3: Type the following commands one by one and press Enter after each command to run the DISM scan:

DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
15 DISM Scan on Windows 11 8

This might take a while. After the scan is complete, restart your PC and check if the issue persists.

Fix 3: Reset Windows Firewall Settings

It’s possible that you can’t turn on the Windows Firewall due to misconfigured or corrupted settings. If that’s the case, resetting firewall settings should restore normalcy. Here’s how to do so.

Step 1: Click the search icon on the taskbar, type Windows Defender Firewall in the text box, and press Enter.

Open Windows Defender Firewall Settings

Step 2: Select Restore defaults from the left pane.

Restore Windows Firewall Settings

Step 3: Click on Restore defaults.

Restore Firewall on Windows

Step 4: Select Yes when the confirmation pop-up appears.

Confirm Reset Windows Firewall Settings

Fix 4: Edit Registry Files

Recent system-level changes may have messed up the registry settings on your PC. To rule out this possibility, check the registry entries related to the firewall and ensure that they are configured properly.

Step 1: Press the Windows + R keyboard shortcut to open the Run dialog box. Type regedit in the box and press Enter.

Step 2: Paste the following path in the address bar at the top and press Enter.

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

Step 3: If you see the DisableAntiSpyware DWORD in the right pane, right-click on it and select Delete. If there’s no such entry, you don’t need to worry.

Delete Registry DWORD

Step 4: Paste the following path in the address bar and press Enter. Right-click on the BFE key and select Permissions.

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BFE
Registry Key Permissions

Step 5: Click on Add.

Modify Registry Key Permissions

Step 6: Type Everyone in the Enter the object names to select text field and click OK.

Change Registry Key Permissions

Step 7: Select Everyone under Group or user names and tick the Allow checkbox next to Full Control. Then, hit Apply, followed by OK.

Modify Registry Key Permissions on Windows

Restart your PC to apply the changes. Then, enable the firewall one more time.

Was this helpful?

Thanks for your feedback!

Last updated on 03 July, 2024

Leave a Reply

Your email address will not be published. Required fields are marked *

The article above may contain affiliate links which help support Guiding Tech. The content remains unbiased and authentic and will never affect our editorial integrity.