As ping indicates that the remote computer is connected to the network and capable of communicating, it is a useful command, especially for sysadmins. As a sysadmin myself, I have to install Windows Server and client frequently. Since our network is secured by hardware firewalls, it’s safe to allow ping on Windows Server and Windows client computers. I prefer to enable Ping manually and not use Group Policy. In this article, we will go through the step-by-step process of enabling Ping through Windows Firewall. If ping is not enabled on your computer, you will get a request timed out message when you ping the computer.ping server
How to enable Ping in Windows Firewall
To enable ping on Firewall, follow the steps below:
How to enable Ping using Command Line
To enable Ping using Command Line, open Command Prompt or PowerShell and run the following commands:
File and Printer Sharing (Echo Request – ICMPv6-In)File and Printer Sharing (Echo Request – ICMPv4-In)
Click on Next. Allow IPv4 ping using cmd: Allow IPv4 ping using PowerShell: Allow IPv6 ping using cmd: Allow IPv6 ping using PowerShell: To disable Ping using Command Line, open Command Prompt or PowerShell and run the following commands: Block IPv4 ping using cmd: Block IPv4 ping using PowerShell: Block IPv6 ping using cmd: Block IPv6 ping using PowerShell:
How to enable Ping through Firewall using Group Policy
Sometimes it becomes cumbersome to go through each computer in the network and enable ping. A rather easier way would be to disable Windows Firewall by default. This could be a security rick. Alternatively, we can enable ping for all computers (or a set of computers) in the network using the Group Policy. Here’s how to enable ping using Group Policy: That’s it. Now ping is enabled across the internal network. If any computer still does not allow ping traffic, please run the following command on that computer:
File and Printer Sharing (Echo Request – ICMPv6-In)File and Printer Sharing (Echo Request – ICMPv4-In)
Click on Next. Also see:
How To Enable Remote Desktop Connection RDC In Windows 11How To Open RDP Port To Allow Remote Desktop Access To Your SystemHow To Block Or Allow Websites, IPs, Apps, And Ports Using Windows Firewall And PowerShellHow To Find And Close Listening Ports In Windows 104 Ways to enable Windows Remote Desktop (+ Remotely Enable RDC)