Windows

How to Fix Windows Firewall When It Won’t Turn On

Learn how to fix Windows Firewall when it refuses to turn on in Windows 10 or 11. This guide covers common causes, built-in repair steps, services, and reset options.

Chris Anderson
Chris Anderson
How-To Writer  •  Nov 23, 2026  •  5 min read

If Windows Firewall refuses to turn on, the problem is usually caused by a disabled service, damaged system files, a third-party security app, or a corrupted firewall configuration. The good news is that most cases can be fixed without reinstalling Windows.

This guide walks through the most practical fixes in the right order, starting with the most common causes and moving to deeper repair steps if needed.

How to Fix Windows Firewall When It Won’t Turn On

Check Whether Another Security App Is Controlling the Firewall

Some antivirus and internet security suites include their own firewall and may turn off Windows Firewall automatically. If a third-party security program is managing protection, Windows may block you from enabling its built-in firewall until that software is changed or removed.

Advertisement
Why It Matters This is one of the most common reasons Windows Firewall appears to be broken when it is actually being overridden by another security product.

Make Sure the Required Services Are Running

Windows Firewall depends on background services. If one of them is stopped or disabled, the firewall may not start at all.

  1. Press Windows + R, type services.msc, and press Enter.
  2. Find Windows Defender Firewall in the list.
  3. Double-click it and set Startup type to Automatic.
  4. If the service is stopped, click Start.
  5. Look for Base Filtering Engine as well and make sure it is running with Automatic or Automatic (Delayed Start) if available.
  6. Apply the changes and try enabling Windows Firewall again.
Note The service names may vary slightly depending on your Windows version, but Windows Defender Firewall and Base Filtering Engine are the key ones to check.

Use the Built-in Firewall Troubleshooter

Windows can sometimes detect and repair basic firewall issues automatically. This is worth trying before making more invasive changes.

  1. Open Settings.
  2. Go to System > Troubleshoot > Other troubleshooters.
  3. Find Network and Internet or Windows Store Apps troubleshooting options if available, then run any firewall-related or network repair tools.
  4. Follow the on-screen prompts and apply any fixes it suggests.

Reset Windows Firewall to Its Default Settings

If the firewall configuration is corrupted, resetting it can restore the default rules and settings. This often fixes cases where the firewall toggle will not stay on or Windows reports an error when you try to enable it.

Warning Resetting the firewall removes custom rules you may have added for games, remote access, file sharing, or specific apps. If you rely on custom permissions, note them before resetting.
  1. Open Control Panel.
  2. Select System and Security.
  3. Click Windows Defender Firewall.
  4. Choose Restore defaults from the left panel.
  5. Confirm the reset and test the firewall again.

Repair Corrupted System Files

If Windows system files are damaged, firewall components may fail to load correctly. Running the built-in repair tools can restore missing or corrupted files.

  1. Right-click the Start button and open Terminal or Command Prompt as administrator.
  2. Run: sfc /scannow
  3. Wait for the scan to finish.
  4. If problems remain, run: DISM /Online /Cleanup-Image /RestoreHealth
  5. Restart your PC after the scan completes and test Windows Firewall again.
Key Fact SFC checks protected Windows files for corruption, while DISM repairs the Windows image that SFC relies on. Running both is often the best combination when core Windows features stop working.

Check Whether the Firewall Service Is Being Blocked by Group Policy or Registry Changes

On some PCs, especially work or school devices, policy settings can prevent Windows Firewall from turning on. Malware or manual tweaks can also change registry values that disable the firewall.

Warning Do not delete random registry keys to ‘fix’ the firewall. Incorrect registry edits can create new problems or make Windows harder to repair.

Run a Malware Scan

Malware can disable security features, including Windows Firewall, to make the system easier to attack. If the firewall stopped working suddenly, a scan is worth doing.

  1. Open Windows Security.
  2. Go to Virus & threat protection.
  3. Run a Full scan, or a Microsoft Defender Offline scan if you suspect something deeper.
  4. Remove anything detected and then try enabling the firewall again.
Best For Systems where the firewall stopped working after suspicious pop-ups, unknown software installs, or changes to browser and security settings.

Try a Clean Boot if a Conflicting Program Is Causing the Problem

A startup program or background service may be interfering with Windows Firewall. A clean boot starts Windows with only essential Microsoft services so you can test whether another app is responsible.

  1. Open System Configuration by typing msconfig in the Start menu.
  2. On the Services tab, check Hide all Microsoft services.
  3. Click Disable all.
  4. Open Task Manager and disable startup apps.
  5. Restart the computer and try turning on Windows Firewall.
  6. If it works, re-enable items gradually until you find the conflict.
Note This method is especially useful when the firewall works in Safe Mode or after a clean boot but fails during normal startup.

When to Use a Windows Repair Install

If none of the steps above work, the Windows installation itself may be damaged. A repair install can replace core system components without wiping your files and most apps.

This is a stronger option than repeated resets because it repairs Windows features more thoroughly while keeping your personal data intact in many cases. It is best saved for last, after services, firewall settings, and system file repairs have been ruled out.

Warning Before any major repair, back up important files in case the process is interrupted or your system has deeper issues.

Which Fix Should You Try First?

Start with the checks most likely to solve the problem quickly: third-party security software, the Windows Defender Firewall service, and the built-in firewall reset. If those do not help, move on to system file repair and malware scanning. Only after that should you consider more advanced policy or repair-install options.

If you want, I can also turn this into a shorter step-by-step troubleshooting checklist or tailor it for Windows 10 or Windows 11 specifically.

Topics

More from Windows

View all →
Why an AMD GPU Driver Can Show as Disabled After an Update
Windows

Why an AMD GPU Driver Can Show as Disabled After an Update

How to Fix DISM Error 0x800f0915 in Windows
Windows

How to Fix DISM Error 0x800f0915 in Windows

How to Fix Command Prompt When You Can’t Run It as Administrator
Windows

How to Fix Command Prompt When You Can’t Run It as Administrator

5 Ways to Fix HP Support Assistant When It Won’t Install
Windows

5 Ways to Fix HP Support Assistant When It Won’t Install

Why USB Devices Show Up as Unknown in Windows 11
Windows

Why USB Devices Show Up as Unknown in Windows 11

How to Fix the Windows Fast Startup Error 0xc00000d4
Windows

How to Fix the Windows Fast Startup Error 0xc00000d4