Block ping in Windows Server 2008 R2

icmp, windows-server-2008

Solution

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.

My application now works fine and when I try to ping my server I do not receive any response.

Problem

I have deployed my Asp.Net web application on Windows Server 2008 R2 , and I want to block all ping requests to this server without effecting my application . Thanks in advance

Original source