Forum Discussion
How do I get that machine back in the session host list?
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.
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.- yashsedaniApr 13, 2020Copper Contributor
There was no IsRegistered key so i added 1 DWORD-32 and changed value to 1, RegisterationInfo was showing the old Token ID, i kept it blank now. I tried reinstalling agent with new token (as the earlier one was expired) but still it wont show up in session host list.
There are 3 repeat events errors for RDAgentBootLoader, refer 1,2,3 in the attached.
- Soo Kuan TeoApr 14, 2020
Microsoft
Thanks for the info! the agent is not registering correctly. It is very possible that the downloaded agent package is corrupted. Here's the detailed instruction to recover:
1. Go to control panel, uninstall bootloader first then uninstall the agent. See attached uninstall.png
2. Under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDAgentBootLoader and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent keys, make sure these keys for gone. See attached regkey.png.
3. Download both the bootloader and agent from: https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell
4. have the new or unexpired registration token ready
5. Install the agent first with the valid token
6. install the bootloader