Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to make PC reboot after certain time? 1

Status
Not open for further replies.

Yescha

Programmer
Aug 10, 2002
16
CA
How can we turn every PCs to reboot after certain time like 30 minutes or 20 minutes sothat ppl using PUBLIC pcs all the day feel the need to leave and others can get chance to use it?

Do you know any software or idea for it?

Like Linux, Want to be Linux Guru
 
It's WinXP. But, it will be nice if someone can give idea for all Window versions.

Like Linux, Want to be Linux Guru
 
set up a scheduled task that runs the "shutdown.exe" command every 30 minutes.

_____________________________________________________________________________________________________________________
There are 10 kinds of people in the world; those who understand binary and those who don't.
 
sorry, extra info:

use SHUTDOWN.EXE -r -t 30 -c "Computer will shutdown in 30 seconds. Please save your work immediately"

-r = shutdown and reboot
-t 30 wait 30 seconds
-c "" display a message to the user

_____________________________________________________________________________________________________________________
There are 10 kinds of people in the world; those who understand binary and those who don't.
 
Good one marcdoyle

In earlier versions of Windows, you may have to enclose the <Path> 'only' in quotes (ex "C:\Program Files\My Restart File\Shutdown...") to the Shutdown executable....or possibly even use the DOS 8.3 for the <Path>..

Also you may need to use backslash (/) instead of Hyphen (-) for the commands..not sure.
View this for more about using scheduled tasks in 95/98/ME
thread615-701540


TT4U

Notification:
These are just &quot;my&quot; thoughts....and should be carefully measured against other opinions.
Backup All Important Data/Docs..All involved shall be spared the grief.
 
Now I can say sorry....I knew there was a Rundll32 command needed for the older Win versions (and I didn't find shutdown.exe on my 98 box)...see;


feel better now[pipe]

TT4U

Notification:
These are just &quot;my&quot; thoughts....and should be carefully measured against other opinions.
Backup All Important Data/Docs..All involved shall be spared the grief.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top