• 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 resolve discrepancy in the ‘log off session via script’ community script between User 1 and User 2 in ControlUp?

Posted on January 18, 2023

Two users noticed that a "Log off session via script" action was not working as expected, and discussed ways to troubleshoot the issue. They suggested that one user clear their ControlUp AppData directory or rename the ControlUp Store.xml file before relaunching to do this safely. The other user asked if there was an easier way to find out why the trigger was stopped working, and both suggested checking the event logs on the monitor for related event ID 5000/5005. Support ticket could also be launched if troubleshooting does not reveal the cause.


Read the entire ‘Troubleshooting Trigger-Based Action Issues in ControlUp 8.7’ thread below:

We encounter something strange. It seems that the community script part in the console for user 1 is not the same as for user 2. We noticed this after finding out a certain Trigger based action is not working ( logging off sessions after 4days. Any clue ? Version is 8.7. th script is called "log off session via script" . We use this Action for years.


Hey Nico

This script was renamed recently due to a naming conflict. Log off session via script is the correct name. Perhaps if the user in screen shot one clears their CU AppData they will get the correct results as well. DANGER, WILL ROBINSON: clearing that AppData will also clear some locally stored stuff like Draft scripts!

"Delete or rename the ControlUp directory in your personal “Application Data” folder. You can access this folder by clicking Start > Run and type %appdata%"


I think you can just renamed to .old this file and relaunch –

%appdata%\ControlUp\ControlUp Store\ControlUp Store.xml


@member I will ask Marcel to do so 🙂


"I think you can just renamed to .old this file and relaunch" –> yeah, if you want to do it safe and boring…


is there an easy way where we can find that the trigger is not working anymore? for others we can see it in the incident pane or in the eventlog but since we have quite a few monitors it is not really convenient checking all the logs ( and no we cannot do that from the realtime console since our network does not allow that )


Since the monitor is the main entity that carries out those triggers, we’ll need to know something via monitor logs OR event viewer. E.g. do you see any 5000/5005 event id’s in the monitor related to the trigger?

But ideally if you don’t find the reason, sounds like a support ticket and to be investigated. (not by me unfortunately 😞)


If the trigger has a follow-up action "record an event in the application log" it should be on the monitors (or to be exact, on the monitor that’s connected to the machine/agent the trigger should fire on/vs.

Continue reading and comment on the thread ‘How to resolve discrepancy in the ‘log off session via script’ community script between User 1 and User 2 in ControlUp?’.  Not a member? Join Here!


Categories: All Archives, ControlUp for VDI, ControlUp Scripts & Triggers
Topics: Automation & Alerting, ControlUp Agent, Logs, Scripts, Triggers, Virtual Desktops

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..