Missing session hosts while creating new host pool in WVD

%3CLINGO-SUB%20id%3D%22lingo-sub-1555644%22%20slang%3D%22en-US%22%3EMissing%20session%20hosts%20while%20creating%20new%20host%20pool%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1555644%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20using%20the%20GA%20version%20of%20the%20WVD%20and%20before%20it%20went%20GA%2C%20we%20created%20our%20staging%20environment%20with%20a%20single%20host%20pool%20and%20single%20session%20host%20(created%20from%20Win%2010%20Enterprise%20Multi-session%20marketplace%20image)%2C%20published%20few%20remote%20apps%20and%20it%20worked%20fine.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFast%20forward%2C%20now%20after%20validating%20the%20system%20we%20want%20to%20take%20the%20system%20to%20production%20while%20still%20keeping%20staging%20host%20pool%20and%20session%20host%20as-is%20(intending%20to%20use%20it%20as%20validation%20environment).%3C%2FP%3E%3CP%3ESo%20of%20course%2C%20we%20needed%20to%20build%20a%20golden%20image%20from%20the%20existing%20session%20host%20of%20staging%20environment%20and%20here%20is%20what%20we%20did%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3ETook%20a%20snapshot%20of%20staging%20session%20host%20virtual%20machine.%26nbsp%3B%3C%2FLI%3E%3CLI%3ECreated%20new%20managed%20disk%20using%20the%20snapshot%20as%20it's%20source.%26nbsp%3B%3C%2FLI%3E%3CLI%3EProvisioned%20a%20new%20virtual%20machine%20using%20managed%20disk%20created%20in%20step%20above.%26nbsp%3B%3C%2FLI%3E%3CLI%3ELogged%20on%20to%20the%20provisioned%20machine%20and%20uninstalled%20below%20components%20(there%20were%20multiple%20versions%20present%20so%20removed%20all%20of%20them)%20and%20restarted%20the%20machine.%3C%2FLI%3E%3CLI%3E%26gt%3B%20Remote%20Desktop%20Agent%20Boot%20Loader%3C%2FLI%3E%3CLI%3E%26gt%3B%20Remote%20Desktop%20Services%20Infrastructure%20Agent%3C%2FLI%3E%3CLI%3E%26gt%3B%26nbsp%3BRemote%20Desktop%20Services%20Infrastructure%20Geneva%20Agent%3C%2FLI%3E%3CLI%3E%26gt%3B%20Remote%20Desktop%20Services%20SXS%20Network%20Stack%3C%2FLI%3E%3CLI%3EAfter%20uninstalling%20these%20components%2C%20Syspreped%20the%20virtual%20machine%20(generalize%20and%20shutdown)%3C%2FLI%3E%3CLI%3ECaptured%20it%20from%20portal%20and%20saved%20the%20image%20as%20golden-image.%26nbsp%3B%3C%2FLI%3E%3C%2FUL%3E%3CP%3ENow%20once%20the%20image%20is%20prepared%2C%20went%20straight%20to%20creation%20of%20the%20new%20WVD%20host%20pool%20with%202%20virtual%20machines%2C%20entered%20all%20relevant%20details%20and%20pointed%20it%20to%20use%20the%20golden%20image%20above.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20deployment%20was%20successful%20and%20can%20see%20host%20pool%20got%20created%20and%20the%20virtual%20machines%20are%20created%20and%20are%20in%20running%20state%2C%20however%20when%20we%20browse%20to%20the%20Host%20Pool%20%26gt%3B%20Session%20Hosts%20-%20we%20simply%20do%20not%20see%20those%20virtual%20machines%20there%20and%20it%20shows%20the%20the%20Session%20Host%20count%20as%200.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20point%20out%20what%20went%20wrong%20or%20if%20we%20missed%20anything%20or%20is%20it%20some%20bug%20associated%20with%20the%20portal%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENote%3A%20Tried%20RDP'ing%20to%20both%20virtual%20machines%20and%20we%20do%20not%20see%20any%20RDS%20components%20(listed%20above)%20installed%20again%20on%20it%20and%20I%20think%20since%20those%20were%20not%20installed%20during%20the%20provisioning%2C%20they%20are%20not%20registered%20with%20the%20host%20pool%2C%20however%20the%20question%20remains%2C%20what%20prevented%20Azure%20from%20installing%20those%20components%20while%20provisioning%20and%20get%20these%20virtual%20machines%20registered%20with%20the%20host%20pool%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F199787%22%20target%3D%22_blank%22%3E%40Pavithra%20Thiruvengadam%3C%2FA%3E%26nbsp%3Bany%20pointer%20on%20this%20will%20be%20of%20a%20huge%20help!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557049%22%20slang%3D%22en-US%22%3ERe%3A%20Missing%20session%20hosts%20while%20creating%20new%20host%20pool%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557049%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F624245%22%20target%3D%22_blank%22%3E%40bhushangawale%3C%2FA%3E%26nbsp%3BCould%20you%20check%20the%20info%20in%20this%20troubleshooting%20page%20-%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-vm-configuration%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Ftroubleshoot-vm-configuration%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EFor%20the%20reg%20key%2C%20you%20would%20need%20to%20navigate%20to%20HKLM%5CSoftware%5CMicrosoft%5CRDAgent%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1557083%22%20slang%3D%22en-US%22%3ERe%3A%20Missing%20session%20hosts%20while%20creating%20new%20host%20pool%20in%20WVD%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1557083%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3BIf%20the%20troubleshooting%20doesnt%20help%2C%20I%20would%20suggest%20opening%20a%20support%20case.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

