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.

image

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

image

After that the check icon will turn green

image

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 

12 Comments »

  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


RSS feed for comments on this post. TrackBack URI

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.