Windows Defender Firewall disabled, and cannot be enabled

Kaplan, Andrew H 226 Reputation points
2026-11-17T15:53:40.77+00:00

One of our servers is running the Windows Server 2022 Standard build. When checking the various services running on the system, I noticed the Windows Defender Firewall is disabled, and it cannot be enabled. The error code. 0x6D9, is present in the Advanced Security snap-in page.

I have gone through the motions of uninstalled Windows Defender and reinstalling it but that has not solved the problem. A check of the Event Viewer did not reveal any apparent error messages.

Windows for business | Windows Server | Devices and deployment | Other
0 comments No comments

2 answers

Sort by: Oldest
  1. AI answer

    2026-11-17T15:54:39.69+00:00

    Start the Windows Firewall service (MpsSvc) and its RPC dependencies from an elevated Command Prompt, because Windows Firewall with Advanced Security cannot operate while these required services are stopped or disabled.^1^

    1. Restore and test the core services

    First take a system-state or OS-disk backup. Then run:

    sc config RpcEptMapper start= auto
    sc start RpcEptMapper
    sc config RpcSs start= auto
    sc start RpcSs
    sc config MpsSvc start= auto
    sc start MpsSvc
    sc query RpcEptMapper
    sc query RpcSs
    sc query MpsSvc
    

    The expected result is STATE: 4 RUNNING for all three services. If MpsSvc starts, enable the three firewall profiles:

    Set-NetFirewallProfile -Profile Domain,Private,Public -Enabled True
    Get-NetFirewallProfile | Select-Object Name,Enabled
    

    All profiles should report Enabled : True. This is the documented command-line method for enabling Windows Firewall.^2^

    Also reopen wf.msc. If it loads normally, the immediate service failure is resolved.

    Reinstalling Microsoft Defender Antivirus does not test these firewall service dependencies, so there is no reason to repeat the reinstall.

    2. If MpsSvc still fails

    Windows Firewall with Advanced Security also requires these services to be running:

    • Base Filtering Engine (BFE)
    • Group Policy Client
    • IKE and AuthIP IPsec Keying Modules
    • IP Helper
    • IPsec Policy Agent
    • Network Location Awareness
    • Network List Service
    • Windows Defender Firewall (MpsSvc)

    Check their states in services.msc, or run:

    Get-Service BFE,gpsvc,IKEEXT,iphlpsvc,PolicyAgent,NlaSvc,netprofm,MpsSvc |
        Format-Table Name,Status,StartType
    

    Start any stopped service without changing its startup type arbitrarily. The complete dependency list is documented in Microsoft’s Windows Server firewall troubleshooting guidance.^3^

    Record the exact error returned by:

    sc start MpsSvc
    

    That result distinguishes a disabled dependency from access-denied, timeout, or damaged configuration conditions.

    3. Check policy before changing the firewall configuration

    A domain or local security policy can configure system services. Generate the computer’s Resultant Set of Policy:

    gpresult /h C:\Temp\gpresult.html
    

    Review the report for settings under:

    • Computer Configuration → Windows Settings → Security Settings → System Services
    • Computer Configuration → Windows Settings → Security Settings → Windows Defender Firewall with Advanced Security

    gpresult displays the resulting policy settings enforced on the computer.^4^

    If a domain GPO disables MpsSvc or a required dependency, correct the GPO rather than repeatedly changing the local service. Do not treat ordinary firewall profile or rule settings as proof that the service itself was intentionally disabled.

    4. Reset only if the firewall policy registry is missing or corrupted

    Check the policy key:

    reg query "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy" /s
    

    If the key is missing or clearly corrupted, export the existing configuration and then reset it:

    netsh advfirewall export C:\Temp\firewall-before-reset.wfw
    netsh advfirewall reset
    sc start MpsSvc
    netsh advfirewall set allprofiles state on
    

    A reset restores default firewall configuration and can remove custom local rules, so retain the export and confirm that required management and application traffic will remain available. Microsoft documents both the configuration check and netsh advfirewall reset for a firewall service that will not start.^1^ The export/reset syntax is documented separately.^5^

    5. If the service remains unavailable

    Collect a Windows Filtering Platform trace before opening a Microsoft support case:

    1. Download and extract TSS to C:\tss.
    2. Open elevated PowerShell in that directory.
    3. Run:
    Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
    .\TSS.ps1 -Scenario NET_WFP
    
    1. Reproduce the wf.msc error.
    2. Enter Y to stop collection.
    3. Retrieve the ZIP from C:\MS_DATA.

    TSS requires local administrator rights; the process-scoped execution-policy change expires when that PowerShell session closes.^3^


    References

    1. Troubleshoot Windows Update error 0x800706D9
    2. Manage Windows Firewall with the command line
    3. Windows Firewall with Advanced Security troubleshooting guidance
    4. gpresult
    5. netsh advfirewall
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

  2. Xuan Nhu 1,700 Reputation points Independent Advisor
    2026-11-17T16:25:16.05+00:00

    Hello Kaplan,

    Error 0x6D9 typically indicates that the Windows Defender Firewall service or one of its required dependencies is unavailable.

    I recommend checking the status of these services first: BFE (Base Filtering Engine), MpsSvc (Windows Defender Firewall), and RpcSs (Remote Procedure Call). You can run Get-Service BFE, MpsSvc, RpcSs in PowerShell to verify their status.

    If BFE or MpsSvc is stopped, check whether Group Policy or security software is preventing the services from starting. Also, review the Microsoft-Windows-Windows Firewall With Advanced Security event log and run DISM /Online /Cleanup-Image /RestoreHealth followed by sfc /scannow to check for component corruption.

    Could you share the output of the service checks and any related errors? This will help narrow down the root cause before attempting further repairs.

    Xuan Nhu.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.