2026-11-24
Nerdio Auto-heal – Simply Explained

Show notes
A session host can quietly go bad, and nobody notices until users stop connecting. This episode explains how Nerdio Manager's auto-heal spots broken Azure Virtual Desktop session hosts and repairs them automatically, and where it can go wrong. In this episode of Simply Explained you will learn:
- What a broken session host actually looks like
- The health signal Nerdio Manager watches
- What auto-heal does, from restart to re-create
- Where you turn it on and what you configure
- How to see it work in auto-scale history
- When to use it, when not to, and the mistakes that bite admins
Simply Explained by M365.FM breaks down Microsoft 365, Azure and modern IT topics in clear, jargon-free language. Hosted by Mirko Peters. Become a supporter of this podcast: https://www.spreaker.com/podcast/m365-fm-microsoft-365-azure-cloud-power-platform-ai--6704921/support. This episode includes AI-generated content.
Apple Podcasts · YouTube · Deezer
Host: Mirko Peters
Guests
Guests in this episode:
Transcript
Read the full transcript
Speaker 1: One session host goes bad and nobody notices for a week. The AVD agent reports a status other than available, users stop connecting and the host just sits there. Nerdio Manager can repair that host automatically using recovery actions you set up in advance. The part that matters most is deciding which statuses should count as broken. Get that wrong and it can rebuild a host that was never broken. A session host can go bad in a way that's easy to miss. Nothing crashes loudly, no alarm fires, and the host keeps sitting in the pool looking like it still belongs there. What actually happens is quieter than that. The AVD agent on the host stops reporting a healthy status, the service stops sending new users to it, and the host sits idle while everyone assumes it's fine. Nerdio's documentation names two causes it sees often, and both are worth knowing. Domain trust issues and FSLogix configuration issues can make the AVD agent report a host as unavailable. and users then can't connect to it at all. The virtual machine is still running and still billing your subscription, so the only thing that's genuinely broken is the part users touch. The cleanup is the part that wears people down. Without automation, an admin has to spot the bad host, pull it out of the pool, and rebuild a replacement. That small job repeats forever, and it always seems to land at the worst moment, like the start of a Monday or the middle of a rollout. A broken host is easy to overlook for one more reason. The virtual machine still shows up in Azure, the pool still reports the host count you expect, and nothing on the dashboard turns red. The only symptom is the one user's feel, which is that they can't get a desktop. By the time they report it, the host has usually been dead weight for a while. At a handful of hosts, you can live with that. Across several pools and a hundred hosts or more, the manual version stops being realistic, and that's the gap. Nerdio Manager's autohill is built to close. Multiply that by every pool you manage and you get a recurring task that nobody wants. It still has to be done and it depends on someone noticing in the first place. The feature runs as part of the autoscale process on a host pool and it covers dynamic host pools and personal host pools alike. Before we get into the settings, it helps to be precise about what counts as a broken host because that one decision drives everything else. AutoHeal doesn't guess. The Azure Virtual Desktop agent runs on every session host VM and reports the status to the AVD service, and Nerdio Manager reads that reported status. If the agent says a host is available, that's the healthy default and nothing needs to happen. If it reports something else, that's the signal AutoHeal is watching for. Microsoft publishes the full list of statuses and it helps to see them together. Alongside available, you have needs assistance, shutdown, unavailable, upgrade failed and upgrading any status other than available points at a potential issue, but not every one of them means the host is actually broken. Take upgrading and upgrade failed as examples. The agent is busy or an update didn't land and neither state stops users from connecting to that host. If you treat every non-available status as broken, AutoHeal could act on a host that was working fine and that's a mistake we'll come back to. needs assistance sits in the middle because the host failed a non-fatal check so users can still connect even though their experience may be worse than it should be. That's a reason to investigate and it isn't automatically a reason to rebuild. Behind those statuses sit the health checks themselves and a couple of them explain why AutoHeal works the way it does. The agent checks that the host is domain joined, that the side-by-side stack listener is up and that the monitoring agent is healthy. It also checks that AppAttach is working, that the domain trust is intact, and that the metadata service responds. Two of those are fatal when they fail. A broken domain trust stops authentication and a dead side-by-side listener stops connections outright. The second thing to know is that AutoHear leaves busy hosts alone. A host with an active session isn't treated as broken no matter what its status says. Only hosts with no sessions at all or nothing but disconnected sessions count as broken. The repair targets idle capacity instead of the desktop someone is in the middle of using. That conservative rule is deliberate, and it's the difference between an automation that helps you and one that fights you. The repair itself is next, and the order of its actions matters more than most admins expect. Now we get to the repair itself. AutoHeal works through a list of recovery actions in the order you said, and the order is the whole point. The first action is usually a restart of the virtual machine, and there's a good reason it comes first. Microsoft's health checks include something called the side-by-side stack listener, and a failure there is fatal, which means users can't connect to the host at all. Microsoft's own guidance for that failure is to try restarting the VM. So a restart isn't a random first move, and it's aimed straight at one of the known fatal conditions. If a restart doesn't bring the host back, you can have AutoHeal run scripted actions next. And the documentation gives examples like reinstalling the side-by-side stack and re-registering the host with AVD. Those actions run in order too, and you can drag them around in the interface to change the sequence so you're not stuck with whatever order you first picked. The usual shape of a good configuration is restart first, then a targeted repair, and only after that the heavy step of rebuilding the host. There's a timing layer over the top of all of this. You set a first action timeout, which is how long to wait before the first recovery action runs. Then you set a timeout between recovery actions, which is how long each step gets before the next one starts. Nerdio Manager for MSP adds a count of restart attempts and the number of minutes between them, so you decide how patient the process should be before it escalates. Eventually you have to answer the hard question, which is what to do with a host that simply won't come back. You can tell AutoHeal to remove the host and recreate it based on your host pool sizing. You can also tell it to leave the host alone for a human to deal with. There's one detail to flag here and it's the if available in the documentation. When AutoHeal deletes and recreates a broken host, a spare VM is powered on to replace the capacity only if one is available. That is how to turn a repetitive manual repair into a sequence the platform runs for you. It works one step at a time, with your timeouts deciding how quickly it gives up on a restart. If you go looking for an AutoHeal page in the console, you won't find one. AutoHeal loves inside the AutoScale configuration for a host pool, so you start from the pool's action menu and open the AutoScale settings. The main switch is a toggle labeled AutoHeal Broken Hosts, and turning it on is the easy part. The setting that deserves your attention sits right underneath it. You choose what the interface calls the sign of a broken host. That means the AVD agent status and the session status that should count as broken for this pool. A host has to match the combination you pick before AutoHeal touches it. That's the knob that ties back to the conservative rule from earlier. Pick your statuses too broadly and you catch hosts that will never really down. Pick them too narrowly. and a genuinely broken host slips through and keeps costing you capacity. Set the trigger to catch only unavailable hosts with no sessions, and you get a narrow, careful rule that fires rarely. Widen it to more statuses, and you should expect it to fire more often, so watch the results. From there, you set the first action timeout, choose the recovery actions, and set the timeout between them. A couple of things to note about the surrounding settings. You can pause a pool's autoscale for maintenance or a holiday. You can also exclude individual hosts from scale-in or from both scale-in and scale-out with an end date if the exclusion is temporary. Every one of those choices stops AutoHeal from touching the hosts in question, which is exactly what you want during planned work. Because it's part of AutoScale, you configure AutoHeal per host pool, which means a lab pool and a production pool can have completely different tolerance for repairs. That also makes it easy to test on a small pool before you trust it with a large one. Start narrow, watch the history, and loosen the rule only after you've seen it behave. AutoHeal applies to personal host pools too, where it can attempt the same repairs and run scripted actions like an SXS reinstall or an AVD host re-register. Now that it's on, the next question is whether it's actually doing anything, and the console has a place to check. Once AutoHeal is on, the fair question is how you know it's doing anything. Autoscale history answers that with a timeline you can read at a glance. Alongside the scale out and scale in action points, there's a distinct auto-heal marker that shows you when a repair actually happened. You can hover it to see the related task. The other markers tell a story too. Scale out shows up red because adding capacity costs money and scale in shows up green because removing it saves money. There's also an Azure issue marker for the times Nerdio Manager had trouble communicating with Azure. Nerdio's guidance is to contact technical support if that one appears often because it separates a host problem from a platform problem. The graphs underneath give the context. You can see active hosts measured against your base and burst capacity along with user sessions split into total and active. The graphs also show average CPU and RAM usage, average sessions per host, and a savings line that falls as hosts start and rises as they stop. You can also zoom into the active user's graph, drag across a stretch of time, and restore the full view when you're done. That helps when you're lining a heel up against a support ticket. And because the timeline is built from what Autoscale actually did, it counts as evidence rather than a guess. The detail sits one click deeper. If you hover over an action point, you see its details and the related tasks. opens so you can check what the heel actually did. That turns a vague hope into something you can show a manager or a customer. And that's how you stop trusting the automation and start proving it. So the next time someone asks whether the automation is earning its keep, you have a timeline to point at. This is where a lot of confusion lives, so it's worth slowing down. Autoheels restart and recreate act on a host that's already broken. Reimaging is a different job, and it's about keeping hosts current rather than fixing a fault. They live in the same place in the console, which is a big part of why the two get mixed up. Reimaging uses a desktop image to update session hosts when applications or the operating system change. You make your changes on the image and commit them. Then you run resize slash reimage on the host pool, choosing which image to push and how many hosts to process at a time. There are a few settings in that process that are easy to get wrong. You set how many failures to allow before the task aborts. The remaining hosts can be set to drain mode once the first group finishes, so new users only land on hosts that are already rebuilt. The documentation is blunt about why the group size matters. A bigger group finishes faster, but if there's a problem with the image or with the look, Many hosts can end up in an error state and unusable. That's why the failure threshold exists. You also decide what happens to the people on those hosts. You can force users to log off immediately after a set time or never, and choosing never means the reimage waits until everyone has logged off on their own. You can include disconnected sessions in the log off, send a message while people finish up, and keep hosts in drain mode during the wait. There's a third feature that closes the loop. and it's the one people mix up with AutoHeal most often. The setting is called AutoReimage used hosts on sign off. It refreshes a used host after users finish with it. So the next person signs in to a pristine image-based desktop. In a single user pool, the desktop re-images when the user signs off, and in a multi-user pool, the host re-images as soon as the last user signs off. The clean way to hold all three in your head is this. AutoHeal repairs a host that's already broken while re-imaging keeps hosts up to date and clean by design. So repair and refresh are two different tools and knowing when to reach for which one is the next step. AutoHeal earns its place in any dynamic host pool where hosts can go bad and especially anywhere the pool is big enough that manual cleanup stops being realistic. Nerdio's own business continuity guidance recommends turning it on to repair broken session hosts. If a host can't be saved, Nerdio Manager can delete it and recreate it as needed. Personal host pools fit that picture too. Autohealing attempts to fix broken hosts there, and it can run scripted repairs on them as well. There's a dependency to be honest about though. Autoheal only acts as part of autoscale, so if autoscale is off, paused, or the host is excluded, nothing heals automatically. That makes autoheal an action you configure, not a replacement for monitoring your environment. The other limit is the one that matters most. A restart or a rebuild doesn't fix a root cause. If the real problem is a broken FSLogix configuration or a domain trust issue that comes back after the rebuild, the host can go bad again. AutoHeal will do its job on a symptom. It buys you consistency and time, and that's a real benefit. But it isn't the same as finding out why the host broke in the first place. There's also a manual option worth keeping in your back pocket. Nerdio Manager can restart every session host in a pool on demand. You can lock users off first, process the hosts in groups, stop after a set number of failures, and send users a warning message before it starts. That's the right tool for a planned change where you already know what you're doing and when. Where AutoHeal isn't the answer is at the edges. If a pool is being decommissioned or you omit migration and expecting churn, automatic rebuilding can fight the change you're making. During planned maintenance, Pausing autoscale is usually cleaner than letting the repair logic run underneath you. And for a single host you're troubleshooting by hand. A human with a console is faster than any rule once you already know what's wrong. And remember the capacity caveat from earlier. When a heal deletes and recreates a host, the replacement capacity comes from a spare VM if one is available. With the mechanics clear, here are the mistakes that cause the most trouble, starting with the biggest one, treating every status other than available as broken is wrong. The documentation says plainly that not every non-available status is a problem, so an over-eager trigger can have AutoHeal working on hosts that were healthy all along. The second mistake is expecting AutoHeal to rescue a host that still has users on it. It won't, and that's by design. Hosts with active sessions aren't treated as broken. A struggling host with someone connected is left for a human, which is the safe choice even when it feels slow. The third is impatience in the settings. If your first action timeout is too short or your restart attempts are too few, AutoHeal can jump to removing and recreating a host. A simple restart may not have had a chance to work. The sequence is yours to define, so give the early steps room before you let it escalate. The fourth is a confusion we already untangled and it still catches people. AutoHeal and re-imaging do different jobs. Push a re-image out to a whole pool at once and if the image or Azure misbehaves, you can end up with many unusable hosts. Use groups and set the failure threshold so a bad image stops the run instead of spreading. The fifth is treating AutoHeal as a monitor. It repairs hosts and it doesn't page you, so it won't tell you that a pool is degrading or that the same host keeps breaking every week. Pair it with real alerting or you'll only find out when a user complains. and it pays to write down why a host broke because a heal that fires on the same host every week is telling you something the status never will. The last one is quiet. Switching auto heal on and never checking autoscale history means you never find out whether it's working or quietly fighting Azure. Look at the auto heal and Azure issue markers now and then, and you'll know which one you're dealing with. The line between a status that looks bad and a host that's actually broken is exactly where admins get it wrong. It's the setting that decides whether AutoHeal helps you or works against you. AutoHeal is a rule you configure inside Autoscale. It watches the AVD agent's status and repairs idle broken hosts by restarting and, if needed, rebuilding them. How do you handle broken session hosts today by hand or with a rule like this? If this made the topic feel less intimidating, subscribe to M365FM to master the tools and the mindset shaping the future of work.