I am looking for a way to get the "idle time" being the time that since the last mouse or keyboard interaction? I looked at Win32_ServerSession.IdleTime. It returns a number that is not consistant with the amount of time that my computer has been idle "i.e. 0".
Is there another call that can get me the time since the user last moved the mouse or used the keyboard? I am trying to develop a script that will shut the computer down if there has been no activity for x amount of time after a particular time of day..
Thanks.
Is there another call that can get me the time since the user last moved the mouse or used the keyboard? I am trying to develop a script that will shut the computer down if there has been no activity for x amount of time after a particular time of day..
Thanks.