• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

How to Automate Klling Disconnected Sessions with ControlUp

Posted on March 20, 2023

A new user asked about automating the killing of 100 to 150 disconnected sessions, and was advised to use Script-Based Actions. It was recommended to join the free Administrator course offered by ControlUp to learn more, as well as rechecking out the self-paced recording video piece on the triggers. Additional help in creating a trigger was offered.


Read the entire ‘Automating Disconnected Sessions with ControlUp’ thread below:

Hey all, every day I have to manually kill 100 to 150 disconnected sessions. is there any way to Automate this process?


For sure, what are the conditions you use to look for these disconnected sessions?


There’s an sba to log users off, if you run Horizon there’s also a sba that uses the hzn apis for a forced logoff

You could trigger either on disconnected for > xx hours


sorry im new to controlup, what you mean by sba ?


Script-based Actions

https://support.controlup.com/docs/script-based-actions-sba


Join our Administrator course we offer for free! We can teach you everything you need.

https://cuacademy.controlup.com/course-catalog/


@member already joined your classes, were great. just bit lazy and forgot this part :p


I totally get it! If you go into the self-paced recording video there is a video piece on the triggers. I highly recommend rechecking it out. You don’t need to rewatch the whole thing!


Perfect. thanks for the quick response!


If you need more help creating a trigger to log off the disconnected sessions, let us know 🙂

Continue reading and comment on the thread ‘How to Automate Klling Disconnected Sessions with ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Automation & Alerting, Logs, Scripts, Triggers

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..