Forum Discussion

Mafecteau's avatar
Mafecteau
Copper Contributor
Dec 18, 2020

Windows Defender Firewall - Deny Windows Apps rules creation

How can I disable Windows apps automatic Defender firewall rule creation?

 

I have configured local firewall rules and connection security rules Settings in the WDFASecurity panel.

 

I runned powershell commands to remove all outbound rules

$FirewallOutRules = Get-NetFirewallRule | Where-Object {$_.Direction -EQ "Outbound"}
Remove-NetFirewallRule $FirewallOutRules.Name

 
 
 
 

After an App like Mixed reality portal, Windows map is updated, a rule is automaticaly created.

 

How can I stop this behavior?

 

2 Replies

  • GM1976's avatar
    GM1976
    Copper Contributor

    Mafecteau we also have this problem in which the rulebase is being polluted by rules we dont want.

     

    Did you found an answer ? 

  • Mr_Trust_A's avatar
    Mr_Trust_A
    Brass Contributor

    Hi Mafecteau 

     

    I wonder if this article will help: https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-firewall/best-practices-configuring#create-outbound-rules

     

    Thanks

Resources