Auto shutdown

T

Terry

I am trying to automate the shutdown of 30 computers in a
public area of our library. I have set up a scheduled
task "c:\winnt\system32\cmd.exe /c autologoff". The batch
file is a series of commands of the form "shutdown
\\computername /t:xxx "This computer will shut down in x
minutes. The library will close in xx minutes." /y /c".
I have administrative privileges for the domain. This
works fine in a test environment with 2-3 computers but
when I try to run it on the floor I get error messages
stating "Unable to shutdown the specified server" and list
four reasons why this may be so. This error message also
seems to prevent the next line of the sequence from
executing.

The only one of the reason that may apply is "the computer
cannot be found on the network". I have an autologoff
program on each of these systems that cycles after ten
minutes of inactivity. Would this be interfering with my
task command? When I send this shutdown command manually
to any of the systems on the public floor they react
fine. I'm at a loss as to why this is happening. Any
suggestions would be appreciated.

Thanks,
 
J

Jerold Schulman

I am trying to automate the shutdown of 30 computers in a
public area of our library. I have set up a scheduled
task "c:\winnt\system32\cmd.exe /c autologoff". The batch
file is a series of commands of the form "shutdown
\\computername /t:xxx "This computer will shut down in x
minutes. The library will close in xx minutes." /y /c".
I have administrative privileges for the domain. This
works fine in a test environment with 2-3 computers but
when I try to run it on the floor I get error messages
stating "Unable to shutdown the specified server" and list
four reasons why this may be so. This error message also
seems to prevent the next line of the sequence from
executing.

The only one of the reason that may apply is "the computer
cannot be found on the network". I have an autologoff
program on each of these systems that cycles after ten
minutes of inactivity. Would this be interfering with my
task command? When I send this shutdown command manually
to any of the systems on the public floor they react
fine. I'm at a loss as to why this is happening. Any
suggestions would be appreciated.

Thanks,


I would use PsShutdown, tip 4086 in the 'Tips & Tricks' at
http://www.jsiinc.com,
and run 1 batch to shutdown all computers from a 'master' computer.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top