• 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
  • Findings

Troubleshooting Issues with Unregistered Machines and Zombie Sessions in a Single Delivery Group

Posted on September 17, 2025

A user asked for help with a problem in one delivery group where some machines become unregistered and create zombie sessions. This only occurs in one group, and the cuagent is stuck in stopping state on these zombie machines. The ControlUp team suggested looking at dependencies for the cuAgent and checking the event log to see if the OnStop function has finished. They also mentioned troubleshooting the SCM’s responsiveness.


Read the entire ‘Troubleshooting Issues with Unregistered Machines and Zombie Sessions in a Single Delivery Group’ thread below:

So I am tasked with finding out why, in one delivery group only, some of our machines become unregistered and create zombie sessions. Those machines come from a machine catalog that several delivery groups use. Only one of the delivery groups is giving me problems. Which is in of itself weird.

I’ve noticed on the machines that are zombies that the cuagent is stuck in stopping state, so I can’t gather much information from ControlUp. Are there any depencies for the cuAgent that might cause it to get stuck in a stopping state?

(I’ve also noticed the Virtual Disk Service get stuck in a stopping state when I try to restart it, as well as the Citrix Desktop Service. But I find it odd that the ControlUp Agent would also get stuck in this state).

Thanks!


Stopping does seem weird. As far as I’m aware, stopping just means the service control manager sending a signal to our service.

In our case, that ends up with the dot net framework calling the ServiceBase.OnStop function.

We do perform some actions during this OnStop call. But they are very minor.

Once that is done, dot net should signal the service control manager that the service is stopped

Do you see this in the event log? If so, that means that the OnStop function has finished and the internal dot net code has done all its needs to do and has signaled back to the SCM that it is stopped.

You can see the dot net process here for stop.

First it signals to SCM that it is starting the stop process (stop pending).

Then it calls OnStop so we can do what we need to do to gracefully shut the service down.

Then it writes to the event log that the service has stopped and signals the new stopped state

If other services are in a pending stop state, I’d maybe look at whether the SCM is responsive. Perhaps those services have also signaled they have stopped but maybe SCM hasn’t acknowledged that?

Continue reading and comment on the thread ‘Troubleshooting Issues with Unregistered Machines and Zombie Sessions in a Single Delivery Group’.  Not a member? Join Here!


Categories: All Archives, ControlUp for VDI
Topics: Citrix, ControlUp Agent, Delivery Groups, Logs

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