Forum Discussion
yashsedani
Apr 06, 2020Copper 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 t...
Soo Kuan Teo
Microsoft
Apr 06, 2020you 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
https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell
yashsedani
Apr 06, 2020Copper 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 TeoApr 07, 2020
Microsoft
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.
- yashsedaniApr 13, 2020Copper Contributor
I tried installing both Agent and BootLoader again with provided the valid token while installing agent, still it didn't helped.
- Soo Kuan TeoApr 13, 2020
Microsoft
Can you please check the regkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent, IsRegistered should be 1, and RegistrationToken should be empty. Also please look at event log application to see there are any error messages from RDAgentBootLoader.