Forum Discussion
WVD outage / hosts unavailable with status "NoHeartbeat"
- Nov 25, 2019
These are the steps I followed:
1. Remove the session host from the host pool:
Remove-RdsSessionHost -TenantName [TenantName] -HostPoolName [HostPoolName] -Name [SessionHostName] -Force
2. Get the host pool registration token (replace with New-RdsRegistrationInfo if the token has already expired)
Export-RdsRegistrationInfo -TenantName[TenantName] -HostPoolName [HostPoolName] | Select -Expand Token
3. Log into the session host and update the following registry keys:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent
Name: RegistrationToken
Value: Token Goes Here
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent
Name: IsRegistered
Value: 0
4. Restart the RDAgentBootLoader service
These are the steps I followed:
1. Remove the session host from the host pool:
Remove-RdsSessionHost -TenantName [TenantName] -HostPoolName [HostPoolName] -Name [SessionHostName] -Force
2. Get the host pool registration token (replace with New-RdsRegistrationInfo if the token has already expired)
Export-RdsRegistrationInfo -TenantName[TenantName] -HostPoolName [HostPoolName] | Select -Expand Token
3. Log into the session host and update the following registry keys:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent
Name: RegistrationToken
Value: Token Goes Here
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\RDInfraAgent
Name: IsRegistered
Value: 0
4. Restart the RDAgentBootLoader service