PDA

View Full Version : Forcing a Win2K PC to power off at a specific time



MichaelFH
07-18-2001, 03:52 PM
Does anybody know of a way of making a standalone Win2K PC powering off at a specific time of day? As there may be users on the PC it would be good if there were a "This PC will shut down in x minutes" message, but I do not want there to be any way of the user preventing the shutdown.

Regards

Michael

myanimator
07-18-2001, 06:29 PM
There is an utility in the Win2k Resource (and NT resource kit) called Shutdown.exe. With this you can shut down a machine or reboot it. With the different flags you may set a timer of X amount of seconds and create a customized message.

The user can not prevent the shutdown but you can remotely cancel the shutdown if you need to.

Use the AT command to schedule it or use the Add Scheduled Task option to add it.

:o)

MichaelFH
09-26-2001, 02:57 PM
Thanks very much for your post. For some inexplicable reason I have only just got the email of your post! :). It looks likes prommising if I can manage to write a batch file to calculate the remaining time between when the PC is logged on and when we want the PCs to shut down.


Thanks again

Regards

Michael :)

RWSchlatter
09-26-2001, 04:39 PM
use scripting (WSH) rather than plain "old" .BAT file - checkout the Scripting Guide at this site.

______________
Regards - Richard

MichaelFH
09-28-2001, 12:17 PM
Thanks for your suggestion Richard. I will take a look at the scripting guide and see what I can achieve! Keep an eye out for some scripting questions!!!

Thanks again

Regards

Michael

xpunkx
11-30-2001, 09:12 PM
I looked at microsoft.com and couldn't find this utility could someone help

MichaelFH
01-21-2002, 05:40 PM
Found a solution!

For anybody else looking for a utility to shutdown or log a PC off at a specific time look no further than PowerOff3.0. It is freeware and is available for download at TuCows.com amongst other places. It has a good GUI and can easily be set up so that the user cannot override settings - if that is what is required. We now have it running on five PCs. Take a look.

Regards

Michael