Patrick\’s Bytes

4, May 2008

Enable Ping Replies on Windows Server 2008

Filed under: Windows,Windows Server 2008 — patrickyong @ 9:12 pm

Due to security concern, by default you are not able to Ping a Windows Server 2008 machine. At first I though there is a problem with my network but actually it’s disabled. To enabled Ping reply from Windows Server 2008, goto Window Firewall with Advance Settings from Administrator Tools menu.


Look inside Inbound Rules, scroll down to File and Printer Sharing, right click and enable this rule. (pic below)


After that the check icon will turn green


For Windows Server Core which does not have any UI, you can enable this rule from the command prompt.

netsh firewall set icmpsetting 8

To disable it type

netsh firewall set icmpsetting 8 disable 


  1. thanks….needed this

    Comment by Rana Asim Wajid — 31, December 2009 @ 6:24 pm | Reply

  2. Thanks so much for this. Every time I install server I forget about this and spin my wheels trying to figure out why I can’t ping the newly configured machine. I’ll be blogging about this as well so I can remember it next time I run into it :-).

    By the way, the netsh firewall command has been deprecated. The new command is netsh advfirewall firewall. Unfortunately I haven’t found any way to simple enable and disable rules using that syntax. Instead they seem to require you to create a new rule. I’m sure it’s possible, but I haven’t found it yet.

    Comment by David Potter — 27, February 2010 @ 1:48 am | Reply

  3. […] Enable Ping Replies on Windows Server 2008 by Patrick Yong […]

    Pingback by Enable Ping on Windows Server 2008 | David’s Technical Musings — 27, February 2010 @ 1:51 am | Reply

  4. Thanks it worked for me but would this compromise the security by any chance

    Comment by Palani Ponnapakkam — 21, May 2010 @ 2:19 am | Reply

  5. Clear and concise instructions. Thank you.

    Comment by Robert Claypool — 24, May 2010 @ 9:33 pm | Reply

  6. thanks very easy 😉

    Comment by quho — 12, October 2010 @ 1:01 am | Reply

  7. thnk so much it realyy helps 🙂 🙂

    Comment by Manas Sharma — 14, June 2011 @ 6:19 pm | Reply

  8. Thank you for your instructions. Much appreciated.

    Comment by Max Wells — 28, September 2011 @ 4:54 am | Reply

  9. Thanks. It worked for me instantly. Just one concern that “file sharing” on a server sounds risky. Is there a rule just for enabling ping?

    Comment by JP — 14, October 2011 @ 11:55 pm | Reply

  10. “netsh advfirewall firewall” synax (be sure to choose your profile, this is set to any):
    netsh advfirewall firewall set rule name=”File and Printer Sharing (Echo Request – ICMPv4-In)” new enable=yes profile=any

    Comment by anonymous — 17, March 2012 @ 12:36 am | Reply

    • “netsh advfirewall firewall” synax for IPv6 (be sure to choose your profile, this is set to any):
      netsh advfirewall firewall set rule name=”File and Printer Sharing (Echo Request – ICMPv6-In)” new enable=yes profile=any

      Comment by anonymous — 17, March 2012 @ 12:38 am | Reply

  11. Thanks. It worked for me.

    Comment by Randeep — 17, April 2012 @ 8:02 pm | Reply

  12. Keep in mind that by enabling ping reply 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. You should take additional steps to further lock down the scope by right click on the File and Printer Sharing (Echo Request – ICMPv4 In) rule and if possible, specify which servers/computers and/or IP range can ping your servers.

    Comment by Brian Dao — 30, May 2012 @ 2:39 am | Reply

    • though the software firewall still has to recieve the packet, filter and drop. which isn’t that much less demanding that just echoing the request back. Also there are much more effective ways to DDoS a public server than using ICMP!

      Comment by Adam Scarborough — 31, May 2012 @ 8:46 pm | Reply

      • Yes, very true. It doesn’t stop Windows Firewall from receiving and processing the packets at all unless there’s an external device in play. However, it does discourage others from flooding your network with ICMP traffic since they don’t know exactly where on your network you are dropping it.

        In a hosted environment, I find this works very well since most ISPs don’t really want to filter out any traffic unless they are under a massive attack.

        Comment by Brian Dao — 31, May 2012 @ 8:59 pm

  13. Still not working, getting no reply from my server.
    It has an active internet connection since I can access it through Team Viewer.

    How to resolve?

    Comment by v0ice — 30, August 2012 @ 3:13 pm | Reply

  14. thank u very much sir

    Comment by indra — 19, September 2012 @ 5:36 pm | Reply

  15. 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 😀

    Comment by Boneless — 22, October 2012 @ 2:28 am | Reply

  16. Thanks! My home server was working fine and I could connect remotely, but ping just wasn’t working. Searched on Google, and this was the first result. I’m getting ping replies perfectly now. Couldn’t be easier.

    Comment by Paul — 22, November 2012 @ 7:48 am | Reply

  17. I really blog also and I’m writing something very
    close to this excellent posting, “Enable Ping Replies on Windows Server 2008 Patrick\s Bytes”.
    Will you care in the event that I personallyemploy a
    number of of your personal suggestions? Thanks for
    your effort -Bradly

    Comment by — 14, February 2013 @ 3:30 pm | Reply

  18. i make this changes but not working can you tell me why not ping

    Comment by boss — 25, March 2013 @ 8:16 pm | Reply

  19. An impressive share! I have just forwarded this onto a coworker who has been conducting a little research on this.
    And he actually bought me dinner due to the fact that I found it for him.
    .. lol. So allow me to reword this…. Thank YOU for
    the meal!! But yeah, thanks for spending the time
    to discuss this issue here on your web site.

    Comment by whatsapp — 27, April 2013 @ 11:33 pm | Reply

  20. Hi there! Someone in my Myspace group shared this site with
    us so I came to check it out. I’m definitely enjoying the information. I’m book-marking and will be tweeting
    this to my followers! Wonderful blog and wonderful style and design.

    Comment by sagging breasts — 29, April 2013 @ 11:19 pm | Reply

  21. Most of the ingredients in Vig – RX Plus aid in increasing the flow of blood to
    the penile area. Their benefits are huge and they do not harm your body.
    Fortunately, Vig – RX was able to do just that and more.

    Comment by vigrx plus wikipedia — 19, May 2013 @ 6:00 am | Reply

  22. Do you mind if I quote a couple of your articles as long as I provide credit and sources back to your weblog? My website is in the exact same area of interest as yours and my visitors would certainly benefit from a lot of the information you present here. Please let me know if this okay with you. Many thanks!

    Comment by vps — 27, May 2013 @ 1:43 pm | Reply

    • Perfect job – thanks! 🙂

      Comment by BS — 5, June 2013 @ 6:20 pm | Reply

  23. I seldom comment, however I read through a few responses here Enable Ping Replies on Windows Server 2008 | Patrick\’s Bytes. I do have a couple of questions for you if it’s allright.
    Could it be just me or does it appear like some of the responses look like they
    are coming from brain dead individuals? 😛 And, if you are posting on additional online sites, I
    would like to follow anything fresh you have to post. Would you make a
    list of all of your public pages like your Facebook page, twitter feed,
    or linkedin profile?

    Comment by — 15, June 2013 @ 1:02 pm | Reply

  24. Hi, I do think this is an excellent web site.
    I stumbledupon it 😉 I’m going to come back yet again since i have bookmarked it. Money and freedom is the greatest way to change, may you be rich and continue to guide others.

    Comment by buy idol lip — 18, June 2013 @ 12:28 pm | Reply

  25. Thank you very much, you are great.

    Comment by Eranda Jayamaha — 23, October 2013 @ 1:04 pm | Reply

  26. Pretty! Thiis is an incredibly wonderful article.
    Thanks a loot for supplying this info.

    Comment by Games Hack tools download — 9, June 2014 @ 5:01 am | Reply

  27. Excellent simple answer to a very annoying issue, here I am able to subnet and do vlsm, create OSPF networks and could’nt for the life of me understand why I can ping the router but not ping the server from the router.

    Thanks Mate

    Comment by Akhtar Chaudhary — 23, January 2015 @ 2:38 am | Reply

  28. Thanks it works

    Comment by Adil — 29, July 2015 @ 6:50 pm | Reply

  29. nice info mas , Afric

    Comment by John — 14, August 2015 @ 12:04 pm | Reply

  30. Well, this really work for me, I go to command line (CMD) and type “ping hlsserver” and there is a response bravo!!!!!, but the problem now is that if I use Run option in Windows UI is still no response, what could be?

    Comment by Arthur Gallegos — 27, May 2016 @ 4:56 am | Reply

  31. If you want to use WUI to Ping reply from Windows Server 2008, going to Window Firewall with Advance Settings from Administrator Tools menu and activate in Inbound Rules also rule, after that the check icon will turn green also.

    Comment by Arthur Gallegos — 27, May 2016 @ 11:07 pm | Reply

  32. Very nice blog post . I definitely appreciate your site. Continue the good work!

    Comment by Darrick Schoeninger — 19, April 2017 @ 4:36 pm | Reply

  33. It does work for me also,can u suggest other method.

    Comment by Arvind — 11, September 2017 @ 2:58 pm | Reply

  34. […] Enable Ping Replies on Windows Server 2008 by Patrick Yong […]

    Pingback by Enable Ping on Windows Server 2008 | David's Technical Musings — 15, September 2017 @ 3:11 am | Reply

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Create a free website or blog at

%d bloggers like this: