[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

psshutdown timeout too long

Posted on 2008-10-06
2
Medium Priority
?
1,304 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses

656 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