Friday, August 17, 2012

ICMP Ping Blocked on Windows 2008 Server

On some default installs of Windows 2008 Server, ICMP [ping] is blocked by the Windows Firewall.

To enable ICMP traffic:

netsh advfirewall firewall set rule name="File and Printer Sharing (Echo Request - ICMPv4-In)" new enable=yes

To disable ICMP traffic:

netsh advfirewall firewall set rule name="File and Printer Sharing (Echo Request - ICMPv4-In)" new enable=no