Forum Discussion

MathieuVandenHautte's avatar
MathieuVandenHautte
Steel Contributor
May 01, 2023

Running session host virtual machines shutdown state in hostpool

Hi all,

 

I want to share this quick fix regarding hostpool session hosts in 'shutdown" state even when Azure VMs are running and are accessible by administrators (via RDP or remote access software):

 

1. Uninstall all agent, boot loader, and stack components
2. Remove the session host from the host pool
3. Generate a new registration key for the VM
4. Reinstall the Azure Virtual Desktop Agent and boot loader

 

https://learn.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-agent#step-1-uninstall-all-agent-boot-loader-and-stack-component-programs

    • denisdm91's avatar
      denisdm91
      Copper Contributor
      Same problem today for me, I decided to recreate a new vm for the pool.
      But...... I have not yet understand how it's happened! I suppose, after scheduled avd agent update.
      • max1630's avatar
        max1630
        Copper Contributor
        Can confirm - delete any session hosts that have an issue, recreate and re-add. Don't waste your time touching hosts that are essentially just cogs in a machine - pull them out and replace them.

Resources