• 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 Error “File… is not digitally signed… see about_Exectin_Policies…” in ControlUp

Posted on March 2, 2023

The user was running an Analyze Logon Duration script against two different VDI environments but was receiving an error message relating to the execution policy not being set correctly with the W2K12 PVS. Modifying the GPO was explored but it was ultimately discovered that the script was incorrectly signed because of a space being added at the end of the file. Suggestions were made to double-check scripts if modified by colleagues. ControlUp SBAs and an update to W2K19 were also mentioned.


Read the entire ‘Troubleshooting ControlUp Scripts Signed with Incorrect Policy’ thread below:

Hello, I have 2 sets of VDIs, W2k12 shared PVS servers and W10 MCS persistent.

I am running the "Analyze logon duration" script against a user who is connected to both environments.

The script is signed.

It’s returning the very valuable information from the MCS, but fails against the W2K12 PVS with a "File… is not digitally signed… see about_Exectin_Policies…" error message.

I understand that I should modifiy the execution policy but not sure how to do it.

Thanks in advance


If it has been set on system level, good chance it is in a GPO, so that would mean changing the GPO for those servers and that is probably not something you want to do. Can’t change it through a script because it will not run scripts that are not signed, and GPO setting should override that anyway.

I think the best option you have is to see if you can sign the script yourself. I thought there was an article on that somewhere in the ControlUp docs, can’t find it atm. Iirc @member has done some script signing in ControlUp SBAs?


sorry, I haven’t


and there’s a good chance that more and more scripts will start failing at 2k12 as it’s been unsupported for such a long time nowThanks @member, but I forgot to mention that the script is signed (original message modified).

I am double checking the GPOs…

@member the update to W2k19 is in the pipe 😉


I checked the GPO and it’s "Allow only signed script".

Again, my script is signed.Does the W2k12 machine have an older agent? And when you say your script is signed, you modified the script to add the signature block I assume?


I have to be honest to say that I found the problem, the script I used to sign the ControlUp scripts was eating a space at the end of the file, hence the bad signature. Lesson learned, do not use scripts from colleagues without double checking them 😉

Continue reading and comment on the thread ‘Troubleshooting Error “File… is not digitally signed… see about_Exectin_Policies…” in ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Citrix Provisioning Services (PVS), ControlUp Agent, 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
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..