• 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

How to Sign ControlUp Scripts

Posted on April 11, 2023

A user asked how to best sign ControlUp scripts – either through buying a code-signing certificate or using KB guidance. It was suggested that scripts be imported into the SBA using the import button, as they can be too big for copy/paste, and a GitHub link was shared for a script which could be used to sign PowerShell scripts using a code-signing certificate.


Read the entire ‘How to Sign ControlUp Scripts’ thread below:

Hi, I have a customer who needs signing for the community scripts. What is the easiest way to sign ControlUp scripts ?


I think the easiest method is to buy a code-signing cert and sign them yourself.

But I am happy to hear what ControlUp will say 😄


I believe we have a kb but the customer will need to sign the scripts themselves.


thats ok , can you give me a link to the KB?


I thoiught we had something but can’t find it, no matter what it is the same as signing any other powershell script see How to Sign PowerShell Scripts (And Effectively Run It) (adamtheautomator.com) as an example.


Ok, i am testing the things. I hope that question is not stupid:

I copy the script into a .ps1 , sign that as described in the article and copy the new code inclusive signing part into the SBA and can use that as signed script?

I think i have to set the execution policy by GPO?

If there is an update version of the script from ControlUp Community -> all from the beginning ?


correct on all


"C:\ProgramData\Smart-X\ControlUp\Scripts\8455d525-5d80-4985-8bf3-487

0174abe92.ps1" kann nicht geladen werden, da der Vorgang durch Richtlinien fr

die Softwareeinschr„nkung, z. B. die von der Gruppenrichtlinie erstellten

Richtlinien, blockiert wird.

+ CategoryInfo : Sicherheitsfehler: (:) [], ParentContainsErrorRe

cordException

+ FullyQualifiedErrorId : UnauthorizedAccess


We tested that in the customer environment and get this error. We think the problem is, that the .ps1 file is copied to the machine and the hash mismatches. Tested with ALD scriptI know we had an issue at some point with this but thought it was fixed, add a space after the signing part


otherwise please open a support ticket, the error doesn’t talk about signing as it usually mentions that but it just looks like it is blocking any ps1 file in that locationwe tried now with a short script (show printer) and that worked. It seems that we have a problem with the ALD script. Another problem with the customer security settings. That helped me, thanks for your help 🙂


yeah ALD is a beast, with that one you need to create a ps1 file, save it in there with the signing and use the import button for the sba as it’s too big for copy/paste. But still not guaranteed though


I use this script in my Explorer send to menu so I can right click PowerShell scripts and sign them with my own code signing certificate. It’s just a wrapper for Set-AuthenticodeSignature

https://github.com/guyrleech/Microsoft/blob/master/Signer.ps1


@member is the man for both haha

Continue reading and comment on the thread ‘How to Sign ControlUp Scripts’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Certificates, Microsoft, PowerShell, Printing, Scripts, Security

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