When you open the Windows Firewall (with Advanced Security) applet, the following error may show up:
There was an error opening the Windows Defender Firewall with Advanced Security snap-in The Windows Defender Firewall with Advanced Security snap-in failed to load. Restart the Windows Defender Firewall service on the computer that you are managing. Error code: 0x6D9.
The Win32 error code 0x6D9 (“0x800706D9
” or EPT_S_NOT_REGISTERED
) means “There are no more endpoints available from the endpoint mapper.”
Attempting to start the Windows Firewall service (“mpssvc
“) may show that the service gets stuck in the “Start Pending” state.
Also, the Windows Security UI may show the following error:
Microsoft Defender Firewall is using settings that may make your device unsafe. Restoring default settings will remove all Windows Defender Firewall settings that you have configured for all network locations. This might cause some apps to stop working.
The classic Control Panel may show the following error:
Update your Firewall settings Windows Defender Firewall is not using the recommended settings to protect your computer.
However, clicking on the “Restore settings”, “Use recommended settings”, or restoring default settings by resetting the Windows Firewall using any other method may not help.
Cause
The Windows Firewall error 0x6D9 may occur if one or both of the following service registry keys are corrupted, or their permissions are incorrect.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MpsSvc HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Bfe
mpssvc
service (NT Service\mpssvc
) must have write access to the following keys:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Epoch2
and mpssvc
must have special permissions (or Full control permissions) for the following key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy
These are the special permissions assigned for mpssvc
by default.
Resolution
To resolve the issue, follow these steps to replace the SharedAccess
, BFE
, and MpsSvc
registry keys from another computer. The following steps should restore the missing keys/values and fix the incorrect registry permissions automatically.
- In the C:\ drive, create a folder named “Registry” —
C:\Registry
. - Download firewall_fix_windows_10.zip or firewall_fix_windows_11.zip
- Extract the four files from the Zip file to C:\Registry.
- From the C:\Registry folder, right-click “Run.bat” and choose “Run as administrator.”
(Note: You should see the output “The operation completed successfully” for each command.)
- Restart Windows.
The Base Filtering Service, Internet Connection Sharing (ICS), and Windows Firewall services should now be fixed.
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!