Solved

psshutdown timeout too long

Posted on 2008-10-06
2
1,254 Views
Last Modified: 2012-08-14
Hi,

I currently run the batch script:
start c:\psshutdown.exe -s -t 03 -f @ws.txt

WS.txt is simply a list of every computer name of the 140 odd workstations in this site. Now, I have tested this out and it works fantastic, but the problem is it takes up to an hour just to shutdown a 20 workstation computer lab. All workstations are WinXP SP2.

Is there a way to make psshutdown work faster instead of taking 2-3mins to timeout if it can't find if a machine?
0
Comment
Question by:Fudd049
2 Comments
 
LVL 8

Accepted Solution

by:
sstone55423 earned 125 total points
ID: 22655898
http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx
 
The -t paramater can be used, and it defaults to 20 seconds, set it to less.  You can use the -n also to keep from waiting forever for computers that don't respond.
 
0
 

Author Closing Comment

by:Fudd049
ID: 31503685
Thanks mate! I should have just RTFM afterall :P
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question