Several ControlUp community members discussed how to configure a trigger to automatically log off idle users from Azure Virtual Desktop (AVD) hosts using the ControlUp Agent for Virtual Desktop Infrastructure (VDI). One common solution is to leverage existing trigger packs within ControlUp, which include triggers designed to log off a user session after a specified period of inactivity. These triggers can be customized based on time thresholds that fit the organization’s session management policies.
An example script and detailed guidance were shared from ControlUp’s official script library, which provides automation for disconnecting or logging off idle sessions. This script can be adapted and deployed within ControlUp’s automation policies to monitor session activity and log off users automatically when idle thresholds are met. The relevant resource is available at https://www.controlup.com/script-library-posts/disconnect-or-log-off-idle-sessions/.
Additional insights were shared from a ControlUp blog post that focuses on session resource optimization through automation. This post outlines best practices and practical examples of using ControlUp automation to manage session states efficiently, including auto-logout for idle sessions. The blog can be found here: https://www.controlup.com/blog/controlup-automation-session-resource-optimization/.
While native solutions like DaaS IQ might offer built-in functionality for auto-logging off idle users, many organizations have adopted ControlUp triggers as a practical workaround until formal approval or integration of native options is completed. The combination of ControlUp’s flexible triggers and scripting capabilities allows administrators to enforce session timeout policies effectively within AVD environments, optimizing resource utilization and enhancing security.
Read the entire ‘How to Auto Log Off Idle Users in Azure Virtual Desktop Using ControlUp Triggers and Scripts’ thread below:
Has anyone configured a trigger to auto log out idle users from AVD hosts using the CuAgent for VDI?
Hello Alex. we have a trigger in the trigger packs that logs off a user session after X amount of time.
this was one i used before – controlup.com/script-library-posts/disconnect-or-log-off-idle-sessions
Oh great! Thanks for providing that. I know DaaS IQ probably can do this natively but until our organization green lights that I have workarounds
Continue reading and comment on the thread ‘How to Auto Log Off Idle Users in Azure Virtual Desktop Using ControlUp Triggers and Scripts’. Not a member? Join Here!
Categories: All Archives, ControlUp DaaS IQ, ControlUp for VDI, ControlUp Scripts & Triggers
