How to Disable Ping Requests in Windows Firewall?

To increase the security of the Windows (client / server), we need to take measures, one of which is to block their ping, which we can easily do through ICMD.
3 min read
Beginner
Disable Ping Requests in Windows Firewall

If you ever thought you didn’t want pinging your Windows Server, you better disable ping requests using the Windows Firewall with Advanced Security Console. By blocking ping requests, also known as ICMP echo requests, you can make your Windows VPS less visible to potential attackers such as DDOS. Follow the steps to stop pinging the server and not let it work.

How to block ping request in ICMP Windows Firewall?

The ping command is a common feature found in operating systems. It can be used to check how fast a device on your network responds and if it’s connected. When you use the ping command, it sends out Internet Control Message Protocol (ICMP) Echo Request messages to the specified computer.

Step 1: Open Windows Firewall

To kickstart Windows firewall, press the “Win+R” keys to open the Run box. Then type “firewall.cpl” and hit enter to get it going. Or type firewall in the search bar of the Start menu and then click on “Windows Firewall” from the search results to get it up and running.

Win+R (firewall.cpl)

Now tap on “Advanced Settings” from the left menu and enter the “Windows Firewall with Advanced Security” environment.

Windows Defender Firewall

Step 2: Create New Rules

On the left hand side, “right-click” on “Inbound Rules” and select the “New Rule option” from the menu.

Windows Defender Firewall with Advanced Security

Once the New Inbound Rule Wizard window appears, select “Custom” and click “Next“.

New Inbound Rule Wizard

Step 3. Configure the Program Sections

Select “All programs” and click “Next” to apply this rule to all programs.

All programs

Step 4: Specify the Protocol and Ports

To disable IPv4 ping on Windows, you need to select the “Protocol type” option and set it to “ICMPv4“. If you’re aiming to block IPv6, opt for “ICMPv6” instead.

New Inbound Rule Wizard

Next, click the “Customize” button at the bottom of the window.

Custom

Go ahead and select “Specific ICMP types.” Then, all you have to do is check the box next to “Echo Request” and hit “OK“.

Customize ICMP Settings

Step 5: Select the Rule Action

At this point, to close Windows ping requests choose “Block the connection” and tap “Next“.

Select the Action

Step 6: Profile Type

At the Profile tab, you’ll be asked ‘When does this rule apply?’ Continue with the default setting and leave all profiles checked and click “Next.”

Profile Type

Step 7: Name the Rule

Now pick a “Name” for that role so you remember what it’s all about and then wrap it up by clicking “Finish.”

Name the Rule

There you go! After doing these steps your windows server will no longer have ping and this is critical for the security of your server information, now you can only enable ping requests using windows firewall.

How to Use the Ping Command in Windows 10 or beyond?

When a ping request is made, the results show how many responses were returned and how long it took to receive them. To get a ping, just follow these steps in your operating system’s terminal or command line.

Open a Terminal or Command Prompt in your Windows system by pressing the Win + R button and typing cmd.

Win+R

In the terminal, enter the ping command along with the IP address or domain name of the device you want to ping. For example, to ping VPSMakers, run the following command:

BASH
ping vpsmakers.com
ping 8.8.8.8
ping

Conclusion

To sum up, by disabling ping requests in your Windows Firewall, you can enhance the security of your system. This simple measure can prevent potential attackers from using ping to identify and potentially target your device, and to further increase the security of connecting to Windows Server, it is better to change the RDP port of your server.

Share:

Was this article helpful?

Your feedback helps us improve our technical guides.

Related Posts

You May Also Like

Explore more tutorials, guides, or documentation, from VPSMakers.

Enabling RDP on Windows Server invloves multiple methods, we've covered enabling with PowerShell, CMD, Server Manager, and Windows Settings.
Jacob Rafet
November 2, 2026
Discover how to check your Linux or Windows VPS performance, monitor system resources, and identify performance issues with built-in tools.
Robert Smith
November 1, 2026
Dropbox can be installed and uninstalled on Ubuntu using two methods: the Terminal and (GUI). In this guide, you'll learn both methods.
Robert Smith
October 31, 2026
Follow this guide to set up an FTP server using FileZilla Server on Windows. Learn how to install it and configure the essential settings.
Jacob Rafet
October 27, 2026