0XC022002C

Fix STATUS_FWP_ACTION_INCOMPATIBLE_WITH_LAYER 0XC022002C

Windows Filtering Platform error that blocks network apps. Usually a corrupted WFP or firewall rule. Reset WFP and re-register filters to fix.

Quick answer

For advanced users: reset the Windows Filtering Platform (WFP) state with netsh wfp reset from an admin command prompt, then reboot. This clears the corrupted filter rules causing the mismatch.

That error code—0xC022002C—is your system's way of saying a firewall or WFP filter is trying to do something its layer doesn't allow. Think of it like a bouncer at a club who's been handed a bus ticket: wrong type for the venue. The WFP engine has layers (network, transport, etc.) and each action type (block, permit, redirect) must be registered to that layer's valid set. When a third-party security app, a botched Windows update, or a leftover filter from uninstalled software leaves an incompatible rule, you'll see this error.

I've seen this most often after upgrading from Windows 10 to 11, or when a VPN client (like NordVPN or OpenVPN) doesn't uninstall cleanly. The filter stays but points to a layer that no longer exists.

Fix steps

  1. Run the WFP reset. Open Command Prompt as Administrator (right-click Start, select 'Terminal (Admin)' on Win11 or 'Command Prompt (Admin)' on Win10). Type:
    netsh wfp reset
    Press Enter. This resets all WFP filters to default, clearing any incompatible action types.
  2. Reboot. Don't skip this. The reset only takes effect after a full restart.
  3. Test your network app. Try the failing operation—whether it's a game, browser, or file share. If the error's gone, you're done.
  4. If it returns: Re-register the system WFP providers. In the same admin prompt, run:
    netsh wfp set options =enable
    Then restart the 'Windows Filtering Platform' service (it's in Services.msc, but it starts on demand—you may need to trigger it by running: net start BFE).

Alternative: Check third-party firewall software

The built-in Windows Defender Firewall rarely causes this. It's almost always a third-party app. Uninstall any VPN, firewall, or security suite you don't use. Then reinstall the one you need, but grab the latest version—old drivers are notorious for leaving these broken filters.

Alternative: System File Checker

If the reset didn't stick, corrupted system files might be at fault. Run:

sfc /scannow
Then DISM /Online /Cleanup-Image /RestoreHealth. This takes a few minutes but fixes the underlying Windows components that manage WFP.

Prevention tip

Before you install any security software, create a system restore point. That's the single best way to avoid this headache. Also, when you uninstall a VPN or firewall, use the vendor's dedicated removal tool—don't just delete the program. Those tools clean up the WFP filters properly.

If you're still stuck after these steps, you're looking at a deeper issue—possibly a driver conflict. Boot into Safe Mode with Networking and repeat the netsh reset there. That isolates third-party drivers from the equation.

Related Errors in Windows Errors
0X00000242 Fix 0x00000242: No paging file specified on Windows 10/11 0x80070002 Fix Windows Errors: Stop Error Code 0x80070002 for Good 0X40000009 STATUS_REGISTRY_RECOVERED 0x40000009: What It Means and How to Fix 0X00002082 0X00002082: Active Directory attribute value out of range fix

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.