0X8032001E

Fix FWP_E_INVALID_FLAGS 0X8032001E in Windows Firewall

Windows Errors Intermediate 👁 9 views 📅 May 26, 2026

This error means Windows Firewall rules have invalid flags. Usually a corrupted BFE service or bad third-party firewall rule. Here's how to fix it.

Cause 1: Corrupted Base Filtering Engine (BFE) Service

I've seen this error pop up more times than I can count, usually after a Windows Update gone sideways or when a third-party security suite left orphaned registry entries. The BFE service is the heart of Windows Firewall—if it's busted, every rule throws invalid flags.

You'll know it's BFE if the error happens when you're trying to:

  • Enable or disable Windows Firewall from Control Panel
  • Run netsh advfirewall commands
  • Launch a game or app that modifies firewall rules automatically (like Steam, Discord, or some VPN clients)

Fix: Reset the BFE service

  1. Open Command Prompt as admin (hit Win+X, then 'Command Prompt (Admin)' or 'Windows Terminal (Admin)').
  2. Stop the service:
    net stop BFE
    If it's stuck, accept that it may hang for a beat—wait 30 seconds.
  3. Restart it:
    net start BFE
  4. If that doesn't clear the error, reset the entire Windows Firewall policy from an elevated prompt:
    netsh advfirewall reset
    This wipes all custom rules. I know, it's nuclear. But it works. Export your rules first with netsh advfirewall export "C:\backup.wfw" if you need to restore them later.

On Windows 11 22H2, I had to also run sfc /scannow after resetting BFE because a corrupted system file was causing the service to fail again on next boot. That's rare, but worth mentioning.

Cause 2: Invalid Flags in a Third-Party Firewall Rule

This one tripped me up the first time too. Some VPNs (I'm looking at you, older versions of NordVPN and ExpressVPN) create Windows Filtering Platform filters with flags that aren't supported. The error 0x8032001E means the kernel rejected those flags—think of it like trying to turn on a light with a remote control that has a button labeled 'turbo'.

The fix is straightforward but requires digging into the Windows Filtering Platform filter list. Here's how:

  1. Open PowerShell as admin.
  2. List all WFP filters:
    netsh wfp show filters
    This outputs a ton of data. Pipe it to a file:
    netsh wfp show filters > C:\wfp_filters.txt
  3. Search the file for any filter that includes FWP_E_INVALID_FLAGS or error references. Usually it's a filter with a name like 'NordVPN_WFP' or 'ExpressVPN_Filter'.
  4. Delete the offending filter using its filter ID. Say the filter ID is 12345:
    netsh wfp delete filter id=12345

I've also seen this happen with old Comodo Firewall rules after an upgrade. Uninstalling Comodo and running its cleanup tool (available on their site) fixed it for two clients last year.

Cause 3: Corrupted or Mismatched Windows Filtering Platform Registry Keys

This is the sneakiest cause. A registry key under HKLM\SYSTEM\CurrentControlSet\Services\BFE\Parameters can get a wrong DWORD value after a failed software installation. Specifically, the Flags key sometimes gets set to a bizarre number like 0x00000003 when it should be 0x00000000.

You'll see this most often after uninstalling a security suite—like McAfee or Norton—that didn't clean itself up properly. The error shows up every time you open Windows Defender Firewall with Advanced Security.

Fix: Repair the registry key

  1. Open Regedit as admin.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BFE\Parameters.
  3. Look for a value named Flags (REG_DWORD). If it's anything other than 0, double-click and set it to 0.
  4. Also check HKLM\SYSTEM\CurrentControlSet\Services\BFE\Security for any broken Security Descriptor entries. If you see a garbled value, delete that key and recreate it (but back up first—export the BFE key).

After editing, restart the BFE service again: net stop BFE && net start BFE from an admin prompt.

Quick-Reference Summary

CauseSymptomFix
Corrupted BFE serviceError with any firewall command; error after Windows UpdateRestart BFE, then reset firewall policy with netsh advfirewall reset
Bad third-party WFP filterError with specific VPN/suite after installList filters with netsh wfp show filters, find and delete the bad one
Corrupt registry Flags valueError opening Firewall snap-in; after uninstalling security softwareSet BFE\Parameters\Flags to 0; repair Security descriptor if needed

If none of these work, you're looking at a deeper corruption—try a System Restore point from before the error started, or do an in-place upgrade repair using the Windows 11/10 ISO (keep your files). I've seen that nail the error twice on stubborn machines.

Was this solution helpful?