SystemIdleCheck is very straightforward to use. The current version switches are show below.
All switches are case sensitive, but the value of the switch is not. All switches have default values, and can appear in any order on the command line.
Switches
Switch | Name | Description |
---|---|---|
T | TimeOut | Sets the number of seconds the system should be idle for. Default is 300 seconds, or five minutes. |
I | IdleWarningTime | Defines when the warning prompt will appear, in seconds. For example, if you set it to 360, the warning will appear 3 minutes prior to log off. Defaults to 60 seconds. |
L | idLeAction | Determines the action to be carried out upon timer expiration. Valid values are LogOff, Lock, or Nothing. The default action is LogOff. |
Examples
Command Line | Explanation |
---|---|
sic T:600 I:120 L:lock | Locks the current user session after 10 minutes of inactivity, with a warning at 2 minutes. |
sic T:600 I:120 L:logout | Logs out the current user session after 10 minutes of inactivity, with a warning at 2 minutes. |
sic T:600 I:120 L:reboot | Restarts the workstation after 10 minutes of inactivity, with a warning at 2 minutes. |
sic T:600 I:120 L:shutdown | Shuts down the workstation after 10 minutes of inactivity, with a warning at 2 minutes. |
sic T:600 I:120 L:nothing | Shows a warning after 8 minutes of idle, exits with no action. Handy for testing. |
sic | Runs with defaults, Logs off the current user after five minutes, with a warning at one minute prior to logoff. |