Curated by: Luigi Canali De Rossi
 


Wednesday, July 31, 2002

Automatically Shutdown, Reboot, Power-off Your PC

PowerOff
http://www.simtel.net/pub/dl/38753.html
= worth knowing
Software Tool
FREE

Poweroff is a small program for Win95/98/NT/W2K to schedule a shutdown/reboot/logoff/poweroff at a certain time.

You can only do a poweroff if your PC is a ATX and if it supports software poweroff. In Win98, a poweroff is the same as a shutdown.

In order to do a poweroff in WinNT 4.0, you will need a hal.dll that is capable of shutting down your workstation.

You can try one that's supplied with service pack 4 (or 5): hal.dll.softex
- Just extract the service pack (with the /x option),
- Rename the x:\winnt\system32\hal.dll to x:\winnt\system32\hal.dll.sav,
- Copy the hal.dll.softex to x:\winnt\system32\hal.dll
- Reboot
- If you like NT to automatically poweroff at shutdown, set the follwing registry key to 1: HKEY_LOCAL_MACHINE\Software\Microsoft\ WindowsNT\CurrentVersion\Winlogon\ PowerdownAfterShutdown.

You can use Poweroff in batch files by using the command line parameters. Usage: poweroff [poweroff|shutdown|reboot|logoff] [seconds_to_wait] [-f]

You must specify an action to perform and optionally how many seconds to wait before doing the action.

 

 

If -f is specified, then it does a force terminate of all running applications.

poweroff poweroff : powers off your pc right now.
poweroff reboot 20 : reboots your pc in 20 seconds.
poweroff logoff -f : logs of the current user and stops all applications without notification.

Download at:
http://www.simtel.net/pub/dl/38753.html

Find out how to provide state-of-the-art remote technical assistance to your customers.

 
 
Readers' Comments    
blog comments powered by Disqus
 
posted by Robin Good on Wednesday, July 31 2002, updated on Tuesday, May 5 2015

Creative Commons License
This work is licensed under a Creative Commons License.

587

 

 

Real Time Web Analytics