Solved

psshutdown timeout too long

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

One of my most closely kept secrets is revealed in this discussion How to output text on the same line This question was recently posted in EE by Simon336697 (http://www.experts-exchange.com/Programming/Languages/Scripting/Shell/Batch/Q_2459…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 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

25 Experts available now in Live!

Get 1:1 Help Now