How to test for System inactivity "idle time"

  • Thread starter Thread starter resfreqlam
  • Start date Start date
R

resfreqlam

I'm working on vbs script to close & save Office applications and
initiate a system shut down after user have idle for certain amount of
time. Had originally using Task Scheduler's idle function and have it
call the vbs script but that didn't work out as XP inherently run it in
the background when login user is not the same as task creator/run as
account. Which leads to my question: If there any other method to
which i can test for user inactivity?
 
You could probably use perfmon's alerting to do what you are wanting.

You would just need to decide on what "idling" means to you and configure
the counters for an alert accordingly.

Things to consider would be harddisk activity, processor acitivity, network
interface activity, etc......


Bionicthumb
 
I'm specifically looking for system idle to mean : no user input
(keyboard), and no mouse movement/click (mouse event).
 
Back
Top