Is there any way to remove duplicate Windows firewall rules with a script or some app [closed]

I would use PowerShell's Remove-NetFirewallRule to automate these types of actions; if it is just five rules, you can identify the rules and remove them, but if you have a lot more, you should figure out why you have them in the first place - did you try to install an application five times, or is it from an update?

  • If you don't use an IDE like Visual Code, PowerShell ISE will help with writing and executing PowerShell scripts
  • You can find PowerShell scripts that use Remove-NetFirewallRule, such as this one