?
Solved

psshutdown timeout too long

Posted on 2008-10-06
2
Medium Priority
?
1,288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Accepted Solution

by:
sstone55423 earned 500 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 Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

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…
Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

770 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