We are using the GA version of the WVD and before it went GA, we created our staging environment with a single host pool and single session host (created from Win 10 Enterprise Multi-session marketplace image), published few remote apps and it worked fine. 

 

Fast forward, now after validating the system we want to take the system to production while still keeping staging host pool and session host as-is (intending to use it as validation environment).

So of course, we needed to build a golden image from the existing session host of staging environment and here is what we did

 

  • Took a snapshot of staging session host virtual machine. 
  • Created new managed disk using the snapshot as it's source. 
  • Provisioned a new virtual machine using managed disk created in step above. 
  • Logged on to the provisioned machine and uninstalled below components (there were multiple versions present so removed all of them) and restarted the machine.
  • > Remote Desktop Agent Boot Loader
  • > Remote Desktop Services Infrastructure Agent
  • > Remote Desktop Services Infrastructure Geneva Agent
  • > Remote Desktop Services SXS Network Stack
  • After uninstalling these components, Syspreped the virtual machine (generalize and shutdown)
  • Captured it from portal and saved the image as golden-image. 

Now once the image is prepared, went straight to creation of the new WVD host pool with 2 virtual machines, entered all relevant details and pointed it to use the golden image above.

 

The deployment was successful and can see host pool got created and the virtual machines are created and are in running state, however when we browse to the Host Pool > Session Hosts - we simply do not see those virtual machines there and it shows the the Session Host count as 0.

 

Can anyone point out what went wrong or if we missed anything or is it some bug associated with the portal?

 

Note: Tried RDP'ing to both virtual machines and we do not see any RDS components (listed above) installed again on it and I think since those were not installed during the provisioning, they are not registered with the host pool, however the question remains, what prevented Azure from installing those components while provisioning and get these virtual machines registered with the host pool?

 

@Pavithra Thiruvengadam any pointer on this will be of a huge help! 

 

Thanks in advance!

 

 

2 Replies
Highlighted

@bhushangawale Could you check the info in this troubleshooting page - https://docs.microsoft.com/en-us/azure/virtual-desktop/troubleshoot-vm-configuration

For the reg key, you would need to navigate to HKLM\Software\Microsoft\RDAgent

Highlighted

 If the troubleshooting doesnt help, I would suggest opening a support case.