Re: Network Timeout in Script
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 08/12/04
- Next message: Patrick Ogenstad: "Re: Logon Script"
- Previous message: AndyMac: "Network Timeout in Script"
- In reply to: AndyMac: "Network Timeout in Script"
- Next in thread: AndyMac: "Re: Network Timeout in Script"
- Reply: AndyMac: "Re: Network Timeout in Script"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Aug 2004 17:21:47 +0200
AndyMac wrote:
> Hi,
>
> Hopefully this is the right forum for this question, it isn't strictly
> scripting, more batch files.
>
> Every night I have a "server" (bad use of term, Win XP SP2 machine) running
> a batch file that connects to client machines (mix of Win2K and WinXP) and
> pulls a log file back. The client machine list is editable and pulled from
> a locally stored text file. The problem I have is that if a client machine
> is off the network or shutdown then the server takes a full minute or two to
> timeout on the connection attempt before moving to the next client machine
> name in the list.
>
> Is there anyway I can change this default timeout for network connections to
> allow this batch file to give up on the machine after 5-10 secs or so and
> move to the next one much quicker?
Hi
Ping the computers first to see if they are alive:
http://groups.google.com/groups?selm=eVMQILgVDHA.1600%40TK2MSFTNGP09.phx.gbl
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: Patrick Ogenstad: "Re: Logon Script"
- Previous message: AndyMac: "Network Timeout in Script"
- In reply to: AndyMac: "Network Timeout in Script"
- Next in thread: AndyMac: "Re: Network Timeout in Script"
- Reply: AndyMac: "Re: Network Timeout in Script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|