How to add a Trigger for automatically changing the Agent Status:
- Start - List of all Applications - Windows Management Tools - Taskplaner
- Action - New Task
- Name: "Agent not available"
- Trigger - New...
- Start Task: On Workstation Lock
- Actions - New...
- Program / Script: c:\...\agent_status.bat
- Add Argument: API-ID API-PSEC AGENT-ID STATUS-ID
- Ok
Status-ID could be 1 for 'Available', 6 for 'Not Available' or any other Status-ID from your status list.