Base Filtering Engine (BFE) Service Defaults in Windows 11

The Base Filtering Engine (BFE) is a service that manages firewall and Internet Protocol security (IPsec) policies and implements user mode filtering. Stopping or disabling the BFE service will significantly reduce the security of the system. It will also result in unpredictable behavior in IPsec management and firewall applications.

Default Settings

Startup type: Automatic
Display name:Base Filtering Engine
Service name:BFE
Service type:share
Error control:normal
Group:NetworkProvider
Object:NT AUTHORITY\LocalService
Path:%SystemRoot%\system32\svchost.exe -k LocalServiceNoNetworkFirewall -p
File:%SystemRoot%\System32\bfe.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BFE
Privileges:
  • SeAuditPrivilege

Default Behavior

Base Filtering Engine is a Win32 service. In Windows 11 it starts automatically during the operating system startup. Then the Base Filtering Engine service logs on as NT AUTHORITY\LocalService and running in a shared process of svchost.exe. If Base Filtering Engine fails to start, the failure details will be recorded into Event Log. Then Windows 11 should boot up and notify the user about the BFE service startup failure.

Dependencies

Base Filtering Engine cannot be started, if the Remote Procedure Call (RPC) service won't start.

If Base Filtering Engine doesn't work properly, the following services will not start:

Restore Default Startup Configuration of Base Filtering Engine

Before you begin doing this, make sure that all the services on which Base Filtering Engine depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the commands below, paste them into the command window and press ENTER:

sc config BFE start= auto
sc start BFE

3. Close the command window and restart the computer.

The BFE service is using the bfe.dll file that is located in the C:\Windows\System32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 11 installation media.