Solved

Restart Windows XP after inactivity (NOT logoff or shutdown)

Posted on 2008-06-11
3
955 Views
Last Modified: 2012-05-05
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
Comment
Question by:arkrat
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
callmecheez earned 500 total points
ID: 21761556
- 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
 

Author Comment

by:arkrat
ID: 21762193
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
 
LVL 3

Expert Comment

by:callmecheez
ID: 21762233
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If your system is showing symptoms of browser hijacks or 'google search redirects' check out my other article (http://rdsrc.us/u3GP7A) first and run the tool TDSSKiller (http://rdsrc.us/GDBBs4) to get rid of the infection. Once done, and if the …
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question