How to Enable ICMP on Windows
Enabling ICMP Ping Responses on Windows
Method 1: Enable ICMP Ping via Command Line
Follow these steps to allow ping responses using the command line:
- Open Command Prompt as Administrator.
- 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
- 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
- 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:
- Open Windows Defender Firewall with Advanced Security.
- Click Inbound Rules in the left panel.
- Scroll down and locate File and Printer Sharing (Echo Request - ICMPv4-In).
- Right-click on it and select Enable Rule.
- 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.
🚀 Experience high-performance VPS hosting with AMD Ryzen and EPYC processors, 10Gbps speeds, and premium DDoS protection!
Updated on: 02/03/2025
Thank you!