• 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 Monitor and Stop Running Services in ControlUp

Posted on April 16, 2024

A user asked how to monitor a service and stop it if it is detected as "Running". Another user suggested using the process name and creating a trigger with a script action to kill the process and stop the service. They also mentioned a cu script that can look into svchost, but it may not be able to be modified for this purpose. It was also mentioned that the system will not allow direct killing of svchost. The user will check if the service creates an event log and if it does, they can create a trigger and run a script action. The thread includes a few humorous responses as well.


Read the entire ‘How to Monitor and Stop Running Services in ControlUp’ thread below:

Hello Folks!

Quick question… I’m sure its been asked before but I couldn’t find the answer. Looking to monitor a service or two and then if they are detected as "Running" then stop them. Currently I only see the option to trigger based off of stopped or not configured. Would I just need to use the process name instead?


Of the service starts dose it start and process that u can see within controlup. If yes than create a trigger with a script action to kill the process and stop the service.


unfortunately, looks like they run under the svchost.exe. I could kill that… what could go wrong? 😉


I know there is a cu script that let’s u look in to svchost but not sure it can be modified to kill a process

System will not let u kill svchost direct as it is a protect system process


yeah, was kidding anyway re svchost


Hehe

if the service starts dose it create an event log?


I’ll have to check. I know that it creates an event when it changes from disabled to manual start. I’ll have to look for other events.


If it is application or system event u can also create a trigger and run a script action

If information u out of luck


trigger on if not stopped?


:mindblown:

Continue reading and comment on the thread ‘How to Monitor and Stop Running Services in ControlUp’.  Not a member? Join Here!


Categories: All Archives, ControlUp Scripts & Triggers
Topics: Logs, Scripts, 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..