Articles on: Dedicated Server / VPS

How to Enable ICMP on Windows


Enabling ICMP Ping Responses on Windows


By default, Windows Firewall blocks ICMP Echo Requests (ping), preventing your device from responding to ping tests. This can cause issues when troubleshooting network connectivity or monitoring your system's availability. In this guide, we’ll show you how to enable ICMP ping responses using both the command line and the Windows Firewall graphical interface.


Method 1: Enable ICMP Ping via Command Line


Follow these steps to allow ping responses using the command line:


  1. Open Command Prompt as Administrator.
  2. Enter the following command to allow ICMPv4 ping requests:

netsh advfirewall firewall add rule name="Allow ICMPv4-In" protocol=ICMPv4:8,Any dir=in action=allow
  1. If you also need to enable ping for IPv6, enter:

netsh advfirewall firewall add rule name="Allow ICMPv6-In" protocol=ICMPv6:128,Any dir=in action=allow
  1. To verify that the rule is active, run:

netsh advfirewall firewall show rule name="Allow ICMPv4-In"


✅ Once completed, your Windows system will now respond to ping requests.


Method 2: Enable ICMP Ping via Windows Firewall GUI


Follow these steps to allow ping responses using the Windows Firewall settings:


  1. Open Windows Defender Firewall with Advanced Security.
  2. Click Inbound Rules in the left panel.
  3. Scroll down and locate File and Printer Sharing (Echo Request - ICMPv4-In).
  4. Right-click on it and select Enable Rule.
  5. If you also need IPv6 support, repeat the process for File and Printer Sharing (Echo Request - ICMPv6-In).


✅ Your Windows device will now respond to ping requests from other devices on the network.


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.


Get 30% Off Your First VPS

Looking for reliable hosting? Get 30% off your first VPS with FREAKHOSTING! Use promo code KB-30 at checkout.


👉 Order Now


🚀 Experience high-performance VPS hosting with AMD Ryzen and EPYC processors, 10Gbps speeds, and premium DDoS protection!


Still Need Help?If you encounter any issues or need further assistance, our support team is here to help. Submit a ticket here, and we'll get back to you as soon as possible.

Updated on: 02/03/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!