KB ID 0001134 Dtd 18/01/16
By default all modern distributions of Windows come with their client firewall enabled. Which is a good thing, most corporate networks simply disable it using the rationale that they have a corporate firewall and security software etc. Again thats fine, but what if you want to leave it on, and still be able to ping that host to see if its alive.
The firewall exception is already written for you, you just have to enable it.
Open the Window Firewall with Advanced Security console > Inbound Rules > ‘File and Printer Sharing (Echo Request – ICMPv4-In) > Enable Rule > Obviously do the same for IPv6 (if required).