Enable Ping on Windows Server 2012
1) Go to control panel from Windows charm bar or search for ‘control’. Open ‘Windows Firewall’
2) Click on ‘Advanced Settings’.
3) We need to create a firewall rule to allow ICMP echo packets which is used in the ping command. Luckily the rule is already there in Windows 2012 server and it just needs to be enabled.
To enable inbound rule of allowing ICMP packets, select ‘Inbound Rules’. Find and right click on ‘File and Printer Sharing (Echo Request –ICMPv4-In’), select Enable Rule.
This will now allow ping requests to your server using iPv4
You can test this by using the ping command and your servers IP address.