1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: Reducing timeout values

Discussion in 'Windows XP' started by udi2000il, Oct 9, 2008.

Thread Status:
Not open for further replies.
Advertisement
  1. udi2000il

    udi2000il Thread Starter

    Joined:
    Oct 9, 2008
    Messages:
    7
    Hi guys,

    I'm trying to find a way to reduce the connection timeout value used by Windows OS. For example, at the moment, when I'm using Telnet or MS-RDP client, it takes the OS about 20 sec to tell me that it can't find the remote host. I want to reduce this timeout to about 5 sec.
    How do I do that?
    P.S: I've already tried the "DNSQueryTimeouts" reg key - with no success.

    Thanks,
    Udi
     
  2. Mumbodog

    Mumbodog

    Joined:
    Oct 3, 2007
    Messages:
    7,889
    Do you think 5 seconds is long enough to resolve the connection?

    I think there is a reason the default is 20.
     
  3. udi2000il

    udi2000il Thread Starter

    Joined:
    Oct 9, 2008
    Messages:
    7
    The user and the host are located on the same LAN. 5 sec are enough.
    Anyway, how can I configure Windows to do this?
     
  4. Mumbodog

    Mumbodog

    Joined:
    Oct 3, 2007
    Messages:
    7,889
    I have not discovered a way yet, sorry.
     
  5. TheOutcaste

    TheOutcaste

    Joined:
    Aug 7, 2007
    Messages:
    9,028
    Check the TcpMaxConnectRetransmissions registry setting described in this article: http://support.microsoft.com/kb/314053

    The initial time out is 3 seconds, this doubles with each attempt. The default of 2 re-tries gives:
    3+6+12=20 seconds.
    If you set this to 1 you'll have 9 seconds to wait. Set it to 0 and it'll be 3 seconds.
    This will affect ALL tcp/ip connections, so setting this to zero could cause many Page cannot be displayed errors for busy websites.


    HTH

    Jerry
     
  6. udi2000il

    udi2000il Thread Starter

    Joined:
    Oct 9, 2008
    Messages:
    7
    It did the trick - Thanks!
     
  7. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/757616

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice