Enable Ping without Disabling Windows Firewall

Hello,

You can enable ping on Windows firewall without completely disabling the firewall. It may require a few steps.

First, get the Firewall rules on the server :

Get-NetFirewallRule

Enable-Ping-0

Then, filter with the rules with ICMP in its name :

Get-NetFirewallRule -Name *FPS-ICMP?-ERQ*

Enable-Ping-1

And now, we enable the ones we want to be active :

Get-NetFirewallRule -Name *FPS-ICMP?-ERQ* | Enable-NetFirewallRule

Enable-Ping-2

Now, check the status :

Get-NetFirewallRule -Name *FPS-ICMP?-ERQ* | select Name,Direction,Profile,Enabled

Enable-Ping-3

Now, ping is open and we’re keeping the Windows FireWall up and running !

Leave a Reply