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
thanks….needed this
Comment by Rana Asim Wajid — 31, December 2009 @ 6:24 pm |
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 |
[...] 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 |
Thanks it worked for me but would this compromise the security by any chance
Comment by Palani Ponnapakkam — 21, May 2010 @ 2:19 am |
Clear and concise instructions. Thank you.
Comment by Robert Claypool — 24, May 2010 @ 9:33 pm |
thanks very easy
Comment by quho — 12, October 2010 @ 1:01 am |
thnk so much it realyy helps
Comment by Manas Sharma — 14, June 2011 @ 6:19 pm |
Thank you for your instructions. Much appreciated.
Comment by Max Wells — 28, September 2011 @ 4:54 am |
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 |
“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 |
“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 |
Thanks. It worked for me.
Comment by Randeep — 17, April 2012 @ 8:02 pm |