• 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
  • Meetups
  • Videos
  • Events
  • 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
    • Logos & Wallpaper
    • ControlUp.com
  • Join

Code-Signing Script Actions in ControlUp’s .NET Execution Engine

Posted on May 22, 2026

A discussion about code-signing Script Actions with the .NET Execution Engine and signed scripts was started by a customer. The conversation included links to relevant documentation and personal testing by a team member. The complexities of using mechanisms like AppLocker or WDAC for enforcing signed certificates were also mentioned. No definitive answer was given, but the team member thanked the customer for bringing up the issue.


Read the entire ‘Code-Signing Script Actions in ControlUp’s .NET Execution Engine’ thread below:

[Q] Script Actions with .NET Execution Engine and signed scripts. (CU4VDI)

In the screenshot in the documentation I see that the script is somehow "obfuscated" and then sent to cuAgent.

Does this somehow make signing the script actions with a code-signing cert "useless"?

Customer asks how’s the way to code-sign Script Actions and I dont want to answer that he had to export the scripts, sign and re-import them 🙂

https://support.controlup.com/docs/net-engine-execution#new-with-net-execution


Depends on the mechanism you use to enforce signed certificates I’d guess.

As far as I can tell, the .NET execution engine is generally considered the same as you opening a Powershell prompt and copy/pasting the script content. IE interactive input.

https://learn.microsoft.com/en-us/dotnet/api/system.management.automation.powershell.addscript?view=powershellsdk-1.1.0


I just ran a short test.

ExecutionPolicy "AllSigned"…

Running "normal" fails (see screenshot 1).

Running ".NET Execution Engine" works (see screenshot 2).

The script is "[Environment]::MachineName"

Maybe because cuAgent.exe is trusted in that case!?


I was mostly thinking about things like applocker or WDAC


If the customer is "just" asking for signed scripts thats ok. With AppLocker I would assume it will also work but WDAC I dont know…

We will see 🙂

Thanks for the hints!

Continue reading and comment on the thread ‘Code-Signing Script Actions in ControlUp’s .NET Execution Engine’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Automation, Automation & Alerting, Certificates, Microsoft, PowerShell, Scripts

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