How to Enable/Disable Ping in Windows Server 2019/2016/2012 R2

In this scout, we will learn how to enable ( and disable ) ping response in Windows 2019 /2016 and 2012 R2 servers. Though the original station was written with the screenshots from Windows 2012 R2 server, the same steps are applicable to any late Windows servers. Enabling ping will help you to monitor and troubleshoot network issues on your network. Based on your domain environment policies and settings, the ping request will work accordingly. If it works by default, we will besides show you how to disable the ping in Windows servers. By the direction, we have mentioned the Powershell commands if you want to work on a outback system or Core version of Windows OS. Read Also: How to enable ping on Windows 10 customer personal computer

Allow Ping in Windows Server 2019/2016 – GUI

1) Go to control panel and clear ‘Windows Firewall’.  There are enough of ways to reach manipulate empanel on a Windows server. 2) Click on ‘Advanced Settings’. Firewall advanced settings additionally, you can search for ‘Firewall’ in Windows search to reach the advance Firewall settings as under. 3) In the earlier Operating Systems, we need to create a firewall principle to allow ICMP echo packets. fortunately the rule is already there and we barely need to enable it. To enable the inbound principle that allowing ICMP packets, choose ‘Inbound Rules’. Locate the ‘File and Printer Sharing (Echo Request –ICMPv4-In’), right-click on it and blue-ribbon Enable Rule. That will allow incoming ping requests and answer to them without completely disabling Windows firewall servicing. As we enabled this predominate merely for IPv4 packets, we need to enable the separate similar rule for ICMPv6-In for IPv6 network. Below screenshot shows a Windows server started responding to ping request one the above rule was enabled.

In a like scenario, if a server is responding to ping/ICMP requests, but you need to stop it for fast security, you can just disable the lapp convention. Visit the Windows firewall advances settings and disable ‘File and Printer Sharing (Echo Request –ICMPv4-In’) rule .

Enable/Disable Ping by PowerShell Commands

Geeks like control lines, particularly Windows OS admins love PowerShell. Below commands can be used to enable/disable ping on Windows Server and Client Operating Systems. specially if you work on distant systems via PowerShell or you have the Server Core OS without GUI. Make sure to run below commands ‘as administrator’ on command immediate or PowerShell. Enable IPv4 – This will create an exception in the default Windows firewall rule .

netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol="icmpv4:8,any" dir=in action=allow

For IPv6:

netsh advfirewall firewall add rule name="ICMP Allow incoming V6 echo request" protocol="icmpv6:8,any" dir=in action=allow

To disable ping on IPv4:

netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=block

For IPv6:

netsh advfirewall firewall add rule name="ICMP Allow incoming V6 echo request" protocol=icmpv6:8,any dir=in action=block

As ping is a utilitarian utility to troubleshoot and find the presence of a network device, it is completely depending on the network security policies of your environment to enable or disable it. We mentioned the easy steps you can do by GUI and control prompt in this lead.

source :
Category : Tech

About admin

I am the owner of the website, my purpose is to bring all the most useful information to users.

Check Also


Manage participants in a zoom meeting webinar

Call the people who attend the meet as follows Alternate host host Who scheduled the …

Leave a Reply

Your email address will not be published.