Batch shut down
Does anyone know of or have a utility that will perform a batch shutdown. Similar to WOL but the other way. I've looked around at a few utilities but these have been more manual. We have Classlink here but I'm new to this product so don't know the workings of it yet. I have sent Viglen a few emails to ask if this is possible but had no response. A distinct lack of manuals online or otherwise. I just want to schedule a couple of little batch jobs to shutdown different areas at different times. Can anyone help please?:(
Look at the windows utility shutdown.exe
shutdown.exe /s /m \\%computername%
Stick a line for each PC into a batch file and schedule to run when you want.
We use Psshutdown here. It's pretty straight forward to schedule shutting down a room of PC's you just list them in a txt file.
e.g D:\Shutdown\psshutdown @d:\Shutdown\computers.txt
We have an RM network so use the LST - but at my old school which was Vanilla we used PSShutdown - worked a treat.
I use a kixtart startup script to add a scheduled job to all computers to shut them down at 10pm.
; Shutdown All Computers at 22:00
$ExcludedWorkstations = "R0125"
$ExcludedWorkstations = "R1525"
$ExcludedWorkstations = "MBassant"
$ExcludedWorkstations = "Maintenance"
IF ASCAN($ExcludedWorkstations,@WKSTA)="-1" and NOT EXIST("c:\WINDOWS\Tasks\At1.job")
SHELL ("at 22:00 shutdown -s -f -t 300 -c " + chr(34) + "Your computer is shutting down for the night. You have 5 minutes to save your work. If you wish to carry on using your computer you can turn it back on after it has shutdown." + chr(34))
We use beyondexec - same sort of principle as psshutdown (i.e. command lines in a batch file, one for each PC), but with a few extra features like giving users the option to cancel the shutdown; can also be used to force users to log off (very handy if the fire alarm goes while 40+ students are in the IT Suite, and the next lesson has started by the time you're allowed back in!).
That's the way I do it, works a treat.
Originally Posted by SYSMAN_MK
shutdown /s /m \\computer /t: 60 /c: "message"
in a batch file works here
psshutdown is also on the Admin's Admin Bar - see below.
Originally Posted by steve_nfi