Forum Discussion
yashsedani
Apr 06, 2020Brass Contributor
How do I get that machine back in the session host list?
Hi, I had 20 machines in hostpool. I executed the below command Remove-RdsSessionhost -TenantName "test" -HostPoolName "testpool" -Name "test15.xyz.com" Now when I do get-rdssessionhost, it gives me the list of 19 machines (test15 not in the list) When I try to do Set-rdssessionhost and assign it to any user, i get error saying the machine is not the part of hostpool. How do I get that machine back in the session host list? Please help! Regards, Yash
- Soo Kuan TeoMicrosoftyou will need to re-register the session host to your hostpool. You can follow the hostpool registration step in the following:
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell- yashsedaniBrass Contributor
Thanks for your response.
I tried to follow the steps, however, while installing Windows Virtual Desktop Agent, it didn't asked me for registration token. Installation got completed for both Windows Virtual Desktop Agent and Windows Virtual Desktop Agent Bootloader. I still do not see the host in Get-RdsSessionHost
- Soo Kuan TeoMicrosoft
please goto control panel, uninstall the agent, then reinstall the agent again. You should see the attached screenshot where you can input the registration token.