sodcalculator

08 Everyday Math

Firewall Settings Turn Off? Fixes & Causes

Guide 08-64698 · Updated · Step by step

Yes, firewall settings can turn off on their own, and the most common causes are third-party security software conflicts, Windows updates, or a corrupted firewall service. This article explains why it happens and how to fix it.

Why Your Firewall Keeps Turning Off

Firewalls are designed to stay on, so when they turn off unexpectedly, something is actively changing the settings. The usual culprits are:

  • Third-party antivirus or security suites – Many security programs (e.g., Norton, McAfee, Bitdefender) disable the Windows Firewall when they install, and they may re-disable it after updates or if they detect a conflict.
  • Windows updates – A feature update or a patch can reset firewall settings to defaults, which sometimes disables the firewall for certain profiles (e.g., public vs. private).
  • Corrupted system files – If the Windows Firewall service (Base Filtering Engine, Windows Defender Firewall) is corrupted or not running, the firewall may appear off or fail to start.
  • Malware – Some malicious programs deliberately disable firewalls to open ports for remote access or data exfiltration.
  • Group Policy or registry changes – In enterprise environments, a group policy can override local settings and turn off the firewall. On personal PCs, a stray registry edit can do the same.

How to Check If Your Firewall Is Really Off

Before troubleshooting, confirm the actual state. On Windows 10/11, go to Settings > Privacy & Security > Windows Security > Firewall & network protection. You’ll see three profiles: Domain, Private, and Public. If any shows “Off,” the firewall is disabled for that network type. Also check the Windows Defender Firewall service:

  1. Press Win + R, type services.msc, and press Enter.
  2. Find Windows Defender Firewall. Its status should be “Running.”
  3. If it’s not running, right-click it and select Start.
  4. Set its startup type to Automatic (double-click, change “Startup type,” click OK).

If the service is running but the firewall still shows off, the settings themselves are disabled.

Step-by-Step Fixes to Stop It From Turning Off

Try these in order, as the simpler ones often resolve the issue.

1. Restart the Windows Firewall Service

Sometimes the service crashes or hangs. Restart it:

  1. Open Services (as above).
  2. Right-click Windows Defender Firewall and choose Restart.
  3. Also restart Base Filtering Engine (it’s a dependency).
  4. Check the firewall status again.

2. Run the Windows Firewall Troubleshooter

Windows includes a built-in troubleshooter that can automatically detect and fix common firewall problems:

  1. Go to Settings > System > Troubleshoot > Other troubleshooters.
  2. Find Firewall and click Run.
  3. Follow the prompts. It may reset firewall settings or restart services.

3. Reset Firewall Settings to Default

If settings are corrupted, reset them:

  1. Open Windows Security > Firewall & network protection.
  2. Click Restore firewalls to default (at the bottom).
  3. Confirm. This removes all custom rules, so you’ll need to re-add any that you created.

4. Check Third-Party Security Software

If you have a third-party antivirus or firewall, open its settings and look for an option like “Windows Firewall integration” or “Manage Windows Firewall.” Some suites have a toggle that disables it. If you uninstall the third-party software, Windows Firewall should turn back on automatically. If you keep it, ensure it’s not set to disable Windows Firewall permanently.

5. Scan for Malware

If the firewall turns off repeatedly and you haven’t changed anything, run a full system scan with Microsoft Defender Offline or a reputable on-demand scanner. Malware can disable the firewall as part of its persistence mechanism.

6. Check Group Policy (Advanced)

On Windows Pro/Enterprise, group policies can override local settings. Press Win + R, type gpedit.msc, and navigate to Computer Configuration > Administrative Templates > Network > Network Connections > Windows Defender Firewall. Look for policies like “Protect all network connections” – if it’s set to “Disabled,” that turns off the firewall. Set it to “Not Configured” or “Enabled.”

Common Problems and Misconceptions

“My firewall turned off after I installed a VPN.” Some VPN clients modify network adapters and can interfere with firewall rules, but they rarely disable the firewall entirely. Check if the VPN has a “kill switch” or “firewall” feature that might be conflicting.

“I turned it off temporarily and now it won’t turn back on.” If you manually disabled it via the toggle, simply re-enable it. If the toggle is grayed out, a group policy or third-party software is blocking it.

“Windows Firewall is off, but I have a router firewall, so I’m safe.” Not entirely. A router firewall only protects against incoming traffic from the internet. Windows Firewall also filters outgoing traffic and protects against malware that tries to connect out. Keep both on.

How to Keep It From Turning Off Again

  • Keep Windows and security software updated – Updates often fix bugs that cause firewall resets.
  • Avoid installing multiple security suites – Running two antivirus programs can cause conflicts that disable the firewall.
  • Create a local policy (if you’re comfortable) – You can set a registry key to prevent the firewall from being disabled. For example, set HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile\EnableFirewall to 1. But this is advanced; a simpler approach is to just re-enable it when it turns off.
  • Set up alerts – Windows Security can notify you when the firewall is turned off. In Windows Security, go to Firewall & network protection and click “Turn on notifications.”

When to Leave It Off: Rare Exceptions

There are very few legitimate reasons to disable a firewall, and they are usually temporary. For example, some legacy software or game servers might require you to open specific ports, but that’s done by adding a rule, not by turning off the firewall. If you absolutely must disable it for troubleshooting, do it for a short time and re-enable it immediately. If you need to keep it off for a specific app, add an inbound/outbound rule instead – that’s safer and doesn’t expose your whole system.

Frequently Asked Questions

Why does my firewall turn off after every Windows update?

Windows updates can reset firewall settings to defaults, especially after a major feature update. This is often because the update reconfigures network profiles or the firewall service. Check your firewall status after each update and re-enable it if needed. You can also check if a third-party security suite is re-disabling it after the update.

Can a VPN turn off my firewall?

Not usually. A VPN changes your network adapter and may create virtual adapters, but it doesn’t disable the Windows Firewall. However, some VPN software includes a “firewall” feature that can conflict. If your firewall turns off after installing a VPN, check the VPN’s settings for an option that manages Windows Firewall, and disable that option.

How do I know if my firewall is off?

Go to Windows Security > Firewall & network protection. If you see a red warning and “Off” next to any profile (Domain, Private, Public), it’s off. You can also check the Windows Defender Firewall service in services.msc – if it’s stopped, the firewall is effectively off.

Is it safe to turn off the firewall temporarily?

It’s not recommended, even temporarily. When the firewall is off, your device is exposed to unsolicited incoming connections from the internet or local network. If you must turn it off for troubleshooting, do it only for a few minutes, disconnect from the internet if possible, and turn it back on immediately.

What should I do if none of the fixes work?

If the firewall still turns off after trying all the above, run a system file checker scan (open Command Prompt as administrator and type sfc /scannow). If that doesn’t help, consider performing a Windows repair installation or resetting your PC (back up your files first). In rare cases, a corrupted system image or persistent malware may require professional help.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Everyday Math bed →