Sunday, May 31, 2009

Windows Server 2008: Enable ICMP (Ping) replies

From a Command Prompt (Run as Administrator) run:

Windows Vista / 7 / Server 2008

Enable
netsh firewall set icmpsetting 8

Disable
netsh firewall set icmpsetting 8 disable

Windows Server 2008 R2

Enable
netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow

No comments: