Solved

Restart Windows XP after inactivity (NOT logoff or shutdown)

Posted on 2008-06-11
3
954 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 you build your web application in Visual Studio you'll get at least a few binaries, or .DLL, files in your bin folder. However, there is more compiling to be done. Normally this would happen when an ASP.NET resource within the web site is request…
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 …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

920 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now