• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 964
  • Last Modified:

Restart Windows XP after inactivity (NOT logoff or shutdown)

Need to Restart Windows XP after inactivity.  Logoff or shutdown are not options for this application. These computers are configured to log in as a specific network user on startup.  
0
arkrat
Asked:
arkrat
  • 2
1 Solution
 
callmecheezCommented:
- Create a text file (example.txt) containing:

shutdown -r t:10

- Rename it :: example.bat

- Create a shortcut to it.


- Open up task scheduler in windows.

- Create a task that runs your shortcut every 10 mins

- Click on the Advanced button.
- Choose "Repeat this task every (x) minutes for duration (24) hours."
- Click on the Settings tab and select "Only start this task if the computer is idle for x minutes" and "retry for up to x minutes"

Those options might be different depending on the version of windows, but hopefully you get the idea?


0
 
arkratAuthor Commented:
This answered the question I Asked.  BUT Upon testing it, I realized that I had left out a key requirement. The machines will be idle for hours at a time, so i only want one restart following inactivity. Otherwise they will be constantly rebooting.
0
 
callmecheezCommented:
arkrat
I'm glad more solution solved your original query.

- sorry I can't think of a way to achieve your other requirement! Will let youi know if anything comes to me.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now