PC Review


Reply
Thread Tools Rate Thread

batch file timing out

 
 
Tim
Guest
Posts: n/a
 
      21st Jul 2004
I have a login script which i think may be timing out
halfway through. It maps local network drives and then
maps drives from another lan via a ISDN line which often
is very busy(slow). I think that when the isdn line is
busy eventally the script just gives up and stops where
it is, instead of copleting the script. Is there a way of
not letting it timeout? Or do you think my problem is
elsewhere?

Cheers
 
Reply With Quote
 
 
 
 
Michael Bednarek
Guest
Posts: n/a
 
      22nd Jul 2004
On Tue, 20 Jul 2004 20:43:16 -0700, "Tim"
<(E-Mail Removed)> wrote in
microsoft.public.win2000.cmdprompt.admin:

>I have a login script which i think may be timing out
>halfway through. It maps local network drives and then
>maps drives from another lan via a ISDN line which often
>is very busy(slow). I think that when the isdn line is
>busy eventally the script just gives up and stops where
>it is, instead of copleting the script. Is there a way of
>not letting it timeout? Or do you think my problem is
>elsewhere?


See Group Policy:

Computer Configuration/
Administrative Templates/
System/
Logon/
Maximum wait time for Group Policy scripts

<QUOTE>
Determines how long the system waits for scripts applied by Group Policy
to run.

This policy limits the total time allowed for all logon, startup, and
shutdown scripts applied by Group Policy to finish running. If the
scripts have not finished running when the specified time expires, the
system stops script processing and records an error event.

By default, the system lets the combined set of scripts run for up to
600 seconds (10 minutes), but you can use this policy to adjust this
interval.

To use this policy, in the Seconds box, type a number from 1 to 32,000
for the number of seconds you want the system to wait for the set of
scripts to finish. To direct the system to wait until the scripts have
finished, no matter how long they take, type 0.

This interval is particularly important when other system tasks must
wait while the scripts complete. By default, each startup script must
complete before the next one runs. Also, you can use the "Run logon
scripts synchronously" policy to direct the system to wait for the logon
scripts to complete before loading the desktop.

An excessively long interval can delay the system and inconvenience
users. However, if the interval is too short, prerequisite tasks might
not be done, and the system can appear to be ready prematurely.
</QUOTE>

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"
 
Reply With Quote
 
Tim
Guest
Posts: n/a
 
      22nd Jul 2004
cheers!!!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A script/batch to kill a batch file from scheduled tasks? Bogdan Windows XP Configuration 1 31st Jul 2009 06:05 AM
batch file call from a macro - how ? and required batch format VB-rookie Microsoft Excel Programming 3 5th Sep 2008 10:33 PM
calling multiple batch files from within a batch file yawnmoth Windows XP General 3 26th May 2008 06:47 PM
Batch file works in command line but not as a batch Danger Windows XP General 7 5th Feb 2008 04:50 PM
Save batch window msgs to a file from the batch prog Stephen Rainey Windows XP General 3 10th Jan 2007 12:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:20 PM.