• 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 Issues Using Trigger with ALD Script in ControlUp

Posted on February 6, 2023

A user was having issues with Trigger and ALD script. It was suggested to check the security event log size, if the regional settings match, as well as other troubleshooting steps. The user thanked the team for their quick response. There was some brief off-topic banter about billing and working hours.


Read the entire ‘Troubleshooting Issues Using Trigger with ALD Script’ thread below:

I get an error when using Trigger with ALD script. Manually starting script gives an output with all information. Automated Actions gives an error :

Get-LogonDurationAnalysis : Failed to cache any relevant security event logs from 06.02.2023 11:07:55 for 60 minutes

In C:\Windows\system32\config\systemprofile\AppData\Roaming\ControlUp\Scripts\3b9d03f4-ab1f-45d9-b058-9c07d1417635.ps1:4131 Zeichen:9

  • Get-LogonDurationAnalysis @params

  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException

    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-LogonDurationAnalysis

Anyone an idea?


check if the security events log didn’t roll over yet

it might be that the max size needs to be increased


^ this. It is literally not getting any events in the specified period.

[array]$securityEvents = @( Get-WinEvent -FilterHashtable $securityFilter -ErrorAction SilentlyContinue)

`if( ! $securityEvents -or ! $securityEvents.Count )`

Still odd it would work manually/

OK. Earhtquake..


I’d also check if the regional settings are the same between the user it’s working with and the system user


Ok, nobody else is evacuating…


ok, i will discuss that with the customer. Thans for the fast answers. I will report the results here.


ping me if you want someone to hop on a call with the customer for some live troubleshooting on it.


Received a 100% on my reply from @member… My day is done 🙂


Well, you only work 2 hours a day as a rule anyway.


Working is important for sure, but I’m sure billing is better 🙂


Uurtje factuurtje, my friend 😂


now done with the offtopic my friends 🙂

Continue reading and comment on the thread ‘Troubleshooting Issues Using Trigger with ALD Script in ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Logs, Microsoft, Microsoft Windows, PowerShell, Reporting, Scripts, Security, Triggers

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