• 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 “Send Message To Horizon User” Script Error

Posted on May 22, 2023

The user was trying to run the “Send message to Horizon user” from the community script using a trigger but received an UAC error. Solutions such as disabling UAC from the Control Panel and making sure the Horizon pod was in the same ControlUp site as the agent machines were suggested. Additionally, the user had to generate Horizon creds on each Monitor server individually. The issue was eventually resolved.


Read the entire ‘Troubleshooting "Send Message To Horizon User" Script Error’ thread below:

I’m attempting to run the “Send message to Horizon user” from the community script. The test works if I run the script form the console. But when I enable a trigger to use this action, I receive an error that says “Automation action execution failed run because User Account Control (UAC) is enabled on this computer which is running ControlUP Monitor.” – I disabled UAC on the monitors (as the action is set to run on the monitor/console).


Make sure the user configured to run the script doesn’t have a session on the monitor


It’s the same user that runs the Horizon inventory scripts, etc. but it doesn’t have a console/rdp session on the monitor.


What happens if you select other and than the monitor?


Just changed it to a specific machine (our first monitor) and waiting for a user to trigger the latency

Now it fails a manual action, even though the monitor worked before when set to use Console/Monitor

Setting the script execution back to “ControlUp Console/Monitor” allows it to work manually. But then I’m back to the odd UAC error from the trigger


On all your monitors, please check that the following key is either not present or set to 0.

Key: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Value: EnableLUA

if this key is set to 1, the monitor will show that error message


That fixed it

I disabled UAC from Control Panel.

Okay – that didn’t fix it entirely. I think there’s an issue with the cred files not existing on the other monitors.

I’m getting “The script did not get enough arguments from the Console. The Console or Monitor may not be connected tot he Horizon View environment, please check this.”


Do you have multiple sites configured within controlup?

If yes are the pods configured for the same site as the agent machines? And do you see the EUC environments in solve?


yes multiple sites

Yes I see the EUC env’s in Solve

I don’t follow the Queston about pods configured for the same site as the agent machines


The agent machines are configured for a ControlUp site. The horizon euc pod that contains that machine has to be in the same controlup aite


Ah, yes. We have two pods. Two sites. The EUC pods are configured for “DC1A” or “DC1B”, same as the agents


And in solve you see the primary connection server for those machines? (that’s probably the missing metric)

On mobile here so can’t do too much so you might need to open a support ticket


It has the primary connection server listed.

I’ve opened a ticket, just trying to solve it today

Do you have to generate the horizon creds on each Monitor server individually?


yes

For the “Send message to Horizon user” script at least


And you can’t copy the file as that would break.


Indeed, I copied the files first and that didn’t work. But I did then setup the creds and install the helper. It works now

Continue reading and comment on the thread ‘Troubleshooting “Send Message To Horizon User” Script Error’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: ControlUp Agent, ControlUp Monitor, ControlUp Solve, Microsoft, Microsoft RDP, Microsoft Windows, Scripts, Triggers, VMware Horizon View

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