Solved

psshutdown timeout too long

Posted on 2008-10-06
2
1,210 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Using dates in 'DOS' batch files has always been tricky as it has no built in ways of extracting date information.  There are many tricks using string manipulation to pull out parts of the %date% variable or output of the date /t command but these r…
This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now