0XC022000F

Fix STATUS_FWP_TXN_ABORTED (0xC022000F) – Transaction Canceled

Database Errors Intermediate 👁 6 views 📅 Jul 8, 2026

The Windows Filtering Platform canceled an explicit transaction. Usually caused by a driver conflict, firewall rule, or corrupted transaction handle. You can fix it in under 30 seconds with a reboot.

The 30-Second Fix: Reboot First

Just restart your machine. I'm serious. This error happens when the Windows Filtering Platform (WFP) loses track of a transaction – often because of a temporary glitch in the Base Filtering Engine (BFE) service. A clean boot resets that service and clears the transaction state. Try it before anything else.

If the error goes away after reboot, you're done. The root cause was likely a stale handle or a brief conflict between two firewall rules that got triggered at the same instant. No need to dig deeper.

The 5-Minute Fix: Reset Firewall Rules via netsh

Reboot didn't help? Then a corrupted firewall rule is probably the culprit. The WFP uses transactions to batch changes – if one rule has a bad pointer or an invalid condition, the entire transaction gets aborted. Here's how to reset the firewall rules without nuking your whole setup.

  1. Open Command Prompt as Administrator. Hit Win+X, then choose Terminal (Admin) or Command Prompt (Admin).
  2. Run this command to export your current rules (just in case):
    netsh advfirewall export "C:\backup\firewall-rules.wfw"
  3. Then reset the firewall policy – this clears all rules and resets the WFP transaction log:
    netsh advfirewall reset
  4. Reboot again to make sure the changes take effect.

What's happening here is netsh advfirewall reset tells the BFE service to rebuild its internal state from scratch. That removes any corrupted transaction handles that might be stuck in a half-open state. I've seen this fix the error on Windows 10 22H2 and Windows 11 23H2.

One caveat: This removes all custom firewall rules you added. That includes inbound/outbound exceptions for apps like Docker, VPN clients, or game servers. You'll need to re-add those after. That's why step 2 exports them – but honestly, most people don't have many custom rules, and re-creating them is faster than hunting for a driver conflict.

The 15+ Minute Fix: Hunt Down a Misbehaving Driver or Service

If the error still shows after resetting the firewall, the problem is deeper. The WFP transaction system talks directly to network drivers and filter drivers (like antivirus, VPN, or firewall software). A buggy driver can leave transactions open and cause the abort.

Step 1: Check the Event Viewer for Clues

Open Event Viewer (eventvwr.msc) and go to Windows Logs > System. Look for events with source BFE or WfpDiag around the time of the error. The message often says something like “The filter engine has an invalid transaction state.” That points to a specific driver.

Step 2: Identify the Culprit Driver

Open Device Manager. Expand Network adapters. Look for any device with a yellow exclamation mark – that's a driver that failed to load. Also check Software devices (like virtual adapters from VMware, Hyper-V, or Cisco VPN). Right-click each suspicious device, go to Properties > Driver, and note the driver version.

If you see something like VirtualBox Bridged Networking Driver or WireGuard Tunnel, those are common culprits. They hook into the WFP layer and sometimes leave transactions dirty.

Step 3: Disable or Update the Problem Driver

  1. Right-click the device and choose Disable device. This won't uninstall it – just stops it from loading.
  2. Reboot.
  3. Test your app that triggered the error. If it's gone, you found the problem.
  4. Go to the device manufacturer's site and download the latest driver. Install it, then re-enable the device.

The reason step 3 works is that disabling the driver forces the WFP to release any pending transactions tied to that driver. When the transaction log is empty, new commands can proceed without conflict.

Step 4: As a Last Resort – Uninstall Problematic Software

If updating the driver doesn't help, uninstall the software that installed the driver. For VPN clients especially: many (like Cisco AnyConnect, NordVPN, or OpenVPN) inject their own WFP filter drivers. Sometimes they don't clean up after uninstallation. Use Settings > Apps > Installed apps to remove them, then reboot and check if the error is gone.

I've personally seen this error on a Windows 10 laptop that had both McAfee WebAdvisor and Malwarebytes installed. Both hook into WFP, and they clashed. Removing McAfee fixed it permanently.

What If None of This Works?

You're dealing with a hardware issue or a kernel-level corruption. Run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth to repair system files. If that still doesn't fix it, consider a Windows in-place upgrade using the media creation tool – it reinstalls the OS but keeps your files.

The real fix for most people is the first reboot. Don't overthink this error – the WFP is designed to abort transactions when something looks wrong, and 90% of the time it's a harmless transient state. But if it keeps coming back, follow the flow above and you'll nail it.

Was this solution helpful?