• 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

Troubleshooting ControlUp Version 9.0.5 Bug with Triggered Scripts

Posted on September 19, 2024

A user reported a potential bug with ControlUp version 9.0.5 where a trigger that executes a custom script on boot was failing. The error message states that the environment block could not be retrieved, suggesting that the user may already be logged into the target machine. After some troubleshooting, it was discovered that the issue was caused by the service account being logged into the monitor. Once this was resolved, the script ran successfully. The user updated to the latest version (9.0.5.423) and the issue was resolved.


Read the entire ‘Troubleshooting ControlUp Version 9.0.5 Bug with Triggered Scripts’ thread below:

not sure if this is a bug with 9.0.5 but we have a trigger that executes a custom script on boot and it is failing to run. I can run it directly in the RT console without issue, but if I let the monitor execute it via trigger or if I execute it via DEX it fails. Here is the error I receive in DEX


Failed to get environment block typically happens if the user set in the execution context, is already logged on to the target machine


hmm no users logged in currently

fresh boot of the machine

here is the script

again, it works directly in the RT console, but not via dex

I see there was a new release, 9.0.5.423

I am on 9.0.5.413

I guess I can try updating


Where the script runs is different for the console though. monitor/console, when running from the console, would be inside your user session. When the DEX runs it, it runs on a monitor. Pretty much picked at random


I am running the script from the console, on the monitor for what its worth

I can try to run as a different user for the script


Is that service account logged in to the monitor?


yes it is


That’s your problem


ohhhh


Because you’re asking:

• Run the script on the monitor/console that initiated the request (NOT on the target machine)

• Run the script as


ahhh

that makes sense

thank you!

WORKING! thank you!!!

Continue reading and comment on the thread ‘Troubleshooting ControlUp Version 9.0.5 Bug with Triggered Scripts’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Reporting, 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..