Solved

Restart Windows XP after inactivity (NOT logoff or shutdown)

Posted on 2008-06-11
3
953 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

14 Experts available now in Live!

Get 1:1 Help Now