Allow Pings to Windows XP using netsh

Here’s a quick note on allowing Pings (ICMP Echo Response) to your Windows XP from command line. You must be administrator.

netsh firewall set icmpsetting 8 enable

Quite simple.

If you’re not logged on as administrator and you bring up a normal command prompt, you can use:

runas /user:administrator netsh

Supply the administrator credentials and then when the netsh window pops up, you can set ICMP echo by just typing:

firewall set icmpsetting 8 enable

1 thought on “Allow Pings to Windows XP using netsh”

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.