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

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Archives
  • Findings
  • Videos
    • Widget Wednesday – ControlUp Dashboard Videos
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp Dashboards
    • ControlUp for Desktops
    • ControlUp for VDI
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp Workflows
  • Topics
  • Meetups
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Troubleshooting Script Execution in ControlUp

Posted on December 8, 2025

A user is having trouble executing a PowerShell script in ControlUp on a VDI with an agent installed. They receive an error message and are unable to run the script from the console. Other users suggest checking permissions and removing unnecessary lines from the script. It is also suggested to import the ps1 file instead of copying and pasting. The option to target machines in the console is discussed.


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

Hi, I am trying to execute a script that I added and I am getting the below message. The VDI has the agent installed. Has anyone got this before?


can you please share the screenshots of the script configuration?


This is a powershell script that I imported. I was able to use this same script for the physical devices.


the script will never finish successfully with cu4vdi as an upgrade have reboots involved and will make the script fail

that one, more things:

• import the ps1 file as the current is too large for copy/paste

• I don’t know if the script even works on system level

• remove that first line of the script as its purely for cu4d and is not needed for cu4vdi

• change the timeout to not kill the process otherwise the upgrade might fail


Also, I just found this from the ControlUp Console. It says "You dont have the necessary permission to run this script."


yeah that would be my next thing to check permissions and have you try from the console


Its grayed out from the Console


and did you target the machine from agents view or something else as I think the error could have been related to it being targeted on vm level


I targeted the script to machines


yes but dex has various machine options


When I created the script, it did not specify the different machine options.


because in the console its always against a machine with agent that’s added to the console


Im trying to execute the script on a VDI with an agent installed

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


Categories: All Archives, ControlUp for VDI, ControlUp Scripts & Triggers
Topics: ControlUp Agent, PowerShell, Scripts, VDI

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

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

Browse 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–2026 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..