How to Enable Ping (ICMP) on Windows Server 2019
By default, Windows Server 2019 blocks ICMP (ping) requests through the Windows Firewall. This means if someone tries to ping your server from another machine, they’ll get no response — even if the server is online.
Enabling ping can be useful for network troubleshooting, monitoring, or confirming that a server is reachable.
In this guide, we’ll show you how to allow ping (ICMP) traffic in Windows Server 2019 using Windows Defender Firewall.
Step 1: Open Windows Defender Firewall with Advanced Security
- Log in to your Windows Server 2019 as an administrator.
- Press the Windows key and type firewall in the search box.
- Click Windows Defender Firewall with Advanced Security from the search results.
Step 2: Go to Inbound Rules
- In the left-hand menu, click Inbound Rules.
- You’ll now see a list of predefined firewall rules.
Step 3: Enable the ICMP (Ping) Rule
- Scroll through the list and find the rule named:
File and Printer Sharing (Echo Request – ICMPv4-In).- This rule allows IPv4 ping requests.
- Right-click the rule and select Enable Rule.
If you also want to allow IPv6 ping requests, enable the rule:
File and Printer Sharing (Echo Request – ICMPv6-In).
Step 4: Test the Ping
- Open Command Prompt on another computer.
- Type: ping IP-ADDRESS-OF-THE-SERVER (example: ping 10.10.10.10)
- Press Enter.
- If the firewall rule is enabled, you’ll see Reply from… messages.
- If the rule is disabled, you’ll get Request timed out.
You have successfully enabled ping (ICMP) on your Windows Server 2019.
Remember, while ping is useful for diagnostics, enabling it can expose your server to unnecessary network probes. Consider allowing ping only from trusted IP addresses for security.