General discussion

How to change default ping parameters

Does anyone know how I can change the default ping timeout from 4000ms in XP? When something doesn't respond it is frustrating waiting for the timeout.

Thanks much!


Discussion is locked

Reply to: How to change default ping parameters
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: How to change default ping parameters
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
- Collapse -
ping -w 1000

C:\>ping /?

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
[-r count] [-s count] [[-j host-list] | [-k host-list]]
[-w timeout] target_name

-t Ping the specified host until stopped.
To see statistics and continue - type Control-Break;
To stop - type Control-C.
-a Resolve addresses to hostnames.
-n count Number of echo requests to send.
-l size Send buffer size.
-f Set Don't Fragment flag in packet.
-i TTL Time To Live.
-v TOS Type Of Service.
-r count Record route for count hops.
-s count Timestamp for count hops.
-j host-list Loose source route along host-list.
-k host-list Strict source route along host-list.
-w timeout Timeout in milliseconds to wait for each reply.

- Collapse -
Right, but...

Yes, that works, but is there a registry setting that can be modified so that it is always 1000 or whatever I want it to be?

- Collapse -
No. Here's why.

It's in the .exe code.


- Collapse -

Thanks, that answers my question. I checked the MS KB but couldn't find it documented anywhere so I ended up here...

- Collapse -
Want to make your own ping?
- Collapse -
No Reg setting BUT I bet that if you...

use your Windows help to read up on the DOSKEY command you will find a way (hint-use the /macrofile switch to keep ping settings readily available)

If your Windows Help is malfunctioning this link will sufficve:

This is essentially what you want to do:

This link might prove helpful too as many have forgotten the value of the command line interface:

- Collapse -
Try this

If you are tired of waiting
press Ctrl-C
It will abort the ping.

CNET Forums

Forum Info