Close Menu
    What's Hot

    From Phishing to AI-Driven Social Engineering: Why Human Trust Remains the Primary Attack Vector

    April 20, 2026

    How Overreliance on Security Tools Creates Blind Spots

    April 20, 2026

    Migrating off HP-UX: Why the Global Crisis Makes Emulation Your Best Bet Right Now  

    April 15, 2026
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Trading Gear
      • Laptops
    SysprobsSysprobs
    Home»Windows»Windows Servers»How to Enable Ping in Windows Server 2019/2016/2012 R2 Firewall

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

    DineshBy DineshUpdated:August 25, 2022
    Share
    Facebook Twitter LinkedIn Pinterest Email

    This guide will teach us how to enable ping response in Windows 2019/2016 and 2012 R2 servers. Though the original post was written with the screenshots from Windows 2012 R2 server, the same steps apply to any recent Windows servers, including version 2022.

    Enabling ping will help you to monitor and troubleshoot network issues on your network. The ping request will work according to your domain environment policies and settings. If it works by default, we will also show you how to disable the ping in Windows servers. We have mentioned the Powershell commands if you want to work on a remote system or Core edition of Windows OS.

    Read Also: How to enable ping on Windows 10/11 client PC

    Enable Ping in Windows Server 2019/2022/2016 – GUI

    1) Go to the control panel and open ‘Windows Firewall’. There are plenty of ways to reach the control panel on a Windows server.

    Windows firewall

    2) Click on ‘Advanced Settings.’

    Firewall advanced settings

    Additionally, you can search for ‘Firewall’ in Windows search to reach the advanced Firewall settings as below.

    Search For Windows Firewall

    3) In the earlier Operating Systems, we need to create a firewall rule to allow ICMP echo packets. Luckily the rule is already there, and we just need to enable it.

    To enable the inbound rule allowing ICMP packets, select ‘Inbound Rules.’

    Locate the ‘File and Printer Sharing (Echo Request –ICMPv4-In’), right-click on it and select Enable Rule.

    Enable Ping on Windows Server

    That will allow incoming ping requests and respond to them without completely disabling the Windows firewall service. As we enabled this rule only for IPv4 packets, we need to enable a separate similar rule for ICMPv6-In for the IPv6 network.

    The below screenshot shows a Windows server started responding to ping requests once the above rule was enabled.

    Ping reply on Windows server

    In a similar scenario, if a server is responding to ping/ICMP requests but needs to stop it for tight security, you can simply disable the same rule.

    Visit the Windows firewall advances settings and disable the ‘File and Printer Sharing (Echo Request –ICMPv4-In’) rule.

    Enable Ping by PowerShell Commands in Windows Servers

    Geeks like command lines, especially the Windows OS admins love PowerShell. We can use the below commands to enable/disable ping on Windows Server and Client Operating Systems. Especially if you work on remote systems via PowerShell or have the Server Core OS without GUI.

    Make sure to run the below commands ‘as administrator’ on the command prompt 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 useful utility to troubleshoot and find the presence of a network device, it completely depends on the network security policies of your environment to enable or disable it. We mentioned the easy steps you can do by GUI and command prompt in this guide.

    Windows 2012 R2 Windows 2012 Server Windows 2016 Windows 2019 Server
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    10 Best Home Server OS in 2026 (Linux & Windows) for Media Lovers

    December 24, 2025

    [Fixed] Windows Update Stuck at 0% on Server 2016/2019/2022

    February 2, 2024

    Extend Volume Greyed Out in Windows Server, How to Extend a Volume?

    February 9, 2023

    Active Directory property ‎’homeMDB‎’ is Not Writeable [Fixed]

    January 25, 2023

    How to Join Domain over VPN – First Time Login Too

    November 15, 2022

    How to Join Windows 11 to Domain – Remove Also

    October 17, 2022

    4 Comments

    1. vinay on June 26, 2014 5:43 pm

      Very good article. Thanks for your help.

    2. Name on August 25, 2014 10:03 pm

      What about IPv6?

    3. Cesar Ordonez on October 28, 2018 6:48 am

      Excellent reference! Simple, clear and straightforward. Thanks a lot.

    4. Dattatray on December 11, 2020 8:34 am

      Thanks, Issue resolved.

    Top Posts

    Where is the Outlook QR code? How to Use?

    February 16, 2024

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025

    Download and Use Windows 7 Pre-Installed VirtualBox Image

    May 3, 2022
    Don't Miss

    From Phishing to AI-Driven Social Engineering: Why Human Trust Remains the Primary Attack Vector

    April 20, 2026

    The evolution of social engineering has placed credential leak detection, exposed asset monitoring, and cyber…

    How Overreliance on Security Tools Creates Blind Spots

    April 20, 2026

    Migrating off HP-UX: Why the Global Crisis Makes Emulation Your Best Bet Right Now  

    April 15, 2026

    GTA 5 Troubleshooting Guide: Common Windows Errors and Solutions 

    April 14, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    From Phishing to AI-Driven Social Engineering: Why Human Trust Remains the Primary Attack Vector

    April 20, 2026

    How Overreliance on Security Tools Creates Blind Spots

    April 20, 2026

    Migrating off HP-UX: Why the Global Crisis Makes Emulation Your Best Bet Right Now  

    April 15, 2026
    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and System Administrators. We bridge the gap between enterprise infrastructure and the future of fintech security. From Windows virtualization to Blockchain node management, we provide technical guides for the modern digital economy.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.