Kaseya Community

Inactive, Idle agent script

  • I want to determine how long an agent has been idle, and if that amount of time equals up to an hour. To proceed with the rest of the script.

    No user interaction of course. Similar to the "assume yes after 5 minutes" anything like that available already?

  • Further Explanation:

    Create Script that detects how long a single user is inactive.

    Calculate that if the time hits 1 hour or exceeds the script continues

    Then the script will simply perform a shell command to taskkill (ie. winword.exe)

    Any help and thoughts on the first part of this?