Enable and Disable Ping in Windows Server

You can enable and disable ping on windows server,Go to command prompt.

To Enable ping from the command prompt type the following command:

netsh firewall set icmpsetting 8

Now ping is enabled.

To disable ping,open the command prompt and type the following command:

netsh firewall set icmpsetting 8 disable

Note: In windows 2008, the firewall configuration disables the ICMP packet reply by default. So you need to enable it.-