By default Windows 2012 server does not allow us to ping. You have to enable the ICMP in Windwos firewall on Windows 2012 server.
- Control panel -> Windows Firewall -> Inbound rules
- Scroll down and right click “File and Printer sharing (Echo request – ICMPv4 -In) and select Enable. for IPv6 enable the one mentioned as ICMPv6.