Helpcenter / Windows / How to Enable ICMP on Windows

How to Enable ICMP on Windows

Windows

Method 1: Enable ICMP Ping via Command Line

Enter the following commands into command prompt with administrator permissions

IPV4:
netsh advfirewall firewall add rule name="Allow ICMPv4-In" protocol=ICMPv4:8,Any dir=in action=allow

IPV6:
netsh advfirewall firewall add rule name="Allow ICMPv6-In" protocol=ICMPv6:128,Any dir=in action=allow

Ensures that the rules are added
netsh advfirewall firewall show rule name="Allow ICMPv4-In"

Method 2: Enable ICMP Ping via Windows Firewall GUI
Open Windows Defender Firewall with Advanced Security.

  1. Click Inbound Rules in the left panel.

  2. Scroll down and locate File and Printer Sharing (Echo Request - ICMPv4-In).

  3. Right-click on it and select Enable Rule.

  4. If you also need IPv6 support, repeat the process for File and Printer Sharing (Echo Request - ICMPv6-In).


Why Enable ICMP Ping?

  • Helps with network troubleshooting and connectivity testing.

  • Essential for monitoring tools that check device availability.

  • Allows for better diagnostics when identifying latency or packet loss issues.

Do you think this article is helpful?

1 people thought this article was helpful (1 votes)