• 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 Script Execution Issues in ControlUp Agents

Posted on January 23, 2024

There were reported issues with script execution on ControlUp Agents within an organization. Errors were received when executing specific scripts, but not when using the Realtime Console. The problem may be with ControlUp monitor servers. For now, a workaround is to stop the affected monitors, delete the ControlUp Store.xml file, and restart the monitor. This is a known issue and will be addressed in a future release. The issue is documented as VSO 155910 and 158919.


Read the entire ‘Troubleshooting Script Execution Issues in ControlUp Agents’ thread below:

We are experiencing some problems with script execution on ControlUp Agents in our organisation.

The issue is that on some of the servers we get the following error when executing certain scripts (list local admins, list user’s printers etc.)

"System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary."

We get the error when using Solve of scheduled trigger but NOT when using the Realtime Console

It seems to me that the problem must be with the ControlUp monitor servers since they are executing the script when using triggers and Solve

We are running identical Citrix PVS provisioned windows 2019 servers and despite the fact that they are identical, we can have some servers where we can execute the script from Solve and anothers where it fails


are those servers where it works and where it doesn’t work hosted in different folders? If so please check the security policy


Unfortunately this is a known issue. It’ll be addressed in the next release (9.x).

For the time being, you can work around it by:

• Stop the affected monitors

• Delete ControlUp Store.xml in C:\Windows\ServiceProfiles\NetworkService\app data\roaming\controlup\configuration\controlup store\ControlUp Store.xml

• Start the monitor

For my and other CU engineers reference, VSO 155910 and 158919.


Thank you very much for the quick reply

I will try the suggested work around

Continue reading and comment on the thread ‘Troubleshooting Script Execution Issues in ControlUp Agents’.  Not a member? Join Here!


Categories: All Archives, ControlUp for VDI, ControlUp Scripts & Triggers
Topics: Automation & Alerting, Citrix, Citrix Provisioning Services (PVS), ControlUp Monitor, ControlUp Solve, Microsoft Windows, Reporting, Scripts, Security, 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..