How to Enable & Disable Ping (ICMP Echo Requests) in Windows Server 2022 Firewall

2021-09-20 By Nathan 87017 Views windows ping networking firewall
13 reviews

Enabling Ping will make network troubleshooting easier which allows all inbound ICMP traffics and this also includes the echo requests by using this common command.


pingdiagram


Requests will expire as shown in the image below before Ping is enabled.

ping1


This guide outlines the basic steps to enable and disable Ping from the Windows firewall on Windows 2022 server.


To Enable Ping for IPv4



  1. Open the firewall on Windows server 2022 by giving a command in firewall.cpl in the run dialog box. (To get the run dialog box, please use the shortcut key Windows key+R).

    windows22firewall1

  2. Click on Advanced settings from the left-hand side options and this page will lead to the firewall control panel as indicated in the screenshot.

    windows22firewall2

  3. The firewall control panel will be shown once the advanced settings are clicked.

    windows22firewall3

  4. On clicking the Inbound Rules, the set of rules set page will be displayed. Locate File and Printer Sharing (echo request: ICMPv4 in).

    windows22firewall4


    Right-click on the rule list and click Enable Rule, this will enable the Ping functionality for the server.

    Once done, please close the firewall. You would be able to test the ping in the shell or command prompt from your local end.

    windows22firewall5


To Enable Ping for IPv6

Select the Locate File and Printer Sharing (echo request: ICMPv6 in) from the Inbound Rules:

windows22firewall6


To Disable Ping for IPv4



Select the Locate File and Printer Sharing (echo request: ICMPv4 in) from the Inbound Rules - Right-click and then choose Disable Rule.

windows22firewall7


To Disable Ping for IPv6

Select the Locate File and Printer Sharing (echo request: ICMPv6 in) from the Inbound Rules - Right-click and then choose Disable Rule.

windows22firewall8


Related Tutorials


Other Information

What do you think about this article?

Rate this article
LayerStack Promotion
Need assistance?

Try this guide to receive free bundled services at signup on a new free account.

Sign Up

Your Feedback Is Important

We hope you’ll give the new products and updates a try. If you have an idea for improving our products or want to vote on other user ideas so they get prioritized, please submit your feedback on our Community platform. And if you have any questions, please feel free to ask in the Community or contact our Technical Support team.