How to enable ICMP or Ping on Windows 2003 and 2008 server

What is ping  ?

Ping verifies IP-level connectivity to another TCP/IP computer by sending Internet Control Message Protocol (ICMP) Echo Request messages. The receipt of corresponding Echo Reply messages are displayed, along with round-trip times. Ping is the primary TCP/IP command used to troubleshoot connectivity, reachability, and name resolution.

If you want to enable the ping /icmp on a windows 2003 or windows 2008 server then follow  the below steps :

For Windows server 2003  :

Go to start >> run >>  cmd >> netsh firewall set icmpsetting 8 enable

For  Windows server  2008 the  netsh firewall has been depreciated and you need to use  netsh advfirewall firewall

Go to  start  >>  run >>  cmd >> netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow

That’s all you are done.