• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 965
  • 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.  
  • 2
1 Solution
- 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?

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.
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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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