Disable ping in Windows Server 2008 R2 [closed]
my seniors and professionals, I know this issue is already listed on serverfault but I am again asking this question as none of the provided solutions worked for me. I have tried the following options.
- Go to Start → Administrative Tools → Windows Firewall with Advanced Security → Inbound Rules → File and Printer Sharing (Echo Request – ICMPv4-IN) → right-click and select Enable Rule.
- Number "1" solution with changed that rule's setting from "Allow" to "Block the connection".
- Using IIS Open the application pool from IIS Manager and navigate to “Advanced Settings” from the context menu of the selected application pool. This will open the “Advanced settings” dialog window. Move to the “Process Model” section. From there select ping enables to false.
I am using Windows Server 2008 R2 and IIS 7.5.
Try to add a firewall rule:
netsh advFirewall Firewall add rule name="block PING IPv4" protocol=icmpv4:8,any dir=in action=block
And make sure the firewall is enabled on the profile/adapter you are using.
This can be done in the Firewall GUI, too:
Open Advanced Firewall SnapIn > Inbound Rules > New Rule > Custom Rule (with "All Programs") > Protocol Type IPv4 > Set "Specific ICMP types" to "Echo Request" > Any/Any > Block.