Pinging Windows Server 2008

Windows Firewall

Enabling File and Printer Sharing (Echo Request - ICMPv4-In)

One of the most common ways for an administrator to see if a particular server is up or not is to send an ICMP packet to the server or in orther words, to ping it.  This is also known as sending an Echo Request to the server.

As Microsoft tightens security on Windows Server 2008, they have the built-in Windows Firewall blocking ICMP requests by default.  We have a couple of options to unblock this or enable the ping request and reply.  Here’s how you can turn this on using the MMC snap-in:

  1. Open Server Manager
  2. Expand Configuration section
  3. Expand Windows Firewall with Advanced Security (OK, Microsoft, is there a Basic one???)
  4. Click on Inbound Rules
  5. In the middle pane, scroll down and find “File and Printer Sharing (Echo Request – ICMPvX-in)” where the X stands for the IP version number
  6. Right click it and select Enable

If you are running the core version or if you wish to do this via command line, you can accomplish the same thing by issuing the following netsh command:

netsh firewall set icmpsetting 8

Netsh seems to be the simplest way to enable ping on Windows Server 2008 however if lacks some advanced options.  I am not saying that it can’t be done – just stating the obvious that for advanced options, it’s better to get it done via the GUI.

If you want to edit advanced options then right click it and select Properties option instead.  With advanced options, you can fine tune other options like changing the scope so only a certain computers or IP address can ping your server or define which address will response to an ICMP request.

Keep in mind that by enabling ping on your servers, your servers could be subjected to DoS (deny of service) attack since flooding a server with a large number of ping requests is very easy to do.  That’s why when Pinkie was designed, I had specifically set the lowest Ping Delay Time option to be 100 milliseconds.  I could have set it for 1 millisecond or no delay at all.  But can you imagine what happens if someone was to use the tool for malicious intent?

About Brian Dao

I am a former United States Paratrooper; served in the 504th Parachute Infantry Regiment of the 82nd Airborne Division back in the 90's. I've been working in the IT field for over 10 years and have had various positions to include database & server administration, web/desktop application programming and network admin. My current job is to keep the bits from falling out of the switches at Hewlett Packard. Pinkie is a software that I designed and programmed in the wee hours. It's been in the works for over three years during which time, plenty of skittles and cokes have been consumed.


  1. anxiety says:

    Very interesting info!
    Perfect just what I was looking for!

  2. Boneless says:

    Hi, thanks for the post. I need some help, how can i enable ping response from a machine that is inside the network to internet?… in other words, i have a virtual lab, it has 2 machines: windows 2008 std (the server) and windows xp (the client), after read your post i can ping the server from the client, but, i can’t ping from the client to internet (i.e ping, the dns service resolves the ip for but the ping doesn’t respond. Thanks a lot for any help. Sorry for my english :D

  3. Pal says:

    Perfect Solution. Thanks.

  4. Lino says:

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get several e-mails with the same comment.
    Is there any way you can remove people from that service?

  5. Have you ever thought about adding a little bit more
    than just your articles? I mean, what you say is important
    and everything. But think about if you added
    some great pictures or video clips to give your posts more, “pop”!
    Your content is excellent but with images and videos,
    this site could undeniably be one of the very best in its
    niche. Superb blog!

  6. Amy says:

    Can you tell us more about this? I’d love to find out more details.

  7. Berenice says:

    My spouse and I stumbled over here different website
    and thought I might as well check things out. I like what I see
    so now i am following you. Look forward to checking out your
    web page again.

  8. Kristal says:

    This post will assist the internet users for creating new weblog or even a weblog from start
    to end.

  9. Gia says:

    If you wish for to increase your experience simply keep visiting
    this site and be updated with the newest information posted here.

  10. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each
    time a comment is added I get four e-mails with the same comment.
    Is there any way you can remove people from that service?
    Appreciate it!

  11. Kelvin says:

    Fantastic beat ! I would like to apprentice even as you amend your site,
    how can i subscribe for a weblog web site? The
    account helped me a appropriate deal. I were tiny bit familiar
    of this your broadcast provided vibrant clear

  12. Gilda says:

    Great post. I was checking continuously this blog
    and I am impressed! Extremely useful information particularly the ultimate section :) I handle such information a lot.
    I used to be seeking this particular info for a very long time.
    Thank you and best of luck.

Speak Your Mind