Apr 06 2020 06:05 AM - edited Apr 06 2020 06:07 AM
Apr 06 2020 10:27 AM
Apr 06 2020 03:34 PM
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
Apr 07 2020 01:32 PM
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.
Apr 13 2020 04:39 AM
I tried installing both Agent and BootLoader again with provided the valid token while installing agent, still it didn't helped.
Apr 13 2020 10:49 AM
Apr 13 2020 02:05 PM
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.
Apr 14 2020 01:48 PM
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
Apr 15 2020 09:56 AM - edited Apr 15 2020 09:58 AM
After uninstalling both Agent and Bootloader, there is no registry for both. When i reinstall, it takes the old token (when machine was first created) from somewhere and there is no IsRegistered key (same as before)
Apr 16 2020 09:42 AM
Apr 16 2020 03:15 PM
I see same Error Events logs.
Apr 17 2020 12:03 PM