3
2
Server Fault tells that the new syntax to enable ping on Windows Server 2008 is
netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request"
protocol=icmpv4:8,any dir=in action=allow
but this doesn't work with Windows 7. Here I get
C:\Windows\system32>netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow
A specified value is not valid.
Usage: add rule name=<string>
...
What is the correct new syntax?
Windows ships with a firewall rule for that, btw. Confusingly, it’s in the File and Printer Sharing category. Its name depends on your OS language. – Daniel B – 2015-11-06T10:47:10.803
You could try adding it through the GUI? Control Panel --> System and security --> Windows Firewall --> Advanced settings --> Inbound rules --> New rule --> custom rule – jmreicha – 2011-10-04T13:35:57.093