Forum Discussion

yashsedani's avatar
yashsedani
Brass Contributor
Apr 06, 2020

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
    • yashsedani's avatar
      yashsedani
      Brass Contributor

      Soo Kuan Teo 

      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 Teo's avatar
        Soo Kuan Teo
        Icon for Microsoft rankMicrosoft

        yashsedani,

        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.

         

Resources