Reboot Computer after X hours

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Does anybody know of a way to schedule a computer reboot after x amount of
hour of uptime?

We have several remote sites with users that do not reboot their computer,
leaving them on to 600hrs+. Users then come across problems and the Service
Desk asks these users to reboot their computers as a first instance.

Is there a way to automatically set Windows to reboot after it has been
running for 100hrs without a reboot?
Thanks
 
Hello,

Does anybody know of a way to schedule a computer reboot after x amount of
hour of uptime?

We have several remote sites with users that do not reboot their computer,
leaving them on to 600hrs+. Users then come across problems and the Service
Desk asks these users to reboot their computers as a first instance.

Is there a way to automatically set Windows to reboot after it has been
running for 100hrs without a reboot?
Thanks

You can use Group Policy to configure a Startup script or you can use Scheduled Tasks to start a task when the computer starts.
If you schedule it, don't run it in the logged on user context.
In both cases, start the following batch, which requires PsShutdown, tip
4086 » PsShutdown command-line freeware works on both the local and remote computers.
in the 'Tips & Tricks' at http://www.jsifaq.com



@echo off
setlocal
@ping -n 360000 127.0.0.1>nul
PsShutdown -r -t 300 -m "This computer will restart in 5 minutes. Please save your work"
 
Back
Top