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?
Best Answer
The problem is copy and paste. With the right quotation marks
does the job. I'm not sure from which source I copied the problematic version